summaryrefslogtreecommitdiff
path: root/svx/source/svdraw
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-02-04 16:20:42 +0600
committerMike Kaganski <mike.kaganski@collabora.com>2024-02-04 12:30:59 +0100
commitb0f9cb252d9dbb932a368a81871d0ba7c396dab8 (patch)
tree4d7affee7f898606ea2a6ebe2ecf2cab6cd2e9d4 /svx/source/svdraw
parent14f6b169b5d04f4bfcb28bf7e10fad21dc6f191c (diff)
Use constexpr instead of const
See commit bf2ae3c25a5da3a323c06fd5f949660ee64f0fa6 for rationale. Change-Id: I456bc7c7124a277b34b6334d16090607e14075e6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162969 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'svx/source/svdraw')
-rw-r--r--svx/source/svdraw/svdobj.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx
index 63844301ef1a..10dba8f0ebc7 100644
--- a/svx/source/svdraw/svdobj.cxx
+++ b/svx/source/svdraw/svdobj.cxx
@@ -758,7 +758,7 @@ void SdrObject::SetName(const OUString& rStr, const bool bSetChanged)
const OUString & SdrObject::GetName() const
{
- static const OUString EMPTY = u""_ustr;
+ static constexpr OUString EMPTY = u""_ustr;
if(m_pPlusData)
{