diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2011-12-26 17:19:24 -0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2011-12-30 11:52:45 +0100 |
commit | a17fb882569046cd9f6940cf2e87435200bb666b (patch) | |
tree | 36c9a0bff1d5dd5490c03f36553f5ae7b0f4bdf1 /io | |
parent | 6cfae09e5dafa477db210272949e253d4fb24349 (diff) |
Fix for fdo43460 Part XXI getLength() to isEmpty()
Part XXI
Modules
i18npool, idl, idlc, io, javaunohelper, jvmaccess
Diffstat (limited to 'io')
-rw-r--r-- | io/source/acceptor/acceptor.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io/source/acceptor/acceptor.cxx b/io/source/acceptor/acceptor.cxx index d5dec6a0af8e..62f0e6e4e589 100644 --- a/io/source/acceptor/acceptor.cxx +++ b/io/source/acceptor/acceptor.cxx @@ -145,7 +145,7 @@ namespace io_acceptor struct BeingInAccept guard( &m_bInAccept, sConnectionDescription ); Reference< XConnection > r; - if( m_sLastDescription.getLength() && + if( !m_sLastDescription.isEmpty() && m_sLastDescription != sConnectionDescription ) { // instantiate another acceptor for different ports @@ -154,7 +154,7 @@ namespace io_acceptor throw ConnectionSetupException( sMessage, Reference< XInterface > () ); } - if( ! m_sLastDescription.getLength() ) + if( m_sLastDescription.isEmpty() ) { // setup the acceptor try |