diff options
author | Arnaud Versini <arnaud.versini@libreoffice.org> | 2013-11-24 19:54:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-12-04 04:50:21 -0600 |
commit | c0125d64cbf8adcf070d0bf715e98e57fbeecf8c (patch) | |
tree | 2835405c3907029f39c2d27e14b81def32a5cfa3 /vcl/source/window/toolbox.cxx | |
parent | 35c1d6f7617087c18b94e03ec9281c995e6d9e55 (diff) |
VCL : Remove usage of DBG_CTOR and DBG_DTOR.
Valgrind is capable of detecting such bugs. No need for extra macros.
Change-Id: I6a785b42be72736560ec69f1a7949f2f0b9414a3
Reviewed-on: https://gerrit.libreoffice.org/6805
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/window/toolbox.cxx')
-rw-r--r-- | vcl/source/window/toolbox.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx index 4d555a387df9..b59d14336d36 100644 --- a/vcl/source/window/toolbox.cxx +++ b/vcl/source/window/toolbox.cxx @@ -50,7 +50,6 @@ // ======================================================================= -DBG_NAMEEX( Window ) // ======================================================================= @@ -1730,7 +1729,6 @@ static void ImplAddButtonBorder( long &rWidth, long& rHeight, sal_Bool bNativeBu sal_Bool ToolBox::ImplCalcItem() { - DBG_CHKTHIS( Window, ImplDbgCheckWindow ); // recalc required ? if ( !mbCalc ) @@ -2265,7 +2263,6 @@ static void lcl_hideDoubleSeparators( std::vector< ImplToolItem >& rItems ) void ToolBox::ImplFormat( sal_Bool bResize ) { - DBG_CHKTHIS( Window, ImplDbgCheckWindow ); // Has to re-formatted if ( !mbFormat ) @@ -2755,7 +2752,6 @@ IMPL_LINK_NOARG(ToolBox, ImplDropdownLongClickHdl) IMPL_LINK_NOARG(ToolBox, ImplUpdateHdl) { - DBG_CHKTHIS( Window, ImplDbgCheckWindow ); if( mbFormat ) ImplFormat(); @@ -2919,7 +2915,6 @@ void ToolBox::ImplDrawMenubutton( ToolBox *pThis, sal_Bool bHighlight ) void ToolBox::ImplDrawSpin( sal_Bool bUpperIn, sal_Bool bLowerIn ) { - DBG_CHKTHIS( Window, ImplDbgCheckWindow ); sal_Bool bTmpUpper; sal_Bool bTmpLower; @@ -3026,7 +3021,6 @@ static void ImplDrawButton( ToolBox* pThis, const Rectangle &rRect, sal_uInt16 h void ToolBox::ImplDrawItem( sal_uInt16 nPos, sal_uInt16 nHighlight, sal_Bool bPaint, sal_Bool bLayout ) { - DBG_CHKTHIS( Window, ImplDbgCheckWindow ); if( nPos >= mpData->m_aItems.size() ) return; @@ -3392,7 +3386,6 @@ void ToolBox::ImplDrawFloatwinBorder( ImplToolItem* pItem ) void ToolBox::ImplFloatControl( sal_Bool bStart, FloatingWindow* pFloatWindow ) { - DBG_CHKTHIS( Window, ImplDbgCheckWindow ); if ( bStart ) { @@ -3433,7 +3426,6 @@ void ToolBox::ImplFloatControl( sal_Bool bStart, FloatingWindow* pFloatWindow ) void ToolBox::ShowLine( sal_Bool bNext ) { - DBG_CHKTHIS( Window, ImplDbgCheckWindow ); mbFormat = sal_True; @@ -3602,7 +3594,6 @@ sal_Bool ToolBox::ImplHandleMouseButtonUp( const MouseEvent& rMEvt, sal_Bool bCa } { - DBG_CHKTHIS( Window, ImplDbgCheckWindow ); } // Items not destroyed, in Select handler |