summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/XMLTableShapeResizer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/xml/XMLTableShapeResizer.cxx')
-rw-r--r--sc/source/filter/xml/XMLTableShapeResizer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/xml/XMLTableShapeResizer.cxx b/sc/source/filter/xml/XMLTableShapeResizer.cxx
index 31f9bc2e93df..8d1705869d3a 100644
--- a/sc/source/filter/xml/XMLTableShapeResizer.cxx
+++ b/sc/source/filter/xml/XMLTableShapeResizer.cxx
@@ -49,7 +49,7 @@ ScMyOLEFixer::~ScMyOLEFixer()
{
}
-bool ScMyOLEFixer::IsOLE(uno::Reference< drawing::XShape >& rShape)
+bool ScMyOLEFixer::IsOLE(const uno::Reference< drawing::XShape >& rShape)
{
return rShape->getShapeType() == "com.sun.star.drawing.OLE2Shape";
}
@@ -107,7 +107,7 @@ void ScMyOLEFixer::CreateChartListener(ScDocument* pDoc,
}
}
-void ScMyOLEFixer::AddOLE(uno::Reference <drawing::XShape>& rShape,
+void ScMyOLEFixer::AddOLE(const uno::Reference <drawing::XShape>& rShape,
const OUString &rRangeList)
{
ScMyToFixupOLE aShape;