[Libreoffice-commits] core.git: sw/source
Tor Lillqvist
tml at collabora.com
Fri Mar 18 07:58:39 UTC 2016
sw/source/core/unocore/unostyle.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit eef1d712c409878678b4ffbf33e44cac6d564cc2
Author: Tor Lillqvist <tml at collabora.com>
Date: Fri Mar 18 09:56:56 2016 +0200
loplugin:stringconstant
Change-Id: I644cf737d5021d6b395749fe97974626a2ca6d7f
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
index da53140..342f9cf 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:
More information about the Libreoffice-commits
mailing list