summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2005-01-27 09:21:59 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2005-01-27 09:21:59 +0000
commit965749b7a26e0f4ec1571d19e849b53d7a91fc5d (patch)
tree47d59d9b3ad76e1d5d0aca06fe1a9750aa669afb /desktop
parentc0a1572c5da4b7f735108a0858165c093d46568d (diff)
INTEGRATION: CWS cd04 (1.3.52); FILE MERGED
2005/01/19 10:17:50 dbo 1.3.52.1: #i35195##i40553# - focus takeover - invalid bootstraprc crash - resmgr mutex cleanup Issue number: Submitted by: Reviewed by:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/deployment/manager/dp_managerfac.cxx28
1 files changed, 5 insertions, 23 deletions
diff --git a/desktop/source/deployment/manager/dp_managerfac.cxx b/desktop/source/deployment/manager/dp_managerfac.cxx
index 573bddfd9b30..503fbc3e5448 100644
--- a/desktop/source/deployment/manager/dp_managerfac.cxx
+++ b/desktop/source/deployment/manager/dp_managerfac.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dp_managerfac.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: hr $ $Date: 2004-11-09 14:08:02 $
+ * last change: $Author: rt $ $Date: 2005-01-27 10:21:59 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -61,8 +61,7 @@
#include "dp_manager.h"
#include "dp_resource.h"
-#include "cppuhelper/compbase2.hxx"
-#include "com/sun/star/lang/XUnoTunnel.hpp"
+#include "cppuhelper/compbase1.hxx"
#include "com/sun/star/registry/XRegistryKey.hpp"
#include "com/sun/star/deployment/thePackageManagerFactory.hpp"
@@ -75,8 +74,8 @@ using ::rtl::OUString;
namespace dp_manager {
namespace factory {
-typedef ::cppu::WeakComponentImplHelper2<
- deployment::XPackageManagerFactory, lang::XUnoTunnel > t_pmfac_helper;
+typedef ::cppu::WeakComponentImplHelper1<
+ deployment::XPackageManagerFactory > t_pmfac_helper;
//==============================================================================
class PackageManagerFactoryImpl : private MutexHolder, public t_pmfac_helper
@@ -99,28 +98,11 @@ public:
PackageManagerFactoryImpl(
Reference<XComponentContext> const & xComponentContext );
- // XUnoTunnel
- virtual sal_Int64 SAL_CALL getSomething( Sequence<sal_Int8> const & id )
- throw (RuntimeException);
-
// XPackageManagerFactory
virtual Reference<deployment::XPackageManager> SAL_CALL getPackageManager(
OUString const & context ) throw (RuntimeException);
};
-// xxx todo: remove when PL has inserted res mgr mutex in tools:
-// XUnoTunnel: hack to set application solar mutex from within gui
-//______________________________________________________________________________
-sal_Int64 PackageManagerFactoryImpl::getSomething(
- Sequence<sal_Int8> const & id ) throw (RuntimeException)
-{
- ::rtl::OString str( reinterpret_cast<sal_Char const *>(id.getConstArray()),
- id.getLength() );
- if (str.equals("ResMgrMutexPointer"))
- return reinterpret_cast<sal_Int64>(&g_pResMgrMutex);
- return 0;
-}
-
//==============================================================================
OUString SAL_CALL getImplementationName()
{