summaryrefslogtreecommitdiff
path: root/filter/source/svg/svgreader.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/svg/svgreader.cxx')
-rw-r--r--filter/source/svg/svgreader.cxx13
1 files changed, 6 insertions, 7 deletions
diff --git a/filter/source/svg/svgreader.cxx b/filter/source/svg/svgreader.cxx
index d8962e2111ac..e0696f596bda 100644
--- a/filter/source/svg/svgreader.cxx
+++ b/filter/source/svg/svgreader.cxx
@@ -425,19 +425,18 @@ struct AnnotatingVisitor
OUString getOdfAlign( TextAlign eAlign )
{
- static OUString aStart("start");
- static OUString aEnd("end");
- // static OUString aJustify("justify");
- static OUString aCenter("center");
+ static const char aStart[] = "start";
+ static const char aEnd[] = "end";
+ static const char aCenter[] = "center";
switch(eAlign)
{
default:
case BEFORE:
- return aStart;
+ return OUString(aStart);
case CENTER:
- return aCenter;
+ return OUString(aCenter);
case AFTER:
- return aEnd;
+ return OUString(aEnd);
}
}