summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
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;