summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/wrong.hxx
diff options
context:
space:
mode:
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;