diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-10-21 12:41:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-11-04 08:51:00 +0100 |
commit | 5de73f04f3db9c8fb488bf75b1860bf8378a5b45 (patch) | |
tree | 162ce145c1bec1ac5b41b5caa5bac1591c54c11a /sw/qa/extras/uiwriter/uiwriter7.cxx | |
parent | dce64cc7cfd5f696ef0c030524558306687ae3c7 (diff) |
new loplugin:staticconstexpr
Change-Id: Ida1996dfffa106bf95fd064e8191b8033b4002f3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175336
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/qa/extras/uiwriter/uiwriter7.cxx')
-rw-r--r-- | sw/qa/extras/uiwriter/uiwriter7.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter7.cxx b/sw/qa/extras/uiwriter/uiwriter7.cxx index 964ccc0b4482..fdd09d358fa1 100644 --- a/sw/qa/extras/uiwriter/uiwriter7.cxx +++ b/sw/qa/extras/uiwriter/uiwriter7.cxx @@ -2392,8 +2392,8 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest7, testUnicodeNotationToggle) sDocString = pWrtShell->GetCursor()->GetPointNode().GetTextNode()->GetText(); CPPUNIT_ASSERT_EQUAL(sOriginalDocString, sDocString); - constexpr OUString sWithCombiningSMPName = u"xyzU+4faeU+e0101"_ustr; - constexpr OUString sWithCombiningSMP = u"xyz\U00004fae\U000e0101"_ustr; + static constexpr OUString sWithCombiningSMPName = u"xyzU+4faeU+e0101"_ustr; + static constexpr OUString sWithCombiningSMP = u"xyz\U00004fae\U000e0101"_ustr; pWrtShell->SplitNode(); pWrtShell->Insert2(sWithCombiningSMPName); dispatchCommand(mxComponent, u".uno:UnicodeNotationToggle"_ustr, aPropertyValues); |