summaryrefslogtreecommitdiff
path: root/reportdesign/source/core/sdr/RptObject.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-02 12:01:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-03 09:07:05 +0200
commit0d7f5e060663cb747b0dc50bb76c162484e4dae4 (patch)
treedeab5b72a483423f3a30cfd202c997b8446aa681 /reportdesign/source/core/sdr/RptObject.cxx
parent60fd81d83a2dbcb64a38910de49f8e2620353702 (diff)
loplugin:checkunusedparams in package..reportdesign
Change-Id: I8ebccc413153667269954c303e216b155ee9d1ae Reviewed-on: https://gerrit.libreoffice.org/37145 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign/source/core/sdr/RptObject.cxx')
-rw-r--r--reportdesign/source/core/sdr/RptObject.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/reportdesign/source/core/sdr/RptObject.cxx b/reportdesign/source/core/sdr/RptObject.cxx
index 45b5dc064d30..b3dd2f550f2d 100644
--- a/reportdesign/source/core/sdr/RptObject.cxx
+++ b/reportdesign/source/core/sdr/RptObject.cxx
@@ -365,7 +365,7 @@ void OObjectBase::StartListening()
}
}
-void OObjectBase::EndListening(bool /*bRemoveListener*/)
+void OObjectBase::EndListening()
{
OSL_ENSURE(!m_xReportComponent.is() || isListening(), "OUnoObject::EndListening: not listening currently!");
@@ -663,7 +663,7 @@ void OUnoObject::NbcMove( const Size& rSize )
if ( m_bIsListening )
{
// stop listening
- OObjectBase::EndListening(false);
+ OObjectBase::EndListening();
bool bPositionFixed = false;
Size aUndoSize(0,0);
@@ -710,7 +710,7 @@ void OUnoObject::NbcResize(const Point& rRef, const Fraction& xFract, const Frac
SdrUnoObj::NbcResize( rRef, xFract, yFract );
// stop listening
- OObjectBase::EndListening(false);
+ OObjectBase::EndListening();
// set geometry properties
SetPropsFromRect(GetLogicRect());
@@ -723,7 +723,7 @@ void OUnoObject::NbcSetLogicRect(const tools::Rectangle& rRect)
{
SdrUnoObj::NbcSetLogicRect(rRect);
// stop listening
- OObjectBase::EndListening(false);
+ OObjectBase::EndListening();
// set geometry properties
SetPropsFromRect(rRect);
@@ -796,7 +796,7 @@ void OUnoObject::_propertyChange( const beans::PropertyChangeEvent& evt )
Reference<XPropertySet> xControlModel(GetUnoControlModel(),uno::UNO_QUERY);
if ( xControlModel.is() )
{
- OObjectBase::EndListening(false);
+ OObjectBase::EndListening();
try
{
xControlModel->setPropertyValue(PROPERTY_TEXTCOLOR,evt.NewValue);
@@ -823,7 +823,7 @@ void OUnoObject::_propertyChange( const beans::PropertyChangeEvent& evt )
if ( !aNewName.equals(aOldName) )
{
// set old name property
- OObjectBase::EndListening(false);
+ OObjectBase::EndListening();
if ( m_xMediator.is() )
m_xMediator.get()->stopListening();
try
@@ -938,7 +938,7 @@ void OOle2Obj::NbcMove( const Size& rSize )
if ( m_bIsListening )
{
// stop listening
- OObjectBase::EndListening(false);
+ OObjectBase::EndListening();
bool bPositionFixed = false;
Size aUndoSize(0,0);
@@ -990,7 +990,7 @@ void OOle2Obj::NbcResize(const Point& rRef, const Fraction& xFract, const Fracti
SdrOle2Obj::NbcResize( rRef, xFract, yFract );
// stop listening
- OObjectBase::EndListening(false);
+ OObjectBase::EndListening();
// set geometry properties
SetPropsFromRect(GetLogicRect());
@@ -1003,7 +1003,7 @@ void OOle2Obj::NbcSetLogicRect(const tools::Rectangle& rRect)
{
SdrOle2Obj::NbcSetLogicRect(rRect);
// stop listening
- OObjectBase::EndListening(false);
+ OObjectBase::EndListening();
// set geometry properties
SetPropsFromRect(rRect);