summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-01-04 08:14:35 +0000
committerOliver Bolte <obo@openoffice.org>2005-01-04 08:14:35 +0000
commit7b4506321d8af59e88993e83c170c1f7f52b275d (patch)
tree5171f04532e0704a63354d2ce73e7f4cb568f815 /desktop
parentd2837b918bb9ba4e405aa98624d2b2bd4417614f (diff)
INTEGRATION: CWS res32bit (1.5.40); FILE MERGED
2004/11/16 10:19:26 pl 1.5.40.2: RESYNC: (1.5-1.6); FILE MERGED 2004/11/12 14:58:16 pl 1.5.40.1: #i34300# simplify ResMgr interface
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/deployment/misc/dp_resource.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/desktop/source/deployment/misc/dp_resource.cxx b/desktop/source/deployment/misc/dp_resource.cxx
index 839085141870..0848920a26d1 100644
--- a/desktop/source/deployment/misc/dp_resource.cxx
+++ b/desktop/source/deployment/misc/dp_resource.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dp_resource.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: rt $ $Date: 2004-12-07 10:53:29 $
+ * last change: $Author: obo $ $Date: 2005-01-04 09:14:35 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -89,13 +89,9 @@ void dummy() {}
struct DeploymentResMgr : public rtl::StaticWithInit<
ResMgr *, DeploymentResMgr> {
ResMgr * operator () () {
- OUString path;
- ::osl::Module::getUrlFromAddress( (void *) dummy, path );
- String resourcePath(
- path.copy( 0, path.lastIndexOf( '/' ) + 1 ) + OUSTR("resource") );
const ::vos::OGuard guard( g_pResMgrMutex );
return ResMgr::CreateResMgr( "deployment" LIBRARY_SOLARUPD(),
- OfficeLocale::get(), NULL, &resourcePath );
+ OfficeLocale::get() );
}
};