summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-20 12:57:20 +0200
committerNoel Grandin <noel@peralex.com>2015-04-22 10:28:40 +0200
commit9905f055e2fac36c60f5d11872c636f995521c20 (patch)
treed83dfc9e97d4ec20eb6a4494dabc0f8465b90149 /sw
parent321d924f157ffbe05b9a9286ac7cb9d5f6bfe45c (diff)
convert SFX_TOOLBOX_ constants to scoped enum
and move them to a more logical header Change-Id: I56956969d3067d66ccdadd53cd5630409de16cd8
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/utlui/navipi.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/utlui/navipi.cxx b/sw/source/uibase/utlui/navipi.cxx
index c89a0628ade0..2d7c6c7903da 100644
--- a/sw/source/uibase/utlui/navipi.cxx
+++ b/sw/source/uibase/utlui/navipi.cxx
@@ -803,8 +803,8 @@ SwNavigationPI::SwNavigationPI( SfxBindings* _pBindings,
if ( pCreateView )
StartListening(*pCreateView);
SfxImageManager* pImgMan = SfxImageManager::GetImageManager(*SW_MOD());
- pImgMan->RegisterToolBox(&aContentToolBox, SFX_TOOLBOX_CHANGEOUTSTYLE);
- pImgMan->RegisterToolBox(&aGlobalToolBox, SFX_TOOLBOX_CHANGEOUTSTYLE);
+ pImgMan->RegisterToolBox(&aContentToolBox, SfxToolboxFlags::CHANGEOUTSTYLE);
+ pImgMan->RegisterToolBox(&aGlobalToolBox, SfxToolboxFlags::CHANGEOUTSTYLE);
aContentToolBox.SetItemBits( FN_CREATE_NAVIGATION, aContentToolBox.GetItemBits( FN_CREATE_NAVIGATION ) | ToolBoxItemBits::DROPDOWNONLY );
aContentToolBox.SetItemBits( FN_DROP_REGION, aContentToolBox.GetItemBits( FN_DROP_REGION ) | ToolBoxItemBits::DROPDOWNONLY );