[PATCH] SFX_VISIBILITY_PLUGCLIENT and SERVER are unused

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


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3147

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/47/3147/1

SFX_VISIBILITY_PLUGCLIENT and SERVER are unused

Change-Id: I33926a960d1fba8f68737879a6e58ef38ad1ee62
---
M sfx2/inc/sfx2/shell.hxx
M sfx2/source/appl/workwin.cxx
2 files changed, 0 insertions(+), 4 deletions(-)



diff --git a/sfx2/inc/sfx2/shell.hxx b/sfx2/inc/sfx2/shell.hxx
index 344294a..68cbd28 100644
--- a/sfx2/inc/sfx2/shell.hxx
+++ b/sfx2/inc/sfx2/shell.hxx
@@ -336,8 +336,6 @@
 #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
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/3147
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I33926a960d1fba8f68737879a6e58ef38ad1ee62
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Tor Lillqvist <tml at iki.fi>



More information about the LibreOffice mailing list