summaryrefslogtreecommitdiff
path: root/basctl/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-23 15:44:53 +0200
committerNoel Grandin <noel@peralex.com>2015-03-24 09:36:59 +0200
commitfba2d764d88582951f00af8184d481a6647a8564 (patch)
tree8327accd603de32a0aa528b889d75c93c13f6960 /basctl/source
parentb2125ae811c2fc2233026e5218a03bc24210a5c1 (diff)
convert SfxPopupWindowType to enum class
Change-Id: I03813103d648c5745beab740403c7912cdff2756
Diffstat (limited to 'basctl/source')
-rw-r--r--basctl/source/basicide/tbxctl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/tbxctl.cxx b/basctl/source/basicide/tbxctl.cxx
index f2950b97ac9d..fac2961b8455 100644
--- a/basctl/source/basicide/tbxctl.cxx
+++ b/basctl/source/basicide/tbxctl.cxx
@@ -63,8 +63,8 @@ TbxControls::TbxControls( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ) :
SfxPopupWindowType TbxControls::GetPopupWindowType() const
{
if( nLastSlot == USHRT_MAX )
- return SFX_POPUPWINDOW_ONCLICK;
- return SFX_POPUPWINDOW_ONTIMEOUT;
+ return SfxPopupWindowType::ONCLICK;
+ return SfxPopupWindowType::ONTIMEOUT;
}
void TbxControls::StateChanged( sal_uInt16 nSID, SfxItemState eState,