summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-11-24 20:43:02 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-11-24 20:43:38 +0000
commitc98c650ac4235cebc019e9c80fdc22cab6e077cd (patch)
tree6c966ea51a0e2035b8bb92c3e14e652c4912c8cf /include
parent8ccf559473f185bdb7640e438e131f17ddc1861c (diff)
SfxModule has GetResMgr so SfxShell and SfxInterface don't need GetResMgr
Change-Id: I6160f8b396ac5e5fb799ee03c5b0181fb088cb54
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/module.hxx1
-rw-r--r--include/sfx2/objface.hxx2
-rw-r--r--include/sfx2/shell.hxx6
3 files changed, 0 insertions, 9 deletions
diff --git a/include/sfx2/module.hxx b/include/sfx2/module.hxx
index 7e0e037b211c..7595a2bcb63a 100644
--- a/include/sfx2/module.hxx
+++ b/include/sfx2/module.hxx
@@ -75,7 +75,6 @@ public:
SfxObjectFactory* pFactoryP, ... );
virtual ~SfxModule();
- ResMgr* GetResMgr() const { return SfxShell::GetResMgr(); }
virtual ResMgr* GetResMgr();
SfxSlotPool* GetSlotPool() const;
diff --git a/include/sfx2/objface.hxx b/include/sfx2/objface.hxx
index e6a9a92240c7..a667c15bb1b9 100644
--- a/include/sfx2/objface.hxx
+++ b/include/sfx2/objface.hxx
@@ -65,8 +65,6 @@ public:
bool HasName() const { return 0 != aNameResId.GetId(); }
OUString GetName() const
{ return HasName() ? aNameResId.toString() : OUString(); }
- ResMgr* GetResMgr() const
- { return aNameResId.GetResMgr(); }
const SfxInterface* GetGenoType() const { return pGenoType; }
diff --git a/include/sfx2/shell.hxx b/include/sfx2/shell.hxx
index 7615858864b0..6e4ef36e9daa 100644
--- a/include/sfx2/shell.hxx
+++ b/include/sfx2/shell.hxx
@@ -431,12 +431,6 @@ public:
*/
SfxViewFrame* GetFrame() const;
- /**
- This method provides the ResMgr of the <Resource-DLL> that are used by
- the SfxShell instance. If this is a NULL-pointer, then the current
- resource manager is to be used.
- */
- ResMgr* GetResMgr() const;
virtual bool HasUIFeature( sal_uInt32 nFeature );
void UIFeatureChanged();