summaryrefslogtreecommitdiffstats
path: root/basic/source/classes/errobject.cxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-06-02 17:46:27 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-06-02 17:57:17 -0500
commitaca92397245389e93de25a779bfdc6bb7f03ceee (patch)
treedba50821d3c7dc6f7ab2e4865d68315e6947c27a /basic/source/classes/errobject.cxx
parenttargeted string re-work (diff)
downloadcore-aca92397245389e93de25a779bfdc6bb7f03ceee.tar.gz
core-aca92397245389e93de25a779bfdc6bb7f03ceee.zip
targeted string re-work
Change-Id: Ia651a93951da514105183775a5f49d031a192937
Diffstat (limited to 'basic/source/classes/errobject.cxx')
-rw-r--r--basic/source/classes/errobject.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/classes/errobject.cxx b/basic/source/classes/errobject.cxx
index b3c06df9381e..f6736aebe7b8 100644
--- a/basic/source/classes/errobject.cxx
+++ b/basic/source/classes/errobject.cxx
@@ -165,7 +165,7 @@ ErrObject::Raise( const uno::Any& Number, const uno::Any& Source, const uno::Any
::rtl::OUString SAL_CALL
ErrObject::getDefaultPropertyName( ) throw (uno::RuntimeException)
{
- static rtl::OUString sDfltPropName( RTL_CONSTASCII_USTRINGPARAM("Number") );
+ static rtl::OUString sDfltPropName( "Number" );
return sDfltPropName;
}
@@ -173,7 +173,7 @@ void ErrObject::setData( const uno::Any& Number, const uno::Any& Source, const u
throw (uno::RuntimeException)
{
if ( !Number.hasValue() )
- throw uno::RuntimeException( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Missing Required Paramater")), uno::Reference< uno::XInterface >() );
+ throw uno::RuntimeException( rtl::OUString("Missing Required Paramater"), uno::Reference< uno::XInterface >() );
Number >>= m_nNumber;
Description >>= m_sDescription;
Source >>= m_sSource;