summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-07-02 17:45:34 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-07-02 17:46:25 +0200
commit278000a28b8eceb8528ebdcf1d601de8192979e8 (patch)
treea522e5b53bca5d3e34c8a86d7bbee25a1ad15b3a /vcl
parent892bb81d17b3351c196661c44fb15b29509c7115 (diff)
Remove unused defines
Some of them were commented out for documentation purpose. Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
Diffstat (limited to 'vcl')
-rw-r--r--vcl/generic/glyphs/gcach_layout.cxx2
-rw-r--r--vcl/inc/vcl/cmdevt.hxx1
-rw-r--r--vcl/inc/vcl/event.hxx1
-rw-r--r--vcl/inc/vcl/spin.h7
-rw-r--r--vcl/inc/vcl/syswin.hxx1
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx1
6 files changed, 0 insertions, 13 deletions
diff --git a/vcl/generic/glyphs/gcach_layout.cxx b/vcl/generic/glyphs/gcach_layout.cxx
index 2e41c70a6a1b..fa51e620ec22 100644
--- a/vcl/generic/glyphs/gcach_layout.cxx
+++ b/vcl/generic/glyphs/gcach_layout.cxx
@@ -159,8 +159,6 @@ bool ServerFontLayoutEngine::operator()( ServerFontLayout& rLayout, ImplLayoutAr
#ifdef ENABLE_ICU_LAYOUT
-#define bool_t signed char
-
// disable warnings in icu layout headers
#if defined __SUNPRO_CC
#pragma disable_warn
diff --git a/vcl/inc/vcl/cmdevt.hxx b/vcl/inc/vcl/cmdevt.hxx
index 33190d43f989..2c1ab85503d0 100644
--- a/vcl/inc/vcl/cmdevt.hxx
+++ b/vcl/inc/vcl/cmdevt.hxx
@@ -403,7 +403,6 @@ inline CommandSelectionChangeData::CommandSelectionChangeData( sal_uLong nStart,
#define COMMAND_MEDIA ((sal_uInt16)17)
#define COMMAND_SELECTIONCHANGE ((sal_uInt16)18)
#define COMMAND_PREPARERECONVERSION ((sal_uInt16)19)
-#define COMMAND_USER ((sal_uInt16)4096)
class VCL_DLLPUBLIC CommandEvent
{
diff --git a/vcl/inc/vcl/event.hxx b/vcl/inc/vcl/event.hxx
index 13f4784284e0..0850024cdceb 100644
--- a/vcl/inc/vcl/event.hxx
+++ b/vcl/inc/vcl/event.hxx
@@ -341,7 +341,6 @@ inline TrackingEvent::TrackingEvent( const MouseEvent& rMEvt,
#define EVENT_INPUTDISABLE 11
#define EVENT_EXECUTEDIALOG 100
#define EVENT_ENDEXECUTEDIALOG 101
-#define EVENT_USER 10000
class VCL_DLLPUBLIC NotifyEvent
{
diff --git a/vcl/inc/vcl/spin.h b/vcl/inc/vcl/spin.h
index 1579d1f1d5b5..0760b94ee2a5 100644
--- a/vcl/inc/vcl/spin.h
+++ b/vcl/inc/vcl/spin.h
@@ -25,13 +25,6 @@
class Rectangle;
class OutputDevice;
-// -----------------------------------------------------------------------
-
-#define SPIN_DELAY 280
-#define SPIN_SPEED 60
-
-// -----------------------------------------------------------------------
-
void ImplDrawSpinButton( OutputDevice* pOutDev,
const Rectangle& rUpperRect,
const Rectangle& rLowerRect,
diff --git a/vcl/inc/vcl/syswin.hxx b/vcl/inc/vcl/syswin.hxx
index c61b970328b7..df77041c7ffa 100644
--- a/vcl/inc/vcl/syswin.hxx
+++ b/vcl/inc/vcl/syswin.hxx
@@ -55,7 +55,6 @@ class TaskPaneList;
#define ICON_DATABASE_DOCUMENT 12
#define ICON_MATH_DOCUMENT 13
#define ICON_MACROLIBRARY 1
-#define ICON_PLAYER 100
#define ICON_SETUP 500
// -------------------
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 6d73e91356b2..7dbf5706272b 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -7950,7 +7950,6 @@ void PDFWriterImpl::drawLine( const Point& rStart, const Point& rStop, const Lin
}
}
-#define WCONV( x ) m_pReferenceDevice->ImplDevicePixelToLogicWidth( x )
#define HCONV( x ) m_pReferenceDevice->ImplDevicePixelToLogicHeight( x )
void PDFWriterImpl::drawWaveTextLine( OStringBuffer& aLine, long nWidth, FontUnderline eTextLine, Color aColor, bool bIsAbove )