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 /include/sfx2/basedlgs.hxx | |
parent | fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFO (diff) | |
download | core-e8fdd77a66fe92fae063394683c6d9f64c9f54e6.tar.gz core-e8fdd77a66fe92fae063394683c6d9f64c9f54e6.zip |
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 'include/sfx2/basedlgs.hxx')
-rw-r--r-- | include/sfx2/basedlgs.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/sfx2/basedlgs.hxx b/include/sfx2/basedlgs.hxx index 95278e89e605..609d639e9ed4 100644 --- a/include/sfx2/basedlgs.hxx +++ b/include/sfx2/basedlgs.hxx @@ -182,7 +182,8 @@ class SFX2_DLLPUBLIC SfxSingleTabDialogBase : public SfxModalDialog { public: //layout ctor - SfxSingleTabDialogBase(Window* pParent, const SfxItemSet& rOptionsSet); + SfxSingleTabDialogBase(Window *pParent, const SfxItemSet& rOptionsSet, + const OString& rID, const OUString& rUIXMLDescription); //non-layout ctors SfxSingleTabDialogBase( Window* pParent, const SfxItemSet& rOptionsSet, sal_uInt16 nUniqueId ); @@ -210,8 +211,10 @@ protected: class SFX2_DLLPUBLIC SfxSingleTabDialog : public SfxSingleTabDialogBase { public: - SfxSingleTabDialog(Window* pParent, const SfxItemSet& rOptionsSet) - : SfxSingleTabDialogBase(pParent, rOptionsSet) + SfxSingleTabDialog(Window *pParent, const SfxItemSet& rOptionsSet, + const OString& rID = OString("SingleTabDialog"), + const OUString& rUIXMLDescription = OUString("sfx/ui/singletabdialog.ui")) + : SfxSingleTabDialogBase(pParent, rOptionsSet, rID, rUIXMLDescription) { } void setTabPage(SfxTabPage* pTabPage, GetTabPageRanges pRangesFunc = 0, sal_uInt32 nSettingsId = 0); |