summaryrefslogtreecommitdiff
path: root/reportdesign/source/core/sdr/RptPage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign/source/core/sdr/RptPage.cxx')
-rw-r--r--reportdesign/source/core/sdr/RptPage.cxx30
1 files changed, 15 insertions, 15 deletions
diff --git a/reportdesign/source/core/sdr/RptPage.cxx b/reportdesign/source/core/sdr/RptPage.cxx
index 29f1109aeb6b..2cf804538961 100644
--- a/reportdesign/source/core/sdr/RptPage.cxx
+++ b/reportdesign/source/core/sdr/RptPage.cxx
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -47,7 +47,7 @@ OReportPage::OReportPage( OReportModel& _rModel
,m_xSection(_xSection)
,m_bSpecialInsertMode(false)
{
- DBG_CTOR( rpt_OReportPage,NULL);
+ DBG_CTOR( rpt_OReportPage,NULL);
}
//----------------------------------------------------------------------------
@@ -133,17 +133,17 @@ SdrObject* OReportPage::RemoveObject(ULONG nObjNum)
//----------------------------------------------------------------------------
//namespace
//{
-// ::rtl::OUString lcl_getControlName(const uno::Reference< lang::XServiceInfo >& _xServiceInfo)
-// {
-// if ( _xServiceInfo->supportsService( SERVICE_FIXEDTEXT ))
-// return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.form.component.FixedText"));
+// ::rtl::OUString lcl_getControlName(const uno::Reference< lang::XServiceInfo >& _xServiceInfo)
+// {
+// if ( _xServiceInfo->supportsService( SERVICE_FIXEDTEXT ))
+// return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.form.component.FixedText"));
// if ( _xServiceInfo->supportsService( SERVICE_FORMATTEDFIELD ))
-// return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.form.component.FormattedField"));
-// if ( _xServiceInfo->supportsService( SERVICE_IMAGECONTROL))
-// return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.form.component.DatabaseImageControl"));
-//
-// return ::rtl::OUString();
-// }
+// return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.form.component.FormattedField"));
+// if ( _xServiceInfo->supportsService( SERVICE_IMAGECONTROL))
+// return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.form.component.DatabaseImageControl"));
+//
+// return ::rtl::OUString();
+// }
//}
//----------------------------------------------------------------------------
void OReportPage::insertObject(const uno::Reference< report::XReportComponent >& _xObject)
@@ -196,14 +196,14 @@ void OReportPage::resetSpecialMode()
const sal_Bool bChanged = rModel.IsChanged();
::std::vector<SdrObject*>::iterator aIter = m_aTemporaryObjectList.begin();
::std::vector<SdrObject*>::iterator aEnd = m_aTemporaryObjectList.end();
-
+
for (; aIter != aEnd; ++aIter)
{
removeTempObject(*aIter);
}
m_aTemporaryObjectList.clear();
rModel.SetChanged(bChanged);
-
+
m_bSpecialInsertMode = false;
}
// -----------------------------------------------------------------------------
@@ -217,7 +217,7 @@ void OReportPage::NbcInsertObject(SdrObject* pObj, ULONG nPos, const SdrInsertRe
m_aTemporaryObjectList.push_back(pObj);
return;
}
-
+
if ( pUnoObj )
{
pUnoObj->CreateMediator();