diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-01-01 20:30:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-01-07 16:17:51 +0000 |
commit | 9394499a9b814e387fd7c9f937adb497a9e94560 (patch) | |
tree | 4405cba84e962507d2a30a2633f888c83f858ac0 /svx | |
parent | 6eb461ed4861a735663c5ca7f7e6423b3a076a5b (diff) |
split out pick bullet page to cui and adapt code
Change-Id: I6fa93885f1ce51fb0e3d69265784340614146636
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svx/numvset.hxx | 8 | ||||
-rw-r--r-- | svx/source/dialog/svxbmpnumvalueset.cxx | 10 |
2 files changed, 14 insertions, 4 deletions
diff --git a/svx/inc/svx/numvset.hxx b/svx/inc/svx/numvset.hxx index ce392797ff0e..a0608b05f568 100644 --- a/svx/inc/svx/numvset.hxx +++ b/svx/inc/svx/numvset.hxx @@ -65,11 +65,11 @@ class SVX_DLLPUBLIC SvxNumValueSet : public ValueSet com::sun::star::uno::Reference< com::sun::star::container::XIndexAccess> > aOutlineSettings; - void init(sal_uInt16 nType); - public: - SvxNumValueSet( Window* pParent, const ResId& rResId, sal_uInt16 nType ); - ~SvxNumValueSet(); + SvxNumValueSet( Window* pParent, const ResId& rResId, sal_uInt16 nType ); + SvxNumValueSet(Window* pParent, WinBits nWinBits = WB_TABSTOP); + void init(sal_uInt16 nType); + ~SvxNumValueSet(); virtual void UserDraw( const UserDrawEvent& rUDEvt ); diff --git a/svx/source/dialog/svxbmpnumvalueset.cxx b/svx/source/dialog/svxbmpnumvalueset.cxx index d521773d55e6..9fbdbd1b740a 100644 --- a/svx/source/dialog/svxbmpnumvalueset.cxx +++ b/svx/source/dialog/svxbmpnumvalueset.cxx @@ -399,6 +399,16 @@ SvxNumValueSet::SvxNumValueSet( Window* pParent, const ResId& rResId, sal_uInt16 init(nType); } +SvxNumValueSet::SvxNumValueSet(Window* pParent, WinBits nWinBits) + : ValueSet(pParent, nWinBits) +{ +} + +extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeSvxNumValueSet(Window *pParent, VclBuilder::stringmap &) +{ + return new SvxNumValueSet(pParent, WB_TABSTOP); +} + void SvxNumValueSet::init(sal_uInt16 nType) { aLineColor = COL_LIGHTGRAY; |