summaryrefslogtreecommitdiff
path: root/cui/source/factory
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-02-26 00:05:58 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-02-26 10:02:05 +0000
commit58ba8835bcf615cb6d3563c24b3d4d69b32f1b4f (patch)
tree99741c3fb37494fed71b0dd67b08c6716352b6c1 /cui/source/factory
parent67f6b20eccc39d94118e81cdc45fcf40bd7bc9d8 (diff)
adapt code to comment .ui conversion
Change-Id: I93f98f50443ab3b2fb0ce9f3126b03c8a3281ad2
Diffstat (limited to 'cui/source/factory')
-rw-r--r--cui/source/factory/dlgfact.cxx13
-rw-r--r--cui/source/factory/dlgfact.hxx2
2 files changed, 4 insertions, 11 deletions
diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx
index 26532efea2ce..e63292ec9a71 100644
--- a/cui/source/factory/dlgfact.cxx
+++ b/cui/source/factory/dlgfact.cxx
@@ -1793,18 +1793,11 @@ CreateSvxDistributePage AbstractDialogFactory_Impl::GetSvxDistributePageCreatorF
return SvxDistributePage::Create;
}
-DialogGetRanges AbstractDialogFactory_Impl::GetDialogGetRangesFunc( sal_uInt16 nId )
+DialogGetRanges AbstractDialogFactory_Impl::GetDialogGetRangesFunc()
{
- switch ( nId )
- {
- case RID_SVXDLG_POSTIT:
- return SvxPostItDialog::GetRanges; //add for SvxPostItDialog
- default:
- break;
- }
-
- return 0;
+ return SvxPostItDialog::GetRanges; //add for SvxPostItDialog
}
+
GetTabPageRanges AbstractDialogFactory_Impl::GetTabPageRangesFunc( sal_uInt16 nId )
{
switch ( nId )
diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx
index dd4c37a4802e..539dfe105e73 100644
--- a/cui/source/factory/dlgfact.hxx
+++ b/cui/source/factory/dlgfact.hxx
@@ -749,7 +749,7 @@ public:
virtual CreateSvxDistributePage GetSvxDistributePageCreatorFunc();
virtual GetTabPageRanges GetTabPageRangesFunc( sal_uInt16 nId );
- virtual DialogGetRanges GetDialogGetRangesFunc( sal_uInt16 nId ); //add for SvxPostItDialog
+ virtual DialogGetRanges GetDialogGetRangesFunc(); //add for SvxPostItDialog
virtual VclAbstractDialog* CreateSvxScriptOrgDialog( Window* pParent, const String& rLanguage );
virtual AbstractScriptSelectorDialog*