summaryrefslogtreecommitdiffstats
path: root/sc/qa/extras/macros-test.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa/extras/macros-test.cxx')
-rw-r--r--sc/qa/extras/macros-test.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/qa/extras/macros-test.cxx b/sc/qa/extras/macros-test.cxx
index 771b71edf399..14cb8c6d8101 100644
--- a/sc/qa/extras/macros-test.cxx
+++ b/sc/qa/extras/macros-test.cxx
@@ -512,9 +512,9 @@ void ScMacrosTest::testTdf131562()
void ScMacrosTest::testPasswordProtectedUnicodeString()
{
const OUString sCorrectString(u"English Русский 中文");
- const OUString sMacroURL(
- "vnd.sun.Star.script:Protected.Module1.TestUnicodeString?language=Basic&location=document");
- const OUString sLibName("Protected");
+ static const OUStringLiteral sMacroURL(
+ u"vnd.sun.Star.script:Protected.Module1.TestUnicodeString?language=Basic&location=document");
+ static const OUStringLiteral sLibName(u"Protected");
OUString aFileName;
createFileURL(u"tdf57113.ods", aFileName);
@@ -571,9 +571,9 @@ void ScMacrosTest::testPasswordProtectedUnicodeString()
void ScMacrosTest::testPasswordProtectedArrayInUserType()
{
- const OUString sMacroURL(
- "vnd.sun.Star.script:Protected.Module1.TestMyType?language=Basic&location=document");
- const OUString sLibName("Protected");
+ static const OUStringLiteral sMacroURL(
+ u"vnd.sun.Star.script:Protected.Module1.TestMyType?language=Basic&location=document");
+ static const OUStringLiteral sLibName(u"Protected");
OUString aFileName;
createFileURL(u"ProtectedArrayInCustomType.ods", aFileName);