summaryrefslogtreecommitdiff
path: root/reportdesign/source/core/sdr/RptPage.cxx
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@gmail.com>2014-01-19 16:38:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-01-21 16:24:38 +0000
commitd3410004066070df4cf1944e241e29cd88f1eef3 (patch)
treececd34e93a3069b41491681ba16a2252f3b6b287 /reportdesign/source/core/sdr/RptPage.cxx
parent5b2ba8ed5d6406492205b08ef25fe640253f66a1 (diff)
REPORTDESIGN : Remove usage of DBG_CTOR and DBG_DTOR.
Valgrind is capable of detecting such bugs. No need for extra macros. Change-Id: I9cb8af9dad93a7ee7114489b13e3994515357a10 Reviewed-on: https://gerrit.libreoffice.org/7533 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'reportdesign/source/core/sdr/RptPage.cxx')
-rw-r--r--reportdesign/source/core/sdr/RptPage.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/reportdesign/source/core/sdr/RptPage.cxx b/reportdesign/source/core/sdr/RptPage.cxx
index 6b843584f9e5..f20360611eab 100644
--- a/reportdesign/source/core/sdr/RptPage.cxx
+++ b/reportdesign/source/core/sdr/RptPage.cxx
@@ -30,7 +30,6 @@ using namespace ::com::sun::star;
TYPEINIT1( OReportPage, SdrPage );
//----------------------------------------------------------------------------
-DBG_NAME( rpt_OReportPage )
OReportPage::OReportPage( OReportModel& _rModel
,const uno::Reference< report::XSection >& _xSection
,bool bMasterPage )
@@ -39,7 +38,6 @@ OReportPage::OReportPage( OReportModel& _rModel
,m_xSection(_xSection)
,m_bSpecialInsertMode(false)
{
- DBG_CTOR( rpt_OReportPage,NULL);
}
//----------------------------------------------------------------------------
@@ -51,28 +49,24 @@ OReportPage::OReportPage( const OReportPage& rPage )
,m_bSpecialInsertMode(rPage.m_bSpecialInsertMode)
,m_aTemporaryObjectList(rPage.m_aTemporaryObjectList)
{
- DBG_CTOR( rpt_OReportPage,NULL);
}
//----------------------------------------------------------------------------
OReportPage::~OReportPage()
{
- DBG_DTOR( rpt_OReportPage,NULL);
}
//----------------------------------------------------------------------------
SdrPage* OReportPage::Clone() const
{
- DBG_CHKTHIS( rpt_OReportPage,NULL);
return new OReportPage( *this );
}
//----------------------------------------------------------------------------
sal_uLong OReportPage::getIndexOf(const uno::Reference< report::XReportComponent >& _xObject)
{
- DBG_CHKTHIS( rpt_OReportPage,NULL);
sal_uLong nCount = GetObjCount();
sal_uLong i = 0;
for (; i < nCount; ++i)
@@ -89,7 +83,6 @@ sal_uLong OReportPage::getIndexOf(const uno::Reference< report::XReportComponent
//----------------------------------------------------------------------------
void OReportPage::removeSdrObject(const uno::Reference< report::XReportComponent >& _xObject)
{
- DBG_CHKTHIS( rpt_OReportPage,NULL);
sal_uLong nPos = getIndexOf(_xObject);
if ( nPos < GetObjCount() )
{
@@ -125,7 +118,6 @@ SdrObject* OReportPage::RemoveObject(sal_uLong nObjNum)
//----------------------------------------------------------------------------
void OReportPage::insertObject(const uno::Reference< report::XReportComponent >& _xObject)
{
- DBG_CHKTHIS( rpt_OReportPage,NULL);
OSL_ENSURE(_xObject.is(),"Object is not valid to create a SdrObject!");
if ( !_xObject.is() )
return;