summaryrefslogtreecommitdiff
path: root/canvas/source/tools/propertysethelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/tools/propertysethelper.cxx')
-rw-r--r--canvas/source/tools/propertysethelper.cxx14
1 files changed, 6 insertions, 8 deletions
diff --git a/canvas/source/tools/propertysethelper.cxx b/canvas/source/tools/propertysethelper.cxx
index 03c87070254d..eabbe89b7670 100644
--- a/canvas/source/tools/propertysethelper.cxx
+++ b/canvas/source/tools/propertysethelper.cxx
@@ -26,22 +26,20 @@ namespace canvas
{
namespace
{
- void throwUnknown( const ::rtl::OUString& aPropertyName )
+ void throwUnknown( const OUString& aPropertyName )
{
throw beans::UnknownPropertyException(
- ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PropertySetHelper: property " )) +
- aPropertyName +
- ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( " not found." )),
+ "PropertySetHelper: property " +
+ aPropertyName + " not found.",
uno::Reference< uno::XInterface >()
);
}
- void throwVeto( const ::rtl::OUString& aPropertyName )
+ void throwVeto( const OUString& aPropertyName )
{
throw beans::PropertyVetoException(
- ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PropertySetHelper: property " )) +
- aPropertyName +
- ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( " access was vetoed." )),
+ "PropertySetHelper: property " +
+ aPropertyName + " access was vetoed.",
uno::Reference< uno::XInterface >() );
}