From 01854d2d824c13be184e2e183bd4d0025315ef81 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 22 Jul 2015 10:27:09 +0200 Subject: remove some unused constants Change-Id: I8742db77a0cfd99257584d830162c1c7126da263 Reviewed-on: https://gerrit.libreoffice.org/17283 Tested-by: Jenkins Reviewed-by: Noel Grandin --- 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(-) diff --git a/filter/source/graphicfilter/icgm/cgm.hxx b/filter/source/graphicfilter/icgm/cgm.hxx index f19036541808..1d941b4a8a09 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 #include diff --git a/framework/inc/properties.h b/framework/inc/properties.h index 15a162de61fb..5acc4b0c0925 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 1b712e3cc50e..c4fa047b9440 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 e69847fee682..c1734b218670 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 ) { -- cgit