summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-22 10:27:09 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-22 09:52:04 +0000
commit01854d2d824c13be184e2e183bd4d0025315ef81 (patch)
tree863e428eb7edfb7f7cab83009fab9024e1f2f95f
parenta60cc5d62a71fd96630739abd3aefaf145e955fd (diff)
remove some unused constants
Change-Id: I8742db77a0cfd99257584d830162c1c7126da263 Reviewed-on: https://gerrit.libreoffice.org/17283 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
-rw-r--r--filter/source/graphicfilter/icgm/cgm.hxx1
-rw-r--r--framework/inc/properties.h1
-rw-r--r--sw/source/uibase/inc/num.hxx4
-rw-r--r--vcl/osx/salnativewidgets.cxx9
4 files changed, 0 insertions, 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 <rtl/ustring.hxx>
#include <vector>
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 )
{