diff options
author | Ricardo Montania <ricardo@linuxafundo.com.br> | 2012-08-18 15:05:22 -0300 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-08-22 16:45:38 +0200 |
commit | e47fe5cc409b4df2ee3ae58ecf911c1e155bf2e7 (patch) | |
tree | ca84fedff1af17c7f42cea8c2ca3f4b74c41d0ee /binaryurp/source/marshal.cxx | |
parent | 438f5023c3f22b521974c6a1bb4d53b59255b724 (diff) |
Change rtl::OUString to OUString
My first commit. Any problem, question, warnings, please tell me.
Change-Id: Ibb02fe15776f3ffe74ddb9488c63a45c447bb493
Diffstat (limited to 'binaryurp/source/marshal.cxx')
-rw-r--r-- | binaryurp/source/marshal.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/binaryurp/source/marshal.cxx b/binaryurp/source/marshal.cxx index f9f5031bccf9..8027176c51b9 100644 --- a/binaryurp/source/marshal.cxx +++ b/binaryurp/source/marshal.cxx @@ -73,7 +73,7 @@ void writeCompressed(std::vector< unsigned char > * buffer, sal_uInt32 value) { } void writeString( - std::vector< unsigned char > * buffer, rtl::OUString const & value) + std::vector< unsigned char > * buffer, OUString const & value) { assert(buffer != 0); rtl::OString v; @@ -83,7 +83,7 @@ void writeString( RTL_UNICODETOTEXT_FLAGS_INVALID_ERROR))) { throw css::uno::RuntimeException( - rtl::OUString( + OUString( RTL_CONSTASCII_USTRINGPARAM( "UNO string contains invalid UTF-16 sequence")), css::uno::Reference< css::uno::XInterface >()); @@ -148,13 +148,13 @@ void Marshal::writeType( } else { write8(buffer, static_cast< sal_uInt8 >(tc) | 0x80); write16(buffer, idx); - writeString(buffer, rtl::OUString(value.get()->pTypeName)); + writeString(buffer, OUString(value.get()->pTypeName)); } } } void Marshal::writeOid( - std::vector< unsigned char > * buffer, rtl::OUString const & oid) + std::vector< unsigned char > * buffer, OUString const & oid) { bool found; sal_uInt16 idx; @@ -223,7 +223,7 @@ void Marshal::writeValue( case typelib_TypeClass_STRING: writeString( buffer, - rtl::OUString(*static_cast< rtl_uString * const * >(value))); + OUString(*static_cast< rtl_uString * const * >(value))); break; case typelib_TypeClass_TYPE: writeType( |