summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-23 15:42:47 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2017-12-06 20:41:17 -0500
commit82577130d5a1e40396053e86fd0d7beb14170fbd (patch)
tree2aa9c170c2a4bbe4d37cdbe82b0969d4e7ad6e05 /starmath
parente14539d0ed367e377346cbc0247b4c3e3637c35e (diff)
convert SFX_VISIBILITY constants to scoped enum
* split the position and the flags information * remove unused DESKTOP constant Change-Id: Ibfccb44c7567e89d4527bfd36b3915a73682e6e2 (cherry picked from commit 5af0071d42e5962ed849261134ef0630c7ec3b45)
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/view.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index eed2c2495c08..5350c22331b5 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -873,7 +873,8 @@ SFX_IMPL_SUPERCLASS_INTERFACE(SmViewShell, SfxViewShell)
void SmViewShell::InitInterface_Impl()
{
- GetStaticInterface()->RegisterObjectBar(SFX_OBJECTBAR_TOOLS | SFX_VISIBILITY_STANDARD | SFX_VISIBILITY_FULLSCREEN | SFX_VISIBILITY_SERVER,
+ GetStaticInterface()->RegisterObjectBar(SFX_OBJECTBAR_TOOLS,
+ SfxVisibilityFlags::Standard | SfxVisibilityFlags::FullScreen | SfxVisibilityFlags::Server,
RID_MATH_TOOLBOX);
//Dummy-Objectbar, to avoid quiver while activating