summaryrefslogtreecommitdiff
path: root/sc/inc/miscuno.hxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2005-03-23 11:44:54 +0000
committerVladimir Glazounov <vg@openoffice.org>2005-03-23 11:44:54 +0000
commit55295910ab6864866d607f6943e4e34d4c6770ef (patch)
tree2a6f7417ba29b2a57218547f3b0493c1f1350d99 /sc/inc/miscuno.hxx
parent65e57894cda5f4ce3daf8b69123fc600f8c8ba76 (diff)
INTEGRATION: CWS calcuno01 (1.5.148); FILE MERGED
2004/10/13 11:35:31 sab 1.5.148.2: RESYNC: (1.5-1.6); FILE MERGED 2004/01/05 11:48:04 sab 1.5.148.1: #i22706#; improve API using
Diffstat (limited to 'sc/inc/miscuno.hxx')
-rw-r--r--sc/inc/miscuno.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/miscuno.hxx b/sc/inc/miscuno.hxx
index 429cdf2aa622..ba89596031f2 100644
--- a/sc/inc/miscuno.hxx
+++ b/sc/inc/miscuno.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: miscuno.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: rt $ $Date: 2004-08-23 09:25:05 $
+ * last change: $Author: vg $ $Date: 2005-03-23 12:44:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -135,7 +135,7 @@ sal_Bool SAL_CALL ClassName::supportsService( const ::rtl::OUString& ServiceName
#define SC_QUERYINTERFACE(x) \
if (rType == getCppuType((const uno::Reference<x>*)0)) \
- { uno::Any aR; aR <<= uno::Reference<x>(this); return aR; }
+ { return uno::makeAny(uno::Reference<x>(this)); }
// SC_QUERY_MULTIPLE( XElementAccess, XIndexAccess ):
// use if interface is used several times in one class