[Libreoffice-commits] core.git: Branch 'private/tbsdy/outdev' - include/vcl vcl/source
Chris Sherlock
chris.sherlock79 at gmail.com
Thu Apr 24 22:42:14 PDT 2014
include/vcl/outdev.hxx | 3 ---
vcl/source/outdev/outdev.cxx | 17 -----------------
2 files changed, 20 deletions(-)
New commits:
commit 0d570aeeb25cabfd7396458aa6eb8f8129abd905
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date: Fri Apr 25 15:41:25 2014 +1000
VCL: Remove unused and deprecated debug check function
Change-Id: I3fcf630b8a0ef5be0d98ddc11a746e07885bae53
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 82f6df2..da3b4b3 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 77265fb..b141ea5 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;
More information about the Libreoffice-commits
mailing list