diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-01 10:27:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-07-01 11:26:04 +0200 |
commit | 65af6fda33bc40670d41055f63e010c763f5b0b1 (patch) | |
tree | 2394d6e1de989dfaa732eb86140ff991fef5bea6 /oox | |
parent | 28ee6bc8cf9548a6c24e68e5804077a96605a1f2 (diff) |
loplugin:unusedmethods
Change-Id: I3ff5333c1e73ca61b0a7339e4b7dcfce211b88e2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118207
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/shape/ShapeContextHandler.cxx | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/oox/source/shape/ShapeContextHandler.cxx b/oox/source/shape/ShapeContextHandler.cxx index 0d03d322d011..066d49d00f60 100644 --- a/oox/source/shape/ShapeContextHandler.cxx +++ b/oox/source/shape/ShapeContextHandler.cxx @@ -513,23 +513,11 @@ ShapeContextHandler::getShape() return xResult; } -css::uno::Reference< css::drawing::XDrawPage > ShapeContextHandler::getDrawPage() -{ - return mxDrawPage; -} - void ShapeContextHandler::setDrawPage(const css::uno::Reference< css::drawing::XDrawPage > & the_value) { mxDrawPage = the_value; } -css::uno::Reference< css::frame::XModel > ShapeContextHandler::getModel() -{ - if( !mxShapeFilterBase.is() ) - throw uno::RuntimeException(); - return mxShapeFilterBase->getModel(); -} - void ShapeContextHandler::setModel(const css::uno::Reference< css::frame::XModel > & the_value) { if( !mxShapeFilterBase.is() ) @@ -538,11 +526,6 @@ void ShapeContextHandler::setModel(const css::uno::Reference< css::frame::XModel mxShapeFilterBase->setTargetDocument(xComp); } -OUString ShapeContextHandler::getRelationFragmentPath() -{ - return msRelationFragmentPath; -} - void ShapeContextHandler::setRelationFragmentPath(const OUString & the_value) { msRelationFragmentPath = the_value; @@ -558,11 +541,6 @@ void ShapeContextHandler::setStartToken( sal_Int32 _starttoken ) mnStartToken = _starttoken; } -awt::Point ShapeContextHandler::getPosition() -{ - return maPosition; -} - void ShapeContextHandler::setPosition(const awt::Point& rPosition) { maPosition = rPosition; @@ -574,16 +552,6 @@ void ShapeContextHandler::setDocumentProperties(const uno::Reference<document::X mxShapeFilterBase->checkDocumentProperties(mxDocumentProperties); } -uno::Reference<document::XDocumentProperties> ShapeContextHandler::getDocumentProperties() -{ - return mxDocumentProperties; -} - -uno::Sequence<beans::PropertyValue> ShapeContextHandler::getMediaDescriptor() -{ - return maMediaDescriptor; -} - void ShapeContextHandler::setMediaDescriptor(const uno::Sequence<beans::PropertyValue>& rMediaDescriptor) { maMediaDescriptor = rMediaDescriptor; |