summaryrefslogtreecommitdiff
path: root/svx/source/form/tbxform.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-18 20:16:11 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-10-20 07:16:46 +0000
commit67c9d054517fc3b5cbc203c330eedef4b50f0e57 (patch)
tree1fad773f770e4ee4265bb05ba77d7f3084aedd3b /svx/source/form/tbxform.cxx
parent8091cf383a122f2348d6e25df90fc26579fe6ef7 (diff)
fdo#84938: replace TIB_ constants with enum
Change-Id: I435ce2331fb49e7ce9fe97bdfddfaef706759a84 Reviewed-on: https://gerrit.libreoffice.org/12023 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx/source/form/tbxform.cxx')
-rw-r--r--svx/source/form/tbxform.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/form/tbxform.cxx b/svx/source/form/tbxform.cxx
index 6c7714e4083d..06ce8aa30902 100644
--- a/svx/source/form/tbxform.cxx
+++ b/svx/source/form/tbxform.cxx
@@ -147,7 +147,7 @@ SvxFmTbxCtlConfig::SvxFmTbxCtlConfig( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBo
: SfxToolBoxControl( nSlotId, nId, rTbx )
,nLastSlot( 0 )
{
- rTbx.SetItemBits( nId, TIB_DROPDOWN | rTbx.GetItemBits( nId ) );
+ rTbx.SetItemBits( nId, ToolBoxItemBits::DROPDOWN | rTbx.GetItemBits( nId ) );
}
@@ -387,7 +387,7 @@ SFX_IMPL_TOOLBOX_CONTROL( SvxFmTbxNextRec, SfxBoolItem );
SvxFmTbxNextRec::SvxFmTbxNextRec( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx )
:SfxToolBoxControl( nSlotId, nId, rTbx )
{
- rTbx.SetItemBits(nId, rTbx.GetItemBits(nId) | TIB_REPEAT);
+ rTbx.SetItemBits(nId, rTbx.GetItemBits(nId) | ToolBoxItemBits::REPEAT);
AllSettings aSettings = rTbx.GetSettings();
MouseSettings aMouseSettings = aSettings.GetMouseSettings();
@@ -402,7 +402,7 @@ SFX_IMPL_TOOLBOX_CONTROL( SvxFmTbxPrevRec, SfxBoolItem );
SvxFmTbxPrevRec::SvxFmTbxPrevRec( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx )
:SfxToolBoxControl( nSlotId, nId, rTbx )
{
- rTbx.SetItemBits(nId, rTbx.GetItemBits(nId) | TIB_REPEAT);
+ rTbx.SetItemBits(nId, rTbx.GetItemBits(nId) | ToolBoxItemBits::REPEAT);
}