Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/3148
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/48/3148/1
SFX_VISIBILITY_PLUGCLIENT, SERVER and RECORDING are unused
Change-Id: I1fd581c8ca44cfb48184d8a17e6077707f038bd4
---
M sfx2/inc/sfx2/shell.hxx
M sfx2/source/appl/workwin.cxx
2 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/sfx2/inc/sfx2/shell.hxx b/sfx2/inc/sfx2/shell.hxx
index 344294a..cba6efa 100644
--- a/sfx2/inc/sfx2/shell.hxx
+++ b/sfx2/inc/sfx2/shell.hxx
@@ -336,11 +336,7 @@
#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 0a379df..6672302 100644
--- a/sfx2/source/appl/workwin.cxx
+++ b/sfx2/source/appl/workwin.cxx
@@ -1207,8 +1207,6 @@
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);
--
To view, visit https://gerrit.libreoffice.org/3148
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1fd581c8ca44cfb48184d8a17e6077707f038bd4
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Tor Lillqvist <tml@iki.fi>
Context
- [PATCH] SFX_VISIBILITY_PLUGCLIENT, SERVER and RECORDING are unused · Tor Lillqvist (via Code Review)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.