[PATCH] SFX_VISIBILITY_PLUGCLIENT, SERVER and RECORDING are unused

Tor Lillqvist (via Code Review) gerrit at gerrit.libreoffice.org
Mon Apr 1 00:40:44 PDT 2013


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 at iki.fi>



More information about the LibreOffice mailing list