summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-11-24 14:56:45 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-11-24 16:36:01 +0000
commit6283d3d4c3019c3435a7465ad7b072f83b0e7cc9 (patch)
tree5a14eab9a30b4e8abf9f033857200f88648667d4 /sfx2/source
parentce7a7c63eaf14e586bf48e4c35b50acf382c6de2 (diff)
in passing RegisterChildWindow already never used its pStr arg
Change-Id: I506581507f078a87088c85867724f1c446ea76d5
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/control/objface.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sfx2/source/control/objface.cxx b/sfx2/source/control/objface.cxx
index 3a6cff319946..00309db6532c 100644
--- a/sfx2/source/control/objface.cxx
+++ b/sfx2/source/control/objface.cxx
@@ -449,13 +449,12 @@ sal_uInt16 SfxInterface::GetObjectBarCount() const
return pImpData->aObjectBars.size();
}
-
-void SfxInterface::RegisterChildWindow(sal_uInt16 nId, bool bContext, const OUString* pChildWinName)
+void SfxInterface::RegisterChildWindow(sal_uInt16 nId, bool bContext)
{
- RegisterChildWindow( nId, bContext, 0UL, pChildWinName );
+ RegisterChildWindow(nId, bContext, 0UL);
}
-void SfxInterface::RegisterChildWindow(sal_uInt16 nId, bool bContext, sal_uInt32 nFeature, const OUString*)
+void SfxInterface::RegisterChildWindow(sal_uInt16 nId, bool bContext, sal_uInt32 nFeature)
{
SfxObjectUI_Impl* pUI = new SfxObjectUI_Impl(0, ResId(nId, *SfxApplication::GetOrCreate()->GetOffResManager_Impl()), true, nFeature);
pUI->bContext = bContext;