summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2014-04-25 15:41:25 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2014-04-25 23:34:09 +1000
commitef3b68886c2bf851ac4ff7511c0418ba8393ee29 (patch)
treea0b363e79e2060b6f1bea987ae6daab6ab5fef78
parent508337db0c53caa5fb43ef26f781df159497a482 (diff)
VCL: Remove unused and deprecated debug check function
Change-Id: I3fcf630b8a0ef5be0d98ddc11a746e07885bae53
-rw-r--r--include/vcl/outdev.hxx3
-rw-r--r--vcl/source/outdev/outdev.cxx17
2 files changed, 0 insertions, 20 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 82f6df21ada6..da3b4b39ca0a 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -265,8 +265,6 @@ class VCLXGraphics;
typedef ::std::vector< VCLXGraphics* > VCLXGraphicsList_impl;
-const char* ImplDbgCheckOutputDevice( const void* pObj );
-
sal_uLong AdjustTwoRect( SalTwoRect& rTwoRect, const Size& rSizePix );
void AdjustTwoRect( SalTwoRect& rTwoRect, const Rectangle& rValidSrcRect );
@@ -290,7 +288,6 @@ class VCL_DLLPUBLIC OutputDevice
friend class Window;
friend class WorkWindow;
friend class vcl::PDFWriterImpl;
- friend const char* ImplDbgCheckOutputDevice( const void* pObj );
friend void ImplHandleResize( Window* pWindow, long nNewWidth, long nNewHeight );
private:
diff --git a/vcl/source/outdev/outdev.cxx b/vcl/source/outdev/outdev.cxx
index 77265fb3402c..b141ea51593f 100644
--- a/vcl/source/outdev/outdev.cxx
+++ b/vcl/source/outdev/outdev.cxx
@@ -73,23 +73,6 @@ namespace {
}
#endif
-#ifdef DBG_UTIL
-const char* ImplDbgCheckOutputDevice( const void* pObj )
-{
- DBG_TESTSOLARMUTEX();
-
- const OutputDevice* pOutDev = (OutputDevice*)pObj;
-
- if ( (pOutDev->GetOutDevType() != OUTDEV_DONTKNOW) &&
- (pOutDev->GetOutDevType() != OUTDEV_WINDOW) &&
- (pOutDev->GetOutDevType() != OUTDEV_PRINTER) &&
- (pOutDev->GetOutDevType() != OUTDEV_VIRDEV) )
- return "OutputDevice data overwrite";
-
- return NULL;
-}
-#endif
-
struct ImplObjStack
{
ImplObjStack* mpPrev;