diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2011-12-10 17:29:21 -0200 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2011-12-13 00:11:25 +0400 |
commit | 9201704ede70498a850bee6d15f0340d58f3889c (patch) | |
tree | 56a01cff17d5f5c707d113c9fd2081fd4a640ac9 /binaryurp/source/bridgefactory.cxx | |
parent | Revert "remove lazy init of edit view to fix strange core ( open insert|formu... (diff) | |
download | core-9201704ede70498a850bee6d15f0340d58f3889c.tar.gz core-9201704ede70498a850bee6d15f0340d58f3889c.zip |
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/bridgefactory.cxx')
-rw-r--r-- | binaryurp/source/bridgefactory.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/binaryurp/source/bridgefactory.cxx b/binaryurp/source/bridgefactory.cxx index 5c9105585916..0edbaa0c19cc 100644 --- a/binaryurp/source/bridgefactory.cxx +++ b/binaryurp/source/bridgefactory.cxx @@ -80,7 +80,7 @@ void BridgeFactory::removeBridge( assert(bridge.is()); rtl::OUString n(bridge->getName()); osl::MutexGuard g(*this); - if (n.getLength() == 0) { + if (n.isEmpty()) { BridgeList::iterator i( std::find(unnamed_.begin(), unnamed_.end(), bridge)); if (i != unnamed_.end()) { @@ -154,7 +154,7 @@ css::uno::Reference< css::bridge::XBridge > BridgeFactory::createBridge( static_cast< cppu::OWeakObject * >(this), -1); } b.set(new Bridge(this, sName, aConnection, anInstanceProvider)); - if (sName.getLength() == 0) { + if (sName.isEmpty()) { unnamed_.push_back( css::uno::Reference< css::bridge::XBridge >(b.get())); } else { |