summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-07 13:42:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-08 08:44:32 +0100
commitbb7ade140df807b6a0f12766a1365b8f8d0fd342 (patch)
treed90de305c953a613373d27f8f89bb95c43ee9eb4 /oox
parent44d5188b2fd8afc82aa8fda1ad4b374734129aea (diff)
loplugin:unusedmethods
Change-Id: Id6b4edd265cb6bef31c72e2a0a440211d51c7c33 Reviewed-on: https://gerrit.libreoffice.org/50900 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/drawingml.cxx8
-rw-r--r--oox/source/helper/graphichelper.cxx11
2 files changed, 0 insertions, 19 deletions
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index ca7c303acd6e..f462fa13d32a 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -1364,14 +1364,6 @@ void DrawingML::WriteGraphicCropProperties(uno::Reference<beans::XPropertySet> c
}
}
-void DrawingML::WriteSrcRect(const uno::Reference<beans::XPropertySet>& rxPropertySet, const OUString& rURL)
-{
- GraphicObject aGraphicObject = GraphicObject::CreateGraphicObjectFromURL(rURL);
- Size aOriginalSize = aGraphicObject.GetPrefSize();
- const MapMode& rMapMode = aGraphicObject.GetPrefMapMode();
- WriteGraphicCropProperties(rxPropertySet, aOriginalSize, rMapMode);
-}
-
void DrawingML::WriteSrcRectXGraphic(uno::Reference<beans::XPropertySet> const & rxPropertySet,
uno::Reference<graphic::XGraphic> const & rxGraphic)
{
diff --git a/oox/source/helper/graphichelper.cxx b/oox/source/helper/graphichelper.cxx
index 076cd4dbdc27..fdefc8ad2de6 100644
--- a/oox/source/helper/graphichelper.cxx
+++ b/oox/source/helper/graphichelper.cxx
@@ -372,17 +372,6 @@ OUString GraphicHelper::importGraphicObject( const Reference< XInputStream >& rx
return createGraphicObject( importGraphic( rxInStrm, pExtHeader ) );
}
-OUString GraphicHelper::importGraphicObject( const StreamDataSequence& rGraphicData ) const
-{
- return createGraphicObject( importGraphic( rGraphicData ) );
-}
-
-OUString GraphicHelper::importEmbeddedGraphicObject( const OUString& rStreamName ) const
-{
- Reference< XGraphic > xGraphic = importEmbeddedGraphic( rStreamName );
- return xGraphic.is() ? createGraphicObject( xGraphic ) : OUString();
-}
-
awt::Size GraphicHelper::getOriginalSize( const Reference< XGraphic >& xGraphic ) const
{
awt::Size aSizeHmm;