summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-30 10:35:51 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-30 12:44:36 +0000
commit05abd8b205e9d51af41c31ab8a7a2574ee885532 (patch)
treec91c3f59437e9ffb5b06c6992988e626a144e7db /reportdesign
parentfb6ec3acbe6d6b9788d068182f8bc3a36d70a91c (diff)
chisel off some more unused code
Change-Id: I62cafc8e10e9c9dab3fde1785b826ba8ff68569f
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/inc/RptObject.hxx3
-rw-r--r--reportdesign/source/core/sdr/RptObject.cxx26
-rw-r--r--reportdesign/source/ui/inc/DesignView.hxx3
-rw-r--r--reportdesign/source/ui/report/DesignView.cxx5
4 files changed, 0 insertions, 37 deletions
diff --git a/reportdesign/inc/RptObject.hxx b/reportdesign/inc/RptObject.hxx
index 0729cc1f2047..bb61305240cb 100644
--- a/reportdesign/inc/RptObject.hxx
+++ b/reportdesign/inc/RptObject.hxx
@@ -161,7 +161,6 @@ public:
virtual ~OCustomShape();
- sal_Int32 GetStep() const;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> getAwtComponent() SAL_OVERRIDE;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > getUnoShape() SAL_OVERRIDE;
@@ -208,7 +207,6 @@ public:
virtual ~OOle2Obj();
- sal_Int32 GetStep() const;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> getAwtComponent() SAL_OVERRIDE;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > getUnoShape() SAL_OVERRIDE;
@@ -254,7 +252,6 @@ protected:
public:
TYPEINFO_OVERRIDE();
- sal_Int32 GetStep() const;
virtual void _propertyChange( const ::com::sun::star::beans::PropertyChangeEvent& evt ) throw(::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
/** creates the m_xMediator when it doesn't already exist.
diff --git a/reportdesign/source/core/sdr/RptObject.cxx b/reportdesign/source/core/sdr/RptObject.cxx
index f40b8b820c94..58e9135ae7c2 100644
--- a/reportdesign/source/core/sdr/RptObject.cxx
+++ b/reportdesign/source/core/sdr/RptObject.cxx
@@ -507,14 +507,6 @@ void OCustomShape::SetSnapRectImpl(const Rectangle& _rRect)
SetSnapRect( _rRect );
}
-sal_Int32 OCustomShape::GetStep() const
-{
- // get step property
- sal_Int32 nStep = 0;
- OSL_FAIL("Who called me!");
- return nStep;
-}
-
void OCustomShape::NbcMove( const Size& rSize )
{
if ( m_bIsListening )
@@ -691,15 +683,6 @@ void OUnoObject::SetSnapRectImpl(const Rectangle& _rRect)
SetSnapRect( _rRect );
}
-sal_Int32 OUnoObject::GetStep() const
-{
- // get step property
- sal_Int32 nStep = 0;
- OSL_FAIL("Who called me!");
- return nStep;
-}
-
-
void OUnoObject::NbcMove( const Size& rSize )
{
@@ -987,15 +970,6 @@ void OOle2Obj::SetSnapRectImpl(const Rectangle& _rRect)
SetSnapRect( _rRect );
}
-sal_Int32 OOle2Obj::GetStep() const
-{
- // get step property
- sal_Int32 nStep = 0;
- OSL_FAIL("Who called me!");
- return nStep;
-}
-
-
void OOle2Obj::NbcMove( const Size& rSize )
{
diff --git a/reportdesign/source/ui/inc/DesignView.hxx b/reportdesign/source/ui/inc/DesignView.hxx
index 25142933680d..c44b67abc966 100644
--- a/reportdesign/source/ui/inc/DesignView.hxx
+++ b/reportdesign/source/ui/inc/DesignView.hxx
@@ -105,9 +105,6 @@ namespace rptui
virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
virtual void GetFocus() SAL_OVERRIDE;
- // set the view readonly or not
- void setReadOnly(bool _bReadOnly);
-
virtual void initialize() SAL_OVERRIDE;
inline OReportController& getController() const { return m_rReportController; }
diff --git a/reportdesign/source/ui/report/DesignView.cxx b/reportdesign/source/ui/report/DesignView.cxx
index 53b5fcf6f33f..6e71fa652d81 100644
--- a/reportdesign/source/ui/report/DesignView.cxx
+++ b/reportdesign/source/ui/report/DesignView.cxx
@@ -264,11 +264,6 @@ void ODesignView::resizeDocumentView(Rectangle& _rPlayground)
}
-// set the view readonly or not
-void ODesignView::setReadOnly(bool /*_bReadOnly*/)
-{
-}
-
IMPL_LINK_NOARG(ODesignView, MarkTimeout)
{
if ( m_pPropWin && m_pPropWin->IsVisible() )