summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-05-13 08:51:05 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-05-13 08:51:39 +0900
commite3bc45b8079228ca25e70ac5a51b6977afd6f61e (patch)
tree0853b3b24a0b7b4f99d79a03c86d8645dc5b8284 /vcl
parent5c379de9589ab819da852768a9663455dbb4a835 (diff)
removed unused defines
Change-Id: Ida50737f540459bd0e709c49414c3a7f4d042a47
Diffstat (limited to 'vcl')
-rw-r--r--vcl/headless/svpframe.cxx3
-rw-r--r--vcl/source/components/rasterizer_rsvg.cxx2
-rw-r--r--vcl/source/control/ilstbox.cxx4
-rw-r--r--vcl/unx/generic/gdi/salbmp.cxx6
-rw-r--r--vcl/win/source/gdi/salgdi.cxx2
5 files changed, 0 insertions, 17 deletions
diff --git a/vcl/headless/svpframe.cxx b/vcl/headless/svpframe.cxx
index fcaed35df461..63f4a49ac978 100644
--- a/vcl/headless/svpframe.cxx
+++ b/vcl/headless/svpframe.cxx
@@ -315,9 +315,6 @@ SalFrame* SvpSalFrame::GetParent() const
#define _FRAMESTATE_MASK_GEOMETRY \
(SAL_FRAMESTATE_MASK_X | SAL_FRAMESTATE_MASK_Y | \
SAL_FRAMESTATE_MASK_WIDTH | SAL_FRAMESTATE_MASK_HEIGHT)
-#define _FRAMESTATE_MASK_MAXIMIZED_GEOMETRY \
- (SAL_FRAMESTATE_MASK_MAXIMIZED_X | SAL_FRAMESTATE_MASK_MAXIMIZED_Y | \
- SAL_FRAMESTATE_MASK_MAXIMIZED_WIDTH | SAL_FRAMESTATE_MASK_MAXIMIZED_HEIGHT)
void SvpSalFrame::SetWindowState( const SalFrameState *pState )
{
diff --git a/vcl/source/components/rasterizer_rsvg.cxx b/vcl/source/components/rasterizer_rsvg.cxx
index 20d4598a599b..00940c264158 100644
--- a/vcl/source/components/rasterizer_rsvg.cxx
+++ b/vcl/source/components/rasterizer_rsvg.cxx
@@ -54,8 +54,6 @@
#define VCL_RSVG_LIBRSVG_LIBNAME "nolibrsvglib"
#endif
-#define VCL_RSVG_DEFAULT_DPI 72
-
using namespace ::com::sun::star;
// -----------------------------------------------------
diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx
index ee6aa79245f7..6c502be33bc2 100644
--- a/vcl/source/control/ilstbox.cxx
+++ b/vcl/source/control/ilstbox.cxx
@@ -1426,10 +1426,6 @@ void ImplListBoxWindow::KeyInput( const KeyEvent& rKEvt )
// -----------------------------------------------------------------------
-#define IMPL_SELECT_NODIRECTION 0
-#define IMPL_SELECT_UP 1
-#define IMPL_SELECT_DOWN 2
-
sal_Bool ImplListBoxWindow::ProcessKeyInput( const KeyEvent& rKEvt )
{
// zu selektierender Eintrag
diff --git a/vcl/unx/generic/gdi/salbmp.cxx b/vcl/unx/generic/gdi/salbmp.cxx
index e2f9e9743ffa..46f116939c48 100644
--- a/vcl/unx/generic/gdi/salbmp.cxx
+++ b/vcl/unx/generic/gdi/salbmp.cxx
@@ -57,12 +57,6 @@
#include <memcheck.h>
#endif
-// -----------
-// - Defines -
-// -----------
-
-#define SAL_DRAWPIXMAP_MAX_EXT 4096
-
// -------------
// - SalBitmap -
// -------------
diff --git a/vcl/win/source/gdi/salgdi.cxx b/vcl/win/source/gdi/salgdi.cxx
index 3e835229a74e..5eafa5288980 100644
--- a/vcl/win/source/gdi/salgdi.cxx
+++ b/vcl/win/source/gdi/salgdi.cxx
@@ -1604,8 +1604,6 @@ sal_Bool WinSalGraphics::drawPolyPolygonBezier( sal_uInt32 nPoly, const sal_uInt
// -----------------------------------------------------------------------
#define POSTSCRIPT_BUFSIZE 0x4000 // MAXIMUM BUFSIZE EQ 0xFFFF
-#define POSTSCRIPT_BOUNDINGSEARCH 0x1000 // we only try to get the BoundingBox
- // in the first 4096 bytes
static BYTE* ImplSearchEntry( BYTE* pSource, BYTE* pDest, sal_uLong nComp, sal_uLong nSize )
{