summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-03-05 09:40:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-03-05 11:59:21 +0100
commit34e347db726a415f3f6df0c1f2112aff6d67bdeb (patch)
tree772cc65ec901bbfe422bfb7cd8ff5e7149e2f7de /sd/source
parent6f652725fcbb068b8b482a74ef021396d4d0f133 (diff)
AccessibleShape::GetStyle can be const
Change-Id: Ic71ae0645c85ec27cc6a172d379070fe88a9f452 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131045 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/accessibility/AccessiblePresentationShape.cxx2
-rw-r--r--sd/source/ui/inc/AccessiblePresentationShape.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/accessibility/AccessiblePresentationShape.cxx b/sd/source/ui/accessibility/AccessiblePresentationShape.cxx
index 3dacf6e73e8e..e4afe7e9a243 100644
--- a/sd/source/ui/accessibility/AccessiblePresentationShape.cxx
+++ b/sd/source/ui/accessibility/AccessiblePresentationShape.cxx
@@ -96,7 +96,7 @@ OUString AccessiblePresentationShape::CreateAccessibleBaseName()
return sName;
}
-OUString AccessiblePresentationShape::GetStyle()
+OUString AccessiblePresentationShape::GetStyle() const
{
OUString sName;
diff --git a/sd/source/ui/inc/AccessiblePresentationShape.hxx b/sd/source/ui/inc/AccessiblePresentationShape.hxx
index 1fd7d86b064f..4a6447ae974c 100644
--- a/sd/source/ui/inc/AccessiblePresentationShape.hxx
+++ b/sd/source/ui/inc/AccessiblePresentationShape.hxx
@@ -48,7 +48,7 @@ public:
virtual OUString
CreateAccessibleBaseName () override;
- OUString GetStyle() override;
+ OUString GetStyle() const override;
private:
AccessiblePresentationShape (const AccessiblePresentationShape&) = delete;