summaryrefslogtreecommitdiff
path: root/cui/source/factory/dlgfact.cxx
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/dlgfact.cxx
parent67f6b20eccc39d94118e81cdc45fcf40bd7bc9d8 (diff)
adapt code to comment .ui conversion
Change-Id: I93f98f50443ab3b2fb0ce9f3126b03c8a3281ad2
Diffstat (limited to 'cui/source/factory/dlgfact.cxx')
-rw-r--r--cui/source/factory/dlgfact.cxx13
1 files changed, 3 insertions, 10 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 )