LibreOffice
LibreOffice 24.2 SDK C/C++ API Reference
queryinterface.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 /*
21  * This file is part of LibreOffice published API.
22  */
23 
24 #ifndef INCLUDED_CPPUHELPER_QUERYINTERFACE_HXX
25 #define INCLUDED_CPPUHELPER_QUERYINTERFACE_HXX
26 
27 #include "sal/config.h"
28 #include "com/sun/star/uno/Any.hxx"
29 #include "com/sun/star/uno/Type.h"
30 #include "sal/types.h"
31 
32 namespace cppu
33 {
34 
42 template< class Interface1 >
43 inline css::uno::Any SAL_CALL queryInterface(
44  const css::uno::Type & rType,
45  Interface1 * p1 )
46 {
47  if (rType == Interface1::static_type())
48  return css::uno::Any( &p1, rType );
49  else
50  return css::uno::Any();
51 }
61 template< class Interface1, class Interface2 >
62 inline css::uno::Any SAL_CALL queryInterface(
63  const css::uno::Type & rType,
64  Interface1 * p1, Interface2 * p2 )
65 {
66  if (rType == Interface1::static_type())
67  return css::uno::Any( &p1, rType );
68  else if (rType == Interface2::static_type())
69  return css::uno::Any( &p2, rType );
70  else
71  return css::uno::Any();
72 }
84 template< class Interface1, class Interface2, class Interface3 >
85 inline css::uno::Any SAL_CALL queryInterface(
86  const css::uno::Type & rType,
87  Interface1 * p1, Interface2 * p2, Interface3 * p3 )
88 {
89  if (rType == Interface1::static_type())
90  return css::uno::Any( &p1, rType );
91  else if (rType == Interface2::static_type())
92  return css::uno::Any( &p2, rType );
93  else if (rType == Interface3::static_type())
94  return css::uno::Any( &p3, rType );
95  else
96  return css::uno::Any();
97 }
111 template< class Interface1, class Interface2, class Interface3, class Interface4 >
112 inline css::uno::Any SAL_CALL queryInterface(
113  const css::uno::Type & rType,
114  Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4 )
115 {
116  if (rType == Interface1::static_type())
117  return css::uno::Any( &p1, rType );
118  else if (rType == Interface2::static_type())
119  return css::uno::Any( &p2, rType );
120  else if (rType == Interface3::static_type())
121  return css::uno::Any( &p3, rType );
122  else if (rType == Interface4::static_type())
123  return css::uno::Any( &p4, rType );
124  else
125  return css::uno::Any();
126 }
142 template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5 >
143 inline css::uno::Any SAL_CALL queryInterface(
144  const css::uno::Type & rType,
145  Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5 )
146 {
147  if (rType == Interface1::static_type())
148  return css::uno::Any( &p1, rType );
149  else if (rType == Interface2::static_type())
150  return css::uno::Any( &p2, rType );
151  else if (rType == Interface3::static_type())
152  return css::uno::Any( &p3, rType );
153  else if (rType == Interface4::static_type())
154  return css::uno::Any( &p4, rType );
155  else if (rType == Interface5::static_type())
156  return css::uno::Any( &p5, rType );
157  else
158  return css::uno::Any();
159 }
177 template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5,
178  class Interface6 >
179 inline css::uno::Any SAL_CALL queryInterface(
180  const css::uno::Type & rType,
181  Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
182  Interface6 * p6 )
183 {
184  if (rType == Interface1::static_type())
185  return css::uno::Any( &p1, rType );
186  else if (rType == Interface2::static_type())
187  return css::uno::Any( &p2, rType );
188  else if (rType == Interface3::static_type())
189  return css::uno::Any( &p3, rType );
190  else if (rType == Interface4::static_type())
191  return css::uno::Any( &p4, rType );
192  else if (rType == Interface5::static_type())
193  return css::uno::Any( &p5, rType );
194  else if (rType == Interface6::static_type())
195  return css::uno::Any( &p6, rType );
196  else
197  return css::uno::Any();
198 }
218 template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5,
219  class Interface6, class Interface7 >
220 inline css::uno::Any SAL_CALL queryInterface(
221  const css::uno::Type & rType,
222  Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
223  Interface6 * p6, Interface7 * p7 )
224 {
225  if (rType == Interface1::static_type())
226  return css::uno::Any( &p1, rType );
227  else if (rType == Interface2::static_type())
228  return css::uno::Any( &p2, rType );
229  else if (rType == Interface3::static_type())
230  return css::uno::Any( &p3, rType );
231  else if (rType == Interface4::static_type())
232  return css::uno::Any( &p4, rType );
233  else if (rType == Interface5::static_type())
234  return css::uno::Any( &p5, rType );
235  else if (rType == Interface6::static_type())
236  return css::uno::Any( &p6, rType );
237  else if (rType == Interface7::static_type())
238  return css::uno::Any( &p7, rType );
239  else
240  return css::uno::Any();
241 }
263 template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5,
264  class Interface6, class Interface7, class Interface8 >
265 inline css::uno::Any SAL_CALL queryInterface(
266  const css::uno::Type & rType,
267  Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
268  Interface6 * p6, Interface7 * p7, Interface8 * p8 )
269 {
270  if (rType == Interface1::static_type())
271  return css::uno::Any( &p1, rType );
272  else if (rType == Interface2::static_type())
273  return css::uno::Any( &p2, rType );
274  else if (rType == Interface3::static_type())
275  return css::uno::Any( &p3, rType );
276  else if (rType == Interface4::static_type())
277  return css::uno::Any( &p4, rType );
278  else if (rType == Interface5::static_type())
279  return css::uno::Any( &p5, rType );
280  else if (rType == Interface6::static_type())
281  return css::uno::Any( &p6, rType );
282  else if (rType == Interface7::static_type())
283  return css::uno::Any( &p7, rType );
284  else if (rType == Interface8::static_type())
285  return css::uno::Any( &p8, rType );
286  else
287  return css::uno::Any();
288 }
312 template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5,
313  class Interface6, class Interface7, class Interface8, class Interface9 >
314 inline css::uno::Any SAL_CALL queryInterface(
315  const css::uno::Type & rType,
316  Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
317  Interface6 * p6, Interface7 * p7, Interface8 * p8, Interface9 * p9 )
318 {
319  if (rType == Interface1::static_type())
320  return css::uno::Any( &p1, rType );
321  else if (rType == Interface2::static_type())
322  return css::uno::Any( &p2, rType );
323  else if (rType == Interface3::static_type())
324  return css::uno::Any( &p3, rType );
325  else if (rType == Interface4::static_type())
326  return css::uno::Any( &p4, rType );
327  else if (rType == Interface5::static_type())
328  return css::uno::Any( &p5, rType );
329  else if (rType == Interface6::static_type())
330  return css::uno::Any( &p6, rType );
331  else if (rType == Interface7::static_type())
332  return css::uno::Any( &p7, rType );
333  else if (rType == Interface8::static_type())
334  return css::uno::Any( &p8, rType );
335  else if (rType == Interface9::static_type())
336  return css::uno::Any( &p9, rType );
337  else
338  return css::uno::Any();
339 }
365 template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5,
366  class Interface6, class Interface7, class Interface8, class Interface9, class Interface10 >
367 inline css::uno::Any SAL_CALL queryInterface(
368  const css::uno::Type & rType,
369  Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
370  Interface6 * p6, Interface7 * p7, Interface8 * p8, Interface9 * p9, Interface10 * p10 )
371 {
372  if (rType == Interface1::static_type())
373  return css::uno::Any( &p1, rType );
374  else if (rType == Interface2::static_type())
375  return css::uno::Any( &p2, rType );
376  else if (rType == Interface3::static_type())
377  return css::uno::Any( &p3, rType );
378  else if (rType == Interface4::static_type())
379  return css::uno::Any( &p4, rType );
380  else if (rType == Interface5::static_type())
381  return css::uno::Any( &p5, rType );
382  else if (rType == Interface6::static_type())
383  return css::uno::Any( &p6, rType );
384  else if (rType == Interface7::static_type())
385  return css::uno::Any( &p7, rType );
386  else if (rType == Interface8::static_type())
387  return css::uno::Any( &p8, rType );
388  else if (rType == Interface9::static_type())
389  return css::uno::Any( &p9, rType );
390  else if (rType == Interface10::static_type())
391  return css::uno::Any( &p10, rType );
392  else
393  return css::uno::Any();
394 }
422 template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5,
423  class Interface6, class Interface7, class Interface8, class Interface9, class Interface10,
424  class Interface11 >
425 inline css::uno::Any SAL_CALL queryInterface(
426  const css::uno::Type & rType,
427  Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
428  Interface6 * p6, Interface7 * p7, Interface8 * p8, Interface9 * p9, Interface10 * p10,
429  Interface11 * p11 )
430 {
431  if (rType == Interface1::static_type())
432  return css::uno::Any( &p1, rType );
433  else if (rType == Interface2::static_type())
434  return css::uno::Any( &p2, rType );
435  else if (rType == Interface3::static_type())
436  return css::uno::Any( &p3, rType );
437  else if (rType == Interface4::static_type())
438  return css::uno::Any( &p4, rType );
439  else if (rType == Interface5::static_type())
440  return css::uno::Any( &p5, rType );
441  else if (rType == Interface6::static_type())
442  return css::uno::Any( &p6, rType );
443  else if (rType == Interface7::static_type())
444  return css::uno::Any( &p7, rType );
445  else if (rType == Interface8::static_type())
446  return css::uno::Any( &p8, rType );
447  else if (rType == Interface9::static_type())
448  return css::uno::Any( &p9, rType );
449  else if (rType == Interface10::static_type())
450  return css::uno::Any( &p10, rType );
451  else if (rType == Interface11::static_type())
452  return css::uno::Any( &p11, rType );
453  else
454  return css::uno::Any();
455 }
485 template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5,
486  class Interface6, class Interface7, class Interface8, class Interface9, class Interface10,
487  class Interface11, class Interface12 >
488 inline css::uno::Any SAL_CALL queryInterface(
489  const css::uno::Type & rType,
490  Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
491  Interface6 * p6, Interface7 * p7, Interface8 * p8, Interface9 * p9, Interface10 * p10,
492  Interface11 * p11, Interface12 * p12 )
493 {
494  if (rType == Interface1::static_type())
495  return css::uno::Any( &p1, rType );
496  else if (rType == Interface2::static_type())
497  return css::uno::Any( &p2, rType );
498  else if (rType == Interface3::static_type())
499  return css::uno::Any( &p3, rType );
500  else if (rType == Interface4::static_type())
501  return css::uno::Any( &p4, rType );
502  else if (rType == Interface5::static_type())
503  return css::uno::Any( &p5, rType );
504  else if (rType == Interface6::static_type())
505  return css::uno::Any( &p6, rType );
506  else if (rType == Interface7::static_type())
507  return css::uno::Any( &p7, rType );
508  else if (rType == Interface8::static_type())
509  return css::uno::Any( &p8, rType );
510  else if (rType == Interface9::static_type())
511  return css::uno::Any( &p9, rType );
512  else if (rType == Interface10::static_type())
513  return css::uno::Any( &p10, rType );
514  else if (rType == Interface11::static_type())
515  return css::uno::Any( &p11, rType );
516  else if (rType == Interface12::static_type())
517  return css::uno::Any( &p12, rType );
518  else
519  return css::uno::Any();
520 }
521 
525 template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5,
526  class Interface6, class Interface7, class Interface8, class Interface9, class Interface10,
527  class Interface11, class Interface12, class Interface13 >
528 inline css::uno::Any SAL_CALL queryInterface(
529  const css::uno::Type & rType,
530  Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
531  Interface6 * p6, Interface7 * p7, Interface8 * p8, Interface9 * p9, Interface10 * p10,
532  Interface11 * p11, Interface12 * p12, Interface13 * p13 )
533 {
534  if (rType == Interface1::static_type())
535  return css::uno::Any( &p1, rType );
536  else if (rType == Interface2::static_type())
537  return css::uno::Any( &p2, rType );
538  else if (rType == Interface3::static_type())
539  return css::uno::Any( &p3, rType );
540  else if (rType == Interface4::static_type())
541  return css::uno::Any( &p4, rType );
542  else if (rType == Interface5::static_type())
543  return css::uno::Any( &p5, rType );
544  else if (rType == Interface6::static_type())
545  return css::uno::Any( &p6, rType );
546  else if (rType == Interface7::static_type())
547  return css::uno::Any( &p7, rType );
548  else if (rType == Interface8::static_type())
549  return css::uno::Any( &p8, rType );
550  else if (rType == Interface9::static_type())
551  return css::uno::Any( &p9, rType );
552  else if (rType == Interface10::static_type())
553  return css::uno::Any( &p10, rType );
554  else if (rType == Interface11::static_type())
555  return css::uno::Any( &p11, rType );
556  else if (rType == Interface12::static_type())
557  return css::uno::Any( &p12, rType );
558  else if (rType == Interface13::static_type())
559  return css::uno::Any( &p13, rType );
560  else
561  return css::uno::Any();
562 }
563 
567 template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5,
568  class Interface6, class Interface7, class Interface8, class Interface9, class Interface10,
569  class Interface11, class Interface12, class Interface13, class Interface14 >
570 inline css::uno::Any SAL_CALL queryInterface(
571  const css::uno::Type & rType,
572  Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
573  Interface6 * p6, Interface7 * p7, Interface8 * p8, Interface9 * p9, Interface10 * p10,
574  Interface11 * p11, Interface12 * p12, Interface13 * p13, Interface14 * p14 )
575 {
576  if (rType == Interface1::static_type())
577  return css::uno::Any( &p1, rType );
578  else if (rType == Interface2::static_type())
579  return css::uno::Any( &p2, rType );
580  else if (rType == Interface3::static_type())
581  return css::uno::Any( &p3, rType );
582  else if (rType == Interface4::static_type())
583  return css::uno::Any( &p4, rType );
584  else if (rType == Interface5::static_type())
585  return css::uno::Any( &p5, rType );
586  else if (rType == Interface6::static_type())
587  return css::uno::Any( &p6, rType );
588  else if (rType == Interface7::static_type())
589  return css::uno::Any( &p7, rType );
590  else if (rType == Interface8::static_type())
591  return css::uno::Any( &p8, rType );
592  else if (rType == Interface9::static_type())
593  return css::uno::Any( &p9, rType );
594  else if (rType == Interface10::static_type())
595  return css::uno::Any( &p10, rType );
596  else if (rType == Interface11::static_type())
597  return css::uno::Any( &p11, rType );
598  else if (rType == Interface12::static_type())
599  return css::uno::Any( &p12, rType );
600  else if (rType == Interface13::static_type())
601  return css::uno::Any( &p13, rType );
602  else if (rType == Interface14::static_type())
603  return css::uno::Any( &p14, rType );
604  else
605  return css::uno::Any();
606 }
607 
611 template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5,
612  class Interface6, class Interface7, class Interface8, class Interface9, class Interface10,
613  class Interface11, class Interface12, class Interface13, class Interface14, class Interface15,
614  class Interface16, class Interface17 >
615 inline css::uno::Any SAL_CALL queryInterface(
616  const css::uno::Type & rType,
617  Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
618  Interface6 * p6, Interface7 * p7, Interface8 * p8, Interface9 * p9, Interface10 * p10,
619  Interface11 * p11, Interface12 * p12, Interface13 * p13, Interface14 * p14, Interface15 * p15,
620  Interface16 * p16, Interface17 * p17 )
621 {
622  if (rType == Interface1::static_type())
623  return css::uno::Any( &p1, rType );
624  else if (rType == Interface2::static_type())
625  return css::uno::Any( &p2, rType );
626  else if (rType == Interface3::static_type())
627  return css::uno::Any( &p3, rType );
628  else if (rType == Interface4::static_type())
629  return css::uno::Any( &p4, rType );
630  else if (rType == Interface5::static_type())
631  return css::uno::Any( &p5, rType );
632  else if (rType == Interface6::static_type())
633  return css::uno::Any( &p6, rType );
634  else if (rType == Interface7::static_type())
635  return css::uno::Any( &p7, rType );
636  else if (rType == Interface8::static_type())
637  return css::uno::Any( &p8, rType );
638  else if (rType == Interface9::static_type())
639  return css::uno::Any( &p9, rType );
640  else if (rType == Interface10::static_type())
641  return css::uno::Any( &p10, rType );
642  else if (rType == Interface11::static_type())
643  return css::uno::Any( &p11, rType );
644  else if (rType == Interface12::static_type())
645  return css::uno::Any( &p12, rType );
646  else if (rType == Interface13::static_type())
647  return css::uno::Any( &p13, rType );
648  else if (rType == Interface14::static_type())
649  return css::uno::Any( &p14, rType );
650  else if (rType == Interface15::static_type())
651  return css::uno::Any( &p15, rType );
652  else if (rType == Interface16::static_type())
653  return css::uno::Any( &p16, rType );
654  else if (rType == Interface17::static_type())
655  return css::uno::Any( &p17, rType );
656  else
657  return css::uno::Any();
658 }
659 
663 template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5,
664  class Interface6, class Interface7, class Interface8, class Interface9, class Interface10,
665  class Interface11, class Interface12, class Interface13, class Interface14, class Interface15,
666  class Interface16, class Interface17, class Interface18 >
667 inline css::uno::Any SAL_CALL queryInterface(
668  const css::uno::Type & rType,
669  Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
670  Interface6 * p6, Interface7 * p7, Interface8 * p8, Interface9 * p9, Interface10 * p10,
671  Interface11 * p11, Interface12 * p12, Interface13 * p13, Interface14 * p14, Interface15 * p15,
672  Interface16 * p16, Interface17 * p17, Interface18 * p18 )
673 {
674  if (rType == Interface1::static_type())
675  return css::uno::Any( &p1, rType );
676  else if (rType == Interface2::static_type())
677  return css::uno::Any( &p2, rType );
678  else if (rType == Interface3::static_type())
679  return css::uno::Any( &p3, rType );
680  else if (rType == Interface4::static_type())
681  return css::uno::Any( &p4, rType );
682  else if (rType == Interface5::static_type())
683  return css::uno::Any( &p5, rType );
684  else if (rType == Interface6::static_type())
685  return css::uno::Any( &p6, rType );
686  else if (rType == Interface7::static_type())
687  return css::uno::Any( &p7, rType );
688  else if (rType == Interface8::static_type())
689  return css::uno::Any( &p8, rType );
690  else if (rType == Interface9::static_type())
691  return css::uno::Any( &p9, rType );
692  else if (rType == Interface10::static_type())
693  return css::uno::Any( &p10, rType );
694  else if (rType == Interface11::static_type())
695  return css::uno::Any( &p11, rType );
696  else if (rType == Interface12::static_type())
697  return css::uno::Any( &p12, rType );
698  else if (rType == Interface13::static_type())
699  return css::uno::Any( &p13, rType );
700  else if (rType == Interface14::static_type())
701  return css::uno::Any( &p14, rType );
702  else if (rType == Interface15::static_type())
703  return css::uno::Any( &p15, rType );
704  else if (rType == Interface16::static_type())
705  return css::uno::Any( &p16, rType );
706  else if (rType == Interface17::static_type())
707  return css::uno::Any( &p17, rType );
708  else if (rType == Interface18::static_type())
709  return css::uno::Any( &p18, rType );
710  else
711  return css::uno::Any();
712 }
713 
717 template< class Interface1, class Interface2, class Interface3, class Interface4, class Interface5,
718  class Interface6, class Interface7, class Interface8, class Interface9, class Interface10,
719  class Interface11, class Interface12, class Interface13, class Interface14, class Interface15,
720  class Interface16, class Interface17, class Interface18, class Interface19 >
721 inline css::uno::Any SAL_CALL queryInterface(
722  const css::uno::Type & rType,
723  Interface1 * p1, Interface2 * p2, Interface3 * p3, Interface4 * p4, Interface5 * p5,
724  Interface6 * p6, Interface7 * p7, Interface8 * p8, Interface9 * p9, Interface10 * p10,
725  Interface11 * p11, Interface12 * p12, Interface13 * p13, Interface14 * p14, Interface15 * p15,
726  Interface16 * p16, Interface17 * p17, Interface18 * p18, Interface19 * p19 )
727 {
728  if (rType == Interface1::static_type())
729  return css::uno::Any( &p1, rType );
730  else if (rType == Interface2::static_type())
731  return css::uno::Any( &p2, rType );
732  else if (rType == Interface3::static_type())
733  return css::uno::Any( &p3, rType );
734  else if (rType == Interface4::static_type())
735  return css::uno::Any( &p4, rType );
736  else if (rType == Interface5::static_type())
737  return css::uno::Any( &p5, rType );
738  else if (rType == Interface6::static_type())
739  return css::uno::Any( &p6, rType );
740  else if (rType == Interface7::static_type())
741  return css::uno::Any( &p7, rType );
742  else if (rType == Interface8::static_type())
743  return css::uno::Any( &p8, rType );
744  else if (rType == Interface9::static_type())
745  return css::uno::Any( &p9, rType );
746  else if (rType == Interface10::static_type())
747  return css::uno::Any( &p10, rType );
748  else if (rType == Interface11::static_type())
749  return css::uno::Any( &p11, rType );
750  else if (rType == Interface12::static_type())
751  return css::uno::Any( &p12, rType );
752  else if (rType == Interface13::static_type())
753  return css::uno::Any( &p13, rType );
754  else if (rType == Interface14::static_type())
755  return css::uno::Any( &p14, rType );
756  else if (rType == Interface15::static_type())
757  return css::uno::Any( &p15, rType );
758  else if (rType == Interface16::static_type())
759  return css::uno::Any( &p16, rType );
760  else if (rType == Interface17::static_type())
761  return css::uno::Any( &p17, rType );
762  else if (rType == Interface18::static_type())
763  return css::uno::Any( &p18, rType );
764  else if (rType == Interface19::static_type())
765  return css::uno::Any( &p19, rType );
766  else
767  return css::uno::Any();
768 }
769 
770 }
771 
772 #endif
773 
774 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
css::uno::Any queryInterface(const css::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Definition: queryinterface.hxx:43
Definition: Enterable.hxx:30