summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-03-18 09:56:56 +0200
committerTor Lillqvist <tml@collabora.com>2016-03-18 09:58:07 +0200
commiteef1d712c409878678b4ffbf33e44cac6d564cc2 (patch)
treecc088b68d582d11df09607aedc7c08882fa3ba29 /sw
parent7fcf65da3bc95371f5d2763bcad21b52bae8ab6a (diff)
loplugin:stringconstant
Change-Id: I644cf737d5021d6b395749fe97974626a2ca6d7f
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/unocore/unostyle.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
index da531407bb42..342f9cfef49b 100644
--- a/sw/source/core/unocore/unostyle.cxx
+++ b/sw/source/core/unocore/unostyle.cxx
@@ -2867,7 +2867,7 @@ void SwXPageStyle::SetPropertyValues_Impl(const uno::Sequence<OUString>& rProper
case SID_ATTR_PAGE_ON:
case RES_HEADER_FOOTER_EAT_SPACING:
// these slots are exclusive to Header/Footer, thus this is an error
- throw beans::UnknownPropertyException(OUString("Unknown property: ") + rPropName, static_cast<cppu::OWeakObject*>(this));
+ throw beans::UnknownPropertyException("Unknown property: " + rPropName, static_cast<cppu::OWeakObject*>(this));
case FN_UNO_HEADER:
case FN_UNO_HEADER_LEFT:
case FN_UNO_HEADER_RIGHT: