diff options
author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-03-12 14:53:20 +0100 |
---|---|---|
committer | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-03-12 21:02:26 +0100 |
commit | 4b2890453b2a9a99da3d690e6e70bffd711b6810 (patch) | |
tree | 3e5671f34f4311418eeb86da4dd29beded96a39b /unodevtools/source/skeletonmaker | |
parent | 413fe6c65a8dfbb5549da200f4523ef2347e11f8 (diff) |
Removed RTL_CONSTASCII_STRINGPARAM in unodevtools
Change-Id: I41ea9fe6fcac6cba0e12cd570b9971998717f401
Diffstat (limited to 'unodevtools/source/skeletonmaker')
-rw-r--r-- | unodevtools/source/skeletonmaker/cpptypemaker.cxx | 2 | ||||
-rw-r--r-- | unodevtools/source/skeletonmaker/javatypemaker.cxx | 4 | ||||
-rw-r--r-- | unodevtools/source/skeletonmaker/skeletonmaker.cxx | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/unodevtools/source/skeletonmaker/cpptypemaker.cxx b/unodevtools/source/skeletonmaker/cpptypemaker.cxx index 689b5170750a..e95b5039934f 100644 --- a/unodevtools/source/skeletonmaker/cpptypemaker.cxx +++ b/unodevtools/source/skeletonmaker/cpptypemaker.cxx @@ -383,7 +383,7 @@ void printMethods(std::ostream & o, return; } - static OString sd(RTL_CONSTASCII_STRINGPARAM("_")); + static OString sd("_"); bool body = !delegate.isEmpty(); bool defaultbody = ((delegate.equals(sd)) ? true : false); diff --git a/unodevtools/source/skeletonmaker/javatypemaker.cxx b/unodevtools/source/skeletonmaker/javatypemaker.cxx index e2e4a6dc9d8a..7e7f86c3825c 100644 --- a/unodevtools/source/skeletonmaker/javatypemaker.cxx +++ b/unodevtools/source/skeletonmaker/javatypemaker.cxx @@ -376,7 +376,7 @@ void printMethods(std::ostream & o, } } - static OString sd(RTL_CONSTASCII_STRINGPARAM("_")); + static OString sd("_"); bool body = !delegate.isEmpty(); bool defaultbody = ((delegate.equals(sd)) ? true : false); @@ -500,7 +500,7 @@ void printMethods(std::ostream & o, o << ')'; printExceptionSpecification(o, options, manager, reader, method); if ( body ) { - static OUString s(RTL_CONSTASCII_USTRINGPARAM("void")); + static OUString s("void"); if ( defaultbody ) { o << "\n" << indentation << "{\n"; if ( !reader.getMethodReturnTypeName(method).equals(s) ) { diff --git a/unodevtools/source/skeletonmaker/skeletonmaker.cxx b/unodevtools/source/skeletonmaker/skeletonmaker.cxx index 1b20636ed0ed..4884bd4f69ad 100644 --- a/unodevtools/source/skeletonmaker/skeletonmaker.cxx +++ b/unodevtools/source/skeletonmaker/skeletonmaker.cxx @@ -270,9 +270,9 @@ SAL_IMPLEMENT_MAIN() // else illegal argument OUStringBuffer buf( 64 ); - buf.appendAscii(RTL_CONSTASCII_STRINGPARAM("unexpected parameter \"")); + buf.append("unexpected parameter \""); buf.append(arg); - buf.appendAscii(RTL_CONSTASCII_STRINGPARAM("\"!")); + buf.append("\"!"); throw RuntimeException(buf.makeStringAndClear(), Reference< XInterface >()); } |