diff options
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/basidectrlr.cxx | 2 | ||||
-rw-r--r-- | basctl/source/basicide/localizationmgr.cxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/basctl/source/basicide/basidectrlr.cxx b/basctl/source/basicide/basidectrlr.cxx index da8334f0a093..88e67bc3bbc0 100644 --- a/basctl/source/basicide/basidectrlr.cxx +++ b/basctl/source/basicide/basidectrlr.cxx @@ -32,7 +32,7 @@ namespace { int const nPropertyIconId = 1; -OUStringLiteral const sPropertyIconId(u"IconId"); +constexpr OUStringLiteral sPropertyIconId(u"IconId"); } diff --git a/basctl/source/basicide/localizationmgr.cxx b/basctl/source/basicide/localizationmgr.cxx index c8a393440094..3a57c8de672d 100644 --- a/basctl/source/basicide/localizationmgr.cxx +++ b/basctl/source/basicide/localizationmgr.cxx @@ -47,9 +47,9 @@ using namespace ::com::sun::star::resource; namespace { -OUStringLiteral const aDot(u"."); -OUStringLiteral const aEsc(u"&"); -OUStringLiteral const aSemi(u";"); +constexpr OUStringLiteral aDot(u"."); +constexpr OUStringLiteral aEsc(u"&"); +constexpr OUStringLiteral aSemi(u";"); } // namespace |