svx/source/unodraw/unoshape.cxx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
New commits: commit 6cdbf1cc9bc3fd97acdba981bad04d552dafc627 Author: Stephan Bergmann <sberg...@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(); _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits