summaryrefslogtreecommitdiff
path: root/binaryurp/source/reader.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2011-12-10 17:29:21 -0200
committerIvan Timofeev <timofeev.i.s@gmail.com>2011-12-13 00:11:25 +0400
commit9201704ede70498a850bee6d15f0340d58f3889c (patch)
tree56a01cff17d5f5c707d113c9fd2081fd4a640ac9 /binaryurp/source/reader.cxx
parent96692c301d67bd74f9a97f6b998bec6314be1b44 (diff)
Fix for fdo43460 Part IV getLength to isEmpty
Part IV Module basic (small fix per demand from Ivan Timofeev) binaryurp bridges
Diffstat (limited to 'binaryurp/source/reader.cxx')
-rw-r--r--binaryurp/source/reader.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/binaryurp/source/reader.cxx b/binaryurp/source/reader.cxx
index c052fadc5629..e6b6f06797d9 100644
--- a/binaryurp/source/reader.cxx
+++ b/binaryurp/source/reader.cxx
@@ -215,7 +215,7 @@ void Reader::readMessage(Unmarshal & unmarshal) {
rtl::OUString oid;
if (newOid) {
oid = unmarshal.readOid();
- if (oid.getLength() == 0) {
+ if (oid.isEmpty()) {
throw css::io::IOException(
rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM(
@@ -224,7 +224,7 @@ void Reader::readMessage(Unmarshal & unmarshal) {
}
lastOid_ = oid;
} else {
- if (lastOid_.getLength() == 0) {
+ if (lastOid_.isEmpty()) {
throw css::uno::RuntimeException(
rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM(