[Libreoffice-commits] .: svx/source
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Wed Nov 23 02:45:05 PST 2011
svx/source/unodraw/unoshape.cxx | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
New commits:
commit 6cdbf1cc9bc3fd97acdba981bad04d552dafc627
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Nov 23 11:44:55 2011 +0100
No more OSL_FORMAT.
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index b676551..eef6c80 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -1720,10 +1720,12 @@ void SAL_CALL SvxShape::_setPropertyValue( const OUString& rPropertyName, const
throw beans::UnknownPropertyException();
if( (pMap->nFlags & beans::PropertyAttribute::READONLY ) != 0 )
- throw beans::PropertyVetoException( rtl::OUString::createFromAscii(
- OSL_FORMAT( "Readonly property can't be set: %s",
- rtl::OUStringToOString( rPropertyName, RTL_TEXTENCODING_UTF8 ).getStr() ) ),
- uno::Reference< drawing::XShape >( this ) );
+ throw beans::PropertyVetoException(
+ ( rtl::OUString(
+ RTL_CONSTASCII_USTRINGPARAM(
+ "Readonly property can't be set: " ) )
+ + rPropertyName ),
+ uno::Reference< drawing::XShape >( this ) );
mpModel->SetChanged();
More information about the Libreoffice-commits
mailing list