diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2011-11-23 11:44:55 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2011-11-23 11:44:55 +0100 |
commit | 6cdbf1cc9bc3fd97acdba981bad04d552dafc627 (patch) | |
tree | 1bdb9e617655f0d94ba9112b271351745d3daf43 | |
parent | e846db644868651556b38f91737b81c43f3c4f3c (diff) |
No more OSL_FORMAT.
-rw-r--r-- | svx/source/unodraw/unoshape.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index b676551cfe82..eef6c80e03ef 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(); |