summaryrefslogtreecommitdiff
path: root/basctl/source/inc
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
commit00a567f26a0db5a9ac00562582507a2da5ea03bf (patch)
treed83eb78c5964a8af3877b95d4316d8b89acdabc6 /basctl/source/inc
parentea6f73c642973809568fcc605d588250d39e164e (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/source/inc')
-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 471b2d05d..9aee6060b 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 >