diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2014-03-02 15:12:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-03 09:32:48 -0600 |
commit | 7a5f564a799b8654b81454005f4887c6dc774ef0 (patch) | |
tree | 623b8ac8b9ee10b4c558328c3d2c975ecd7c5c73 /svx/source/dialog | |
parent | set MDDS_CFLAGS in configure (diff) | |
download | core-7a5f564a799b8654b81454005f4887c6dc774ef0.tar.gz core-7a5f564a799b8654b81454005f4887c6dc774ef0.zip |
SVX : Remove usage of DBG_CTOR and DBG_DTOR.
Valgrind is capable of detecting such bugs. No need for extra macros.
Change-Id: I9f2ab3703feb5c49a831da124e161f98cb1bb3ab
Reviewed-on: https://gerrit.libreoffice.org/8419
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/dialog')
-rw-r--r-- | svx/source/dialog/ctredlin.cxx | 5 | ||||
-rw-r--r-- | svx/source/dialog/fontlb.cxx | 7 |
2 files changed, 0 insertions, 12 deletions
diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx index 99a7f809d91a..2e3e73471fbf 100644 --- a/svx/source/dialog/ctredlin.cxx +++ b/svx/source/dialog/ctredlin.cxx @@ -75,13 +75,11 @@ SvxRedlinEntry::~SvxRedlinEntry() // Functions in the inserts Items of SvxRedlinTable -DBG_NAME(SvLBoxColorString); SvLBoxColorString::SvLBoxColorString(SvTreeListEntry*pEntry, sal_uInt16 nFlags, const OUString& rStr, const Color& rCol) : SvLBoxString(pEntry, nFlags, rStr) { - DBG_CTOR(SvLBoxColorString,0); aPrivColor=rCol; SetText( rStr ); } @@ -89,17 +87,14 @@ SvLBoxColorString::SvLBoxColorString(SvTreeListEntry*pEntry, sal_uInt16 nFlags, SvLBoxColorString::SvLBoxColorString() : SvLBoxString() { - DBG_CTOR(SvLBoxColorString,0); } SvLBoxColorString::~SvLBoxColorString() { - DBG_DTOR(SvLBoxColorString,0); } SvLBoxItem* SvLBoxColorString::Create() const { - DBG_CHKTHIS(SvLBoxColorString,0); return new SvLBoxColorString; } diff --git a/svx/source/dialog/fontlb.cxx b/svx/source/dialog/fontlb.cxx index add7dfbd5ce8..7449551b24a9 100644 --- a/svx/source/dialog/fontlb.cxx +++ b/svx/source/dialog/fontlb.cxx @@ -26,12 +26,10 @@ -DBG_NAME( SvLBoxFontString ); SvLBoxFontString::SvLBoxFontString() : SvLBoxString() { - DBG_CTOR( SvLBoxFontString, 0 ); } SvLBoxFontString::SvLBoxFontString( @@ -41,7 +39,6 @@ SvLBoxFontString::SvLBoxFontString( maFont( rFont ), mbUseColor( pColor != NULL ) { - DBG_CTOR( SvLBoxFontString, 0 ); SetText( rString ); if( pColor ) maFont.SetColor( *pColor ); @@ -49,20 +46,17 @@ SvLBoxFontString::SvLBoxFontString( SvLBoxFontString::~SvLBoxFontString() { - DBG_DTOR( SvLBoxFontString, 0 ); } SvLBoxItem* SvLBoxFontString::Create() const { - DBG_CHKTHIS( SvLBoxFontString, 0 ); return new SvLBoxFontString; } void SvLBoxFontString::Paint( const Point& rPos, SvTreeListBox& rDev, const SvViewDataEntry* pView, const SvTreeListEntry* pEntry) { - DBG_CHKTHIS( SvLBoxFontString, 0 ); Font aOldFont( rDev.GetFont() ); Font aNewFont( maFont ); bool bSel = pView->IsSelected(); @@ -79,7 +73,6 @@ void SvLBoxFontString::Paint( void SvLBoxFontString::InitViewData( SvTreeListBox* pView, SvTreeListEntry* pEntry, SvViewDataItem* pViewData ) { - DBG_CHKTHIS( SvLBoxFontString, 0 ); Font aOldFont( pView->GetFont() ); pView->Control::SetFont( maFont ); SvLBoxString::InitViewData( pView, pEntry, pViewData); |