summaryrefslogtreecommitdiff
path: root/embeddedobj
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2007-07-06 09:10:28 +0000
committerRüdiger Timm <rt@openoffice.org>2007-07-06 09:10:28 +0000
commit77d020e45b4faaaaf751c4da611562bc348de864 (patch)
tree30cad9a579e503fd8b3c422ab4fec2bfbdc552a2 /embeddedobj
parent4fafd5885a99d41f7352b3508a6bf3d23ca723c4 (diff)
INTEGRATION: CWS oj14 (1.29.12); FILE MERGED
2007/04/18 15:16:45 oj 1.29.12.7: RESYNC: (1.39-1.40); FILE MERGED 2007/03/14 15:48:05 mav 1.29.12.6: #i75401# no need to use implementation service names any more 2007/02/20 16:21:43 oj 1.29.12.5: RESYNC: (1.38-1.39); FILE MERGED 2006/11/07 08:41:51 oj 1.29.12.4: RESYNC: (1.34-1.38); FILE MERGED 2006/07/04 07:24:48 oj 1.29.12.3: RESYNC: (1.32-1.34); FILE MERGED 2006/03/20 13:47:07 oj 1.29.12.2: RESYNC: (1.29-1.32); FILE MERGED 2006/03/20 08:42:51 oj 1.29.12.1: use mimeconfighelper
Diffstat (limited to 'embeddedobj')
-rw-r--r--embeddedobj/source/msole/olecomponent.cxx14
1 files changed, 8 insertions, 6 deletions
diff --git a/embeddedobj/source/msole/olecomponent.cxx b/embeddedobj/source/msole/olecomponent.cxx
index a5ef0465804d..05182e03eef8 100644
--- a/embeddedobj/source/msole/olecomponent.cxx
+++ b/embeddedobj/source/msole/olecomponent.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: olecomponent.cxx,v $
*
- * $Revision: 1.40 $
+ * $Revision: 1.41 $
*
- * last change: $Author: vg $ $Date: 2007-03-26 13:43:41 $
+ * last change: $Author: rt $ $Date: 2007-07-06 10:10:28 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -67,6 +67,9 @@
#include <platform.h>
#include <cppuhelper/interfacecontainer.h>
+#ifndef _COMPHELPER_MIMECONFIGHELPER_HXX_
+#include <comphelper/mimeconfighelper.hxx>
+#endif
#include <comphelper/storagehelper.hxx>
#include <osl/file.hxx>
#include <rtl/ref.hxx>
@@ -76,10 +79,9 @@
#include <advisesink.hxx>
#include <oleembobj.hxx>
#include <mtnotification.hxx>
-#include <convert.hxx>
using namespace ::com::sun::star;
-
+using namespace ::comphelper;
#define MAX_ENUM_ELE 20
#define FORMATS_NUM 3
@@ -1199,7 +1201,7 @@ uno::Sequence< sal_Int8 > OleComponent::GetCLSID()
if ( FAILED( hr ) )
throw io::IOException(); // TODO:
- return GetSequenceClassID( aCLSID.Data1, aCLSID.Data2, aCLSID.Data3,
+ return MimeConfigurationHelper::GetSequenceClassID( aCLSID.Data1, aCLSID.Data2, aCLSID.Data3,
aCLSID.Data4[0], aCLSID.Data4[1],
aCLSID.Data4[2], aCLSID.Data4[3],
aCLSID.Data4[4], aCLSID.Data4[5],
@@ -1629,7 +1631,7 @@ sal_Int64 SAL_CALL OleComponent::getSomething( const ::com::sun::star::uno::Sequ
try
{
uno::Sequence < sal_Int8 > aCLSID = GetCLSID();
- if ( ClassIDsEqual( aIdentifier, aCLSID ) )
+ if ( MimeConfigurationHelper::ClassIDsEqual( aIdentifier, aCLSID ) )
return (sal_Int64) (IUnknown*) m_pNativeImpl->m_pObj;
// compatibility hack for old versions: CLSID was used in wrong order (SvGlobalName order)