summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-07-02 11:07:47 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-07-02 11:07:47 +0000
commitac0196d9cafee2f481be8bbdc1dbab28da968b87 (patch)
treef8682e7d5e1671b68c4e8af8ea12ed6f70127ae6
parent52b0070d5d3631f75bfedc884cb40384518a7638 (diff)
INTEGRATION: CWS impress145 (1.79.108); FILE MERGED
2008/06/12 09:56:30 cl 1.79.108.1: #i73436# added static implementation id for uno tunneling
-rw-r--r--svx/source/svdraw/svdmodel.cxx19
1 files changed, 18 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx
index f17e06db94..af8b3b710a 100644
--- a/svx/source/svdraw/svdmodel.cxx
+++ b/svx/source/svdraw/svdmodel.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: svdmodel.cxx,v $
- * $Revision: 1.80 $
+ * $Revision: 1.81 $
*
* This file is part of OpenOffice.org.
*
@@ -33,6 +33,7 @@
#include <svx/svdmodel.hxx>
+#include <rtl/uuid.h>
#include <com/sun/star/lang/XComponent.hpp>
#include <osl/endian.h>
#include <rtl/logfile.hxx>
@@ -2045,6 +2046,22 @@ void SdrModel::SetAllowShapePropertyChangeListener( bool bAllow )
}
}
+const ::com::sun::star::uno::Sequence< sal_Int8 >& SdrModel::getUnoTunnelImplementationId()
+{
+ static ::com::sun::star::uno::Sequence< sal_Int8 > * pSeq = 0;
+ if( !pSeq )
+ {
+ ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() );
+ if( !pSeq )
+ {
+ static Sequence< sal_Int8 > aSeq( 16 );
+ rtl_createUuid( (sal_uInt8*)aSeq.getArray(), 0, sal_True );
+ pSeq = &aSeq;
+ }
+ }
+ return *pSeq;
+}
+
////////////////////////////////////////////////////////////////////////////////////////////////////
TYPEINIT1(SdrHint,SfxHint);