[Libreoffice-commits] core.git: filter/source framework/inc sw/source vcl/osx

Noel Grandin noel at peralex.com
Wed Jul 22 02:52:33 PDT 2015


 filter/source/graphicfilter/icgm/cgm.hxx |    1 -
 framework/inc/properties.h               |    1 -
 sw/source/uibase/inc/num.hxx             |    4 ----
 vcl/osx/salnativewidgets.cxx             |    9 ---------
 4 files changed, 15 deletions(-)

New commits:
commit 01854d2d824c13be184e2e183bd4d0025315ef81
Author: Noel Grandin <noel at peralex.com>
Date:   Wed Jul 22 10:27:09 2015 +0200

    remove some unused constants
    
    Change-Id: I8742db77a0cfd99257584d830162c1c7126da263
    Reviewed-on: https://gerrit.libreoffice.org/17283
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/filter/source/graphicfilter/icgm/cgm.hxx b/filter/source/graphicfilter/icgm/cgm.hxx
index f190365..1d941b4 100644
--- a/filter/source/graphicfilter/icgm/cgm.hxx
+++ b/filter/source/graphicfilter/icgm/cgm.hxx
@@ -24,7 +24,6 @@
 
 #define CGM_IMPORT_CGM      0x00000001
 #define CGM_EXPORT_IMPRESS  0x00000100
-#define CGM_EXPORT_META     0x00000200
 
 #include <rtl/ustring.hxx>
 #include <vector>
diff --git a/framework/inc/properties.h b/framework/inc/properties.h
index 15a162d..5acc4b0 100644
--- a/framework/inc/properties.h
+++ b/framework/inc/properties.h
@@ -102,7 +102,6 @@ namespace framework{
 #define PATHSETTINGS_PROPNAME_ASCII_USERDICTIONARY      "UserDictionary"
 #define PATHSETTINGS_PROPNAME_ASCII_WORK                "Work"
 
-#define PATHSETTINGS_PROPCOUNT                          24
 
 /** properties for "LayoutManager" class */
 
diff --git a/sw/source/uibase/inc/num.hxx b/sw/source/uibase/inc/num.hxx
index 1b712e3..c4fa047 100644
--- a/sw/source/uibase/inc/num.hxx
+++ b/sw/source/uibase/inc/num.hxx
@@ -42,10 +42,6 @@ struct SwBmpItemInfo
     sal_uInt16          nItemId;
 };
 
-#define NUM_PAGETYPE_BULLET         0
-#define NUM_PAGETYPE_SINGLENUM      1
-#define NUM_PAGETYPE_NUM            2
-#define NUM_PAGETYPE_BMP            3
 
 class SwNumPositionTabPage : public SfxTabPage
 {
diff --git a/vcl/osx/salnativewidgets.cxx b/vcl/osx/salnativewidgets.cxx
index e69847f..c1734b2 100644
--- a/vcl/osx/salnativewidgets.cxx
+++ b/vcl/osx/salnativewidgets.cxx
@@ -321,15 +321,6 @@ bool AquaSalGraphics::hitTestNativeControl( ControlType nType, ControlPart nPart
    kThemeStateUnavailableInactive = 8
    kThemeStatePressedUp = 2,
    kThemeStatePressedDown = 3
-
-#define ControlState::ENABLED      0x0001
-#define ControlState::FOCUSED      0x0002
-#define ControlState::PRESSED      0x0004
-#define ControlState::ROLLOVER     0x0008
-#define ControlState::HIDDEN       0x0010
-#define ControlState::DEFAULT      0x0020
-#define ControlState::SELECTED     0x0040
-#define CTRL_CACHING_ALLOWED    0x8000  // set when the control is completely visible (i.e. not clipped)
 */
 UInt32 AquaSalGraphics::getState( ControlState nState )
 {


More information about the Libreoffice-commits mailing list