summaryrefslogtreecommitdiffstats
path: root/sfx2
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-04-01 10:37:06 +0300
committerLuboš Luňák <l.lunak@suse.cz>2013-04-02 16:31:50 +0000
commitf019eea0f50a997000088482cd564352bf67bab9 (patch)
tree24e3a07fd7614aa6bf82fa844ab492446c2a8d94 /sfx2
parentfdo#38838 : Replacement of String with OUString in core/chart2 (diff)
downloadcore-f019eea0f50a997000088482cd564352bf67bab9.tar.gz
core-f019eea0f50a997000088482cd564352bf67bab9.zip
SFX_VISIBILITY_PLUGCLIENT, SERVER and RECORDING are unused
Change-Id: I1fd581c8ca44cfb48184d8a17e6077707f038bd4 Reviewed-on: https://gerrit.libreoffice.org/3148 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/inc/sfx2/shell.hxx4
-rw-r--r--sfx2/source/appl/workwin.cxx2
2 files changed, 0 insertions, 6 deletions
diff --git a/sfx2/inc/sfx2/shell.hxx b/sfx2/inc/sfx2/shell.hxx
index 344294a33c04..cba6efaf8e36 100644
--- a/sfx2/inc/sfx2/shell.hxx
+++ b/sfx2/inc/sfx2/shell.hxx
@@ -336,11 +336,7 @@ inline void SfxShell::SetPool
#define SFX_POSITION_MASK 0x000F
#define SFX_VISIBILITY_MASK 0xFFF0
#define SFX_VISIBILITY_UNVISIBLE 0x0000 // Never visible
-#define SFX_VISIBILITY_PLUGSERVER 0x0010
-#define SFX_VISIBILITY_PLUGCLIENT 0x0020
#define SFX_VISIBILITY_VIEWER 0x0040
- // One is still free!
-#define SFX_VISIBILITY_RECORDING 0x0200
#define SFX_VISIBILITY_READONLYDOC 0x0400
#define SFX_VISIBILITY_DESKTOP 0x0800
#define SFX_VISIBILITY_STANDARD 0x1000
diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx
index cce1d39d2ddc..410810257777 100644
--- a/sfx2/source/appl/workwin.cxx
+++ b/sfx2/source/appl/workwin.cxx
@@ -1225,8 +1225,6 @@ sal_Bool SfxWorkWindow::IsVisible_Impl( sal_uInt16 nMode ) const
return sal_True;
case SFX_VISIBILITY_UNVISIBLE:
return sal_False;
- case SFX_VISIBILITY_PLUGSERVER:
- case SFX_VISIBILITY_PLUGCLIENT:
case SFX_VISIBILITY_CLIENT:
case SFX_VISIBILITY_SERVER:
return !!(nMode & nUpdateMode);