summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-07-02 20:16:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-07-03 08:59:56 +0100
commite8fdd77a66fe92fae063394683c6d9f64c9f54e6 (patch)
tree9b004c85b49de1b0eb14f91a08d72a12c335bbc3 /extensions
parent61db96daa87754af24355d7ac94ee0305f22ff87 (diff)
restore title on Format Number single tab dialogs
Allow a .ui to be given to the SingleTabDialog ctor. There are *three* single-tab Format Number dialogs, we really should combine them together into one dialog. Change-Id: I1021c9b968764bd9ad35832958ef2bd067fca798
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/propctrlr/formcomponenthandler.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx
index e29b8920c400..bdf86f647e0b 100644
--- a/extensions/source/propctrlr/formcomponenthandler.cxx
+++ b/extensions/source/propctrlr/formcomponenthandler.cxx
@@ -2716,7 +2716,9 @@ namespace pcr
aCoreSet.Put( aFormatter );
// a tab dialog with a single page
- boost::scoped_ptr< SfxSingleTabDialog > xDialog(new SfxSingleTabDialog(impl_getDefaultDialogParent_nothrow(), aCoreSet));
+ boost::scoped_ptr< SfxSingleTabDialog > xDialog(new SfxSingleTabDialog(
+ impl_getDefaultDialogParent_nothrow(), aCoreSet,
+ "FormatNumberDialog", "cui/ui/formatnumberdialog.ui"));
SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create();
DBG_ASSERT( pFact, "CreateFactory fail!" );
::CreateTabPage fnCreatePage = pFact->GetTabPageCreatorFunc( RID_SVXPAGE_NUMBERFORMAT );