diff options
Diffstat (limited to 'oox/source/drawingml/diagram')
-rw-r--r-- | oox/source/drawingml/diagram/diagramhelper.cxx | 2 | ||||
-rw-r--r-- | oox/source/drawingml/diagram/diagramhelper.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/drawingml/diagram/diagramhelper.cxx b/oox/source/drawingml/diagram/diagramhelper.cxx index ebd6f3ebbf4a..e0e7202d3966 100644 --- a/oox/source/drawingml/diagram/diagramhelper.cxx +++ b/oox/source/drawingml/diagram/diagramhelper.cxx @@ -236,7 +236,7 @@ void AdvancedDiagramHelper::doAnchor(SdrObjGroup& rTarget, ::oox::drawingml::Sha anchorToSdrObjGroup(rTarget); } -std::shared_ptr< ::oox::drawingml::Theme > AdvancedDiagramHelper::getOrCreateThemePtr( +const std::shared_ptr< ::oox::drawingml::Theme >& AdvancedDiagramHelper::getOrCreateThemePtr( rtl::Reference< oox::shape::ShapeFilterBase >& rxFilter) const { // (Re-)Use already existing Theme if existing/imported if possible. diff --git a/oox/source/drawingml/diagram/diagramhelper.hxx b/oox/source/drawingml/diagram/diagramhelper.hxx index 6059c2261d50..626d40382d7e 100644 --- a/oox/source/drawingml/diagram/diagramhelper.hxx +++ b/oox/source/drawingml/diagram/diagramhelper.hxx @@ -83,7 +83,7 @@ public: virtual void applyDiagramDataState(const std::shared_ptr< svx::diagram::DiagramDataState >& rState) override; void doAnchor(SdrObjGroup& rTarget, ::oox::drawingml::Shape& rRootShape); - std::shared_ptr< ::oox::drawingml::Theme > getOrCreateThemePtr( + const std::shared_ptr< ::oox::drawingml::Theme >& getOrCreateThemePtr( rtl::Reference< oox::shape::ShapeFilterBase>& rxFilter ) const; }; |