diff options
Diffstat (limited to 'filter/source/svg/svgreader.cxx')
-rw-r--r-- | filter/source/svg/svgreader.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/filter/source/svg/svgreader.cxx b/filter/source/svg/svgreader.cxx index 7efe1323531c..377a74680037 100644 --- a/filter/source/svg/svgreader.cxx +++ b/filter/source/svg/svgreader.cxx @@ -600,18 +600,15 @@ struct AnnotatingVisitor static OUString getOdfAlign( TextAlign eAlign ) { - static const char aStart[] = "start"; - static const char aEnd[] = "end"; - static const char aCenter[] = "center"; switch(eAlign) { default: case BEFORE: - return OUString(aStart); + return OUString("start"); case CENTER: - return OUString(aCenter); + return OUString("center"); case AFTER: - return OUString(aEnd); + return OUString("end"); } } |