[Libreoffice-commits] core.git: sfx2/inc sfx2/source

Tor Lillqvist tml at iki.fi
Tue Apr 2 09:32:11 PDT 2013


 sfx2/inc/sfx2/shell.hxx      |    4 ----
 sfx2/source/appl/workwin.cxx |    2 --
 2 files changed, 6 deletions(-)

New commits:
commit f019eea0f50a997000088482cd564352bf67bab9
Author: Tor Lillqvist <tml at iki.fi>
Date:   Mon Apr 1 10:37:06 2013 +0300

    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 at suse.cz>
    Tested-by: Luboš Luňák <l.lunak at suse.cz>

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 @@ 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 cce1d39..4108102 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);


More information about the Libreoffice-commits mailing list