Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


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


Context


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.