summaryrefslogtreecommitdiff
path: root/cui/source/inc/numpages.hxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-06-29 20:00:16 +0200
committerEike Rathke <erack@redhat.com>2012-06-29 20:07:18 +0200
commit88a083f8be05449630c9e2af30474281fd0d8af2 (patch)
tree6380cd0573fd08cf0f53b043d99ac292b3647911 /cui/source/inc/numpages.hxx
parente5d61932cb6c92954d808cf8d65a460ea19d5799 (diff)
fdo#42558 consolidated duplicated code
* Moved almost identical code of SvxNumOptionsTabPage::SvxNumOptionsTabPage() and SvxPageDescPage::SvxPageDescPage() into static SvxNumOptionsTabPage::GetI18nNumbering() * Removed now unnecessary includes and using namespace directives Change-Id: I7babe68f2bb8af4fd227cbe558c34c7f85104a15
Diffstat (limited to 'cui/source/inc/numpages.hxx')
-rw-r--r--cui/source/inc/numpages.hxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/cui/source/inc/numpages.hxx b/cui/source/inc/numpages.hxx
index 5be85fbd70b4..cc89339482b1 100644
--- a/cui/source/inc/numpages.hxx
+++ b/cui/source/inc/numpages.hxx
@@ -346,6 +346,19 @@ class SvxNumOptionsTabPage : public SfxTabPage
ListBox& GetCharFmtListBox() {return aCharFmtLB;}
void SetModified(sal_Bool bRepaint = sal_True);
virtual void PageCreated(SfxAllItemSet aSet);
+
+ /** Get the numberings provided by the i18n framework (CTL, Asian, ...) and
+ add them to the listbox. Extended numbering schemes present in the
+ resource and already in the listbox but not offered by the i18n
+ framework per configuration are removed.
+
+ @param nDoNotRemove
+ A value that shall not be removed, i.e. the ugly 0x88
+ (SVX_NUM_BITMAP|0x80)
+ Pass ::std::numeric_limits<sal_uInt16>::max() if there is no such
+ restriction.
+ */
+ static void GetI18nNumbering( ListBox& rFmtLB, sal_uInt16 nDoNotRemove );
};
//------------------------------------------------