diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-07-02 20:16:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-07-03 08:59:56 +0100 |
commit | e8fdd77a66fe92fae063394683c6d9f64c9f54e6 (patch) | |
tree | 9b004c85b49de1b0eb14f91a08d72a12c335bbc3 /chart2 | |
parent | 61db96daa87754af24355d7ac94ee0305f22ff87 (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 'chart2')
-rw-r--r-- | chart2/source/controller/dialogs/dlg_NumberFormat.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chart2/source/controller/dialogs/dlg_NumberFormat.cxx b/chart2/source/controller/dialogs/dlg_NumberFormat.cxx index 348f66772079..741bebc5e5e6 100644 --- a/chart2/source/controller/dialogs/dlg_NumberFormat.cxx +++ b/chart2/source/controller/dialogs/dlg_NumberFormat.cxx @@ -40,7 +40,8 @@ namespace chart using namespace ::com::sun::star; NumberFormatDialog::NumberFormatDialog(Window* pParent, SfxItemSet& rSet) - : SfxSingleTabDialog(pParent, rSet) + : SfxSingleTabDialog(pParent, rSet, "FormatNumberDialog", + "cui/ui/formatnumberdialog.ui") { SfxAbstractDialogFactory* pFact = SfxAbstractDialogFactory::Create(); ::CreateTabPage fnCreatePage = pFact->GetTabPageCreatorFunc( RID_SVXPAGE_NUMBERFORMAT ); |