summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/wrong.hxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-06-29 14:42:54 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-06-29 16:23:23 +0200
commit318f2b64cc32038b2ab1b18b4a13e3f41e1e35ff (patch)
treec375d326f022d1e3f3b9baea19ea262982dbc4a3 /sw/source/core/inc/wrong.hxx
parent231fb4182fc9e81f801ff1d1355f7a613d0856c2 (diff)
remove some createFromAscii usage
there are a lot more of them: git grep 'createFromAscii[^)]*"' Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
Diffstat (limited to 'sw/source/core/inc/wrong.hxx')
-rw-r--r--sw/source/core/inc/wrong.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/inc/wrong.hxx b/sw/source/core/inc/wrong.hxx
index 37f56bf3d2b1..77a78f0bb96a 100644
--- a/sw/source/core/inc/wrong.hxx
+++ b/sw/source/core/inc/wrong.hxx
@@ -87,7 +87,7 @@ private:
{
if (xPropertyBag.is())
{
- const ::rtl::OUString colorKey = ::rtl::OUString::createFromAscii ("LineColor");
+ const ::rtl::OUString colorKey("LineColor");
com::sun::star::uno::Any aLineColor = xPropertyBag->getValue(colorKey).get< com::sun::star::uno::Any>();
com::sun::star::util::Color lineColor = 0;
@@ -113,7 +113,7 @@ private:
{
if (xPropertyBag.is())
{
- const ::rtl::OUString typeKey = ::rtl::OUString::createFromAscii ("LineType");
+ const ::rtl::OUString typeKey("LineType");
com::sun::star::uno::Any aLineType = xPropertyBag->getValue(typeKey).get< com::sun::star::uno::Any>();
::sal_Int16 lineType = 0;