summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-24 20:32:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-24 22:11:31 +0200
commitef2e9c91d0a0483c19d0175c1b0ccb24d3f6bfbc (patch)
tree779c4ac095d4a8c7ed7bb1f1ae623c2cb69e6004 /sdext
parente0adee8341e89d478511d7b3e784941f2fd9b504 (diff)
loplugin:returnconstval in sd..starmath
Change-Id: Ib14f0ebef1c48a00ed09be70cb5885ccd07db762 Reviewed-on: https://gerrit.libreoffice.org/78060 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/presenter/PresenterTheme.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sdext/source/presenter/PresenterTheme.cxx b/sdext/source/presenter/PresenterTheme.cxx
index d35bc828437c..1e40213aba8b 100644
--- a/sdext/source/presenter/PresenterTheme.cxx
+++ b/sdext/source/presenter/PresenterTheme.cxx
@@ -127,7 +127,7 @@ class PaneStyle
public:
PaneStyle();
- const SharedBitmapDescriptor GetBitmap (const OUString& sBitmapName) const;
+ SharedBitmapDescriptor GetBitmap (const OUString& sBitmapName) const;
OUString msStyleName;
std::shared_ptr<PaneStyle> mpParentStyle;
@@ -166,7 +166,7 @@ class ViewStyle
public:
ViewStyle();
- const SharedBitmapDescriptor GetBitmap (const OUString& sBitmapName) const;
+ SharedBitmapDescriptor GetBitmap (const OUString& sBitmapName) const;
PresenterTheme::SharedFontDescriptor GetFont() const;
@@ -902,11 +902,11 @@ PaneStyle::PaneStyle()
{
}
-const SharedBitmapDescriptor PaneStyle::GetBitmap (const OUString& rsBitmapName) const
+SharedBitmapDescriptor PaneStyle::GetBitmap (const OUString& rsBitmapName) const
{
if (mpBitmaps != nullptr)
{
- const SharedBitmapDescriptor pBitmap = mpBitmaps->GetBitmap(rsBitmapName);
+ SharedBitmapDescriptor pBitmap = mpBitmaps->GetBitmap(rsBitmapName);
if (pBitmap.get() != nullptr)
return pBitmap;
}
@@ -1015,7 +1015,7 @@ ViewStyle::ViewStyle()
{
}
-const SharedBitmapDescriptor ViewStyle::GetBitmap (const OUString& rsBitmapName) const
+SharedBitmapDescriptor ViewStyle::GetBitmap (const OUString& rsBitmapName) const
{
if (rsBitmapName == "Background")
return mpBackground;