summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-03-15 15:02:52 +0000
committerOliver Bolte <obo@openoffice.org>2007-03-15 15:02:52 +0000
commit642f6fa7c0d847458feea0911fcf25ffb494b54e (patch)
treefb072424d2161bbebdcf5cb9c7cd208987fb9b03 /basctl
parent03784af870a966cfb285fe82d9f2a2b47316f436 (diff)
INTEGRATION: CWS basmgr02 (1.5.2); FILE MERGED
2007/02/21 09:33:04 fs 1.5.2.1: #i73331# encapsulate (nearly) all usages of SfxObjectShell in the ScriptDocument class
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/inc/localizationmgr.hxx17
1 files changed, 9 insertions, 8 deletions
diff --git a/basctl/source/inc/localizationmgr.hxx b/basctl/source/inc/localizationmgr.hxx
index f05eee5c5fa6..336787a7ec5e 100644
--- a/basctl/source/inc/localizationmgr.hxx
+++ b/basctl/source/inc/localizationmgr.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: localizationmgr.hxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: rt $ $Date: 2007-02-01 08:25:03 $
+ * last change: $Author: obo $ $Date: 2007-03-15 16:02:52 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -43,8 +43,9 @@
#include <com/sun/star/container/XNameContainer.hpp>
#endif
+#include "scriptdocument.hxx"
+
class BasicIDEShell;
-class SfxObjectShell;
class DlgEditor;
class LocalizationMgr
@@ -54,7 +55,7 @@ class LocalizationMgr
BasicIDEShell* m_pIDEShell;
- SfxObjectShell* m_pShell;
+ ScriptDocument m_aDocument;
String m_aLibName;
::com::sun::star::lang::Locale m_aLocaleBeforeBasicStart;
@@ -85,7 +86,7 @@ class LocalizationMgr
void implEnableDisableResourceForAllLibraryDialogs( HandleResourceMode eMode );
public:
- LocalizationMgr( BasicIDEShell* pIDEShell, SfxObjectShell* pShell, String aLibName,
+ LocalizationMgr( BasicIDEShell* pIDEShell, const ScriptDocument& rDocument, String aLibName,
const ::com::sun::star::uno::Reference
< ::com::sun::star::resource::XStringResourceManager >& xStringResourceManager );
::com::sun::star::uno::Reference
@@ -121,13 +122,13 @@ public:
static void deleteControlResourceIDsForDeletedEditorObject( DlgEditor* pEditor,
::com::sun::star::uno::Any aControlAny, const ::rtl::OUString& aCtrlName );
- static void setStringResourceAtDialog( SfxObjectShell* pShell, const String& aLibName, const String& aDlgName,
+ static void setStringResourceAtDialog( const ScriptDocument& rDocument, const String& aLibName, const String& aDlgName,
::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > xDialogModel );
- static void renameStringResourceIDs( SfxObjectShell* pShell, const String& aLibName, const String& aDlgName,
+ static void renameStringResourceIDs( const ScriptDocument& rDocument, const String& aLibName, const String& aDlgName,
::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > xDialogModel );
- static void removeResourceForDialog( SfxObjectShell* pShell, const String& aLibName, const String& aDlgName,
+ static void removeResourceForDialog( const ScriptDocument& rDocument, const String& aLibName, const String& aDlgName,
::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > xDialogModel );
static ::com::sun::star::uno::Reference< ::com::sun::star::resource::XStringResourceManager >