diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-23 14:59:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-23 19:34:49 +0200 |
commit | 09cd0e363d6c5b0e7b9cebc598030a7e3d397922 (patch) | |
tree | 86c5add3e30f1599618a9e355aaa41d49e394f1f /oox | |
parent | 306180ac17ad6f3edfe403fb5b79232717f8e75f (diff) |
loplugin:returnconstval in oox
Change-Id: Id83744fcb90d1bf6e6fe048858f48a4944351494
Reviewed-on: https://gerrit.libreoffice.org/78013
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/fillproperties.cxx | 2 | ||||
-rw-r--r-- | oox/source/ppt/pptimport.cxx | 2 | ||||
-rw-r--r-- | oox/source/shape/ShapeFilterBase.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/drawingml/fillproperties.cxx b/oox/source/drawingml/fillproperties.cxx index 81d46dae8a23..82c48426d1a2 100644 --- a/oox/source/drawingml/fillproperties.cxx +++ b/oox/source/drawingml/fillproperties.cxx @@ -132,7 +132,7 @@ RectanglePoint lclGetRectanglePoint( sal_Int32 nToken ) return RectanglePoint_LEFT_TOP; } -const awt::Size lclGetOriginalSize( const GraphicHelper& rGraphicHelper, const Reference< XGraphic >& rxGraphic ) +awt::Size lclGetOriginalSize( const GraphicHelper& rGraphicHelper, const Reference< XGraphic >& rxGraphic ) { awt::Size aSizeHmm( 0, 0 ); try diff --git a/oox/source/ppt/pptimport.cxx b/oox/source/ppt/pptimport.cxx index a5ef6c54150d..efc10c69af97 100644 --- a/oox/source/ppt/pptimport.cxx +++ b/oox/source/ppt/pptimport.cxx @@ -254,7 +254,7 @@ sal_Bool SAL_CALL PowerPointImport::filter( const Sequence< PropertyValue >& rDe return mpActualSlidePersist ? mpActualSlidePersist->getDrawing() : nullptr; } -const oox::drawingml::table::TableStyleListPtr PowerPointImport::getTableStyles() +oox::drawingml::table::TableStyleListPtr PowerPointImport::getTableStyles() { if ( !mpTableStyleList && !maTableStyleListPath.isEmpty() ) { diff --git a/oox/source/shape/ShapeFilterBase.cxx b/oox/source/shape/ShapeFilterBase.cxx index bde8cdca19c3..1ebae0c9a230 100644 --- a/oox/source/shape/ShapeFilterBase.cxx +++ b/oox/source/shape/ShapeFilterBase.cxx @@ -57,7 +57,7 @@ void ShapeFilterBase::setCurrentTheme(const ::oox::drawingml::ThemePtr& pTheme) return nullptr; } -const ::oox::drawingml::table::TableStyleListPtr ShapeFilterBase::getTableStyles() +::oox::drawingml::table::TableStyleListPtr ShapeFilterBase::getTableStyles() { return ::oox::drawingml::table::TableStyleListPtr(); } |