diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-18 23:47:02 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-18 23:48:47 -0200 |
commit | 80fb2e397a60550de72b378215c2e305b29257a9 (patch) | |
tree | befc5cc4cd89e129597247dd0e3d80a7fb8cc35f /ucb/source/ucp/tdoc/tdoc_storage.cxx | |
parent | 3e04e08d371532960917afbcd59307fbd6c1f313 (diff) |
Fix for fdo43460 Part L getLength() to isEmpty()
Part L
Modules
ucb
Diffstat (limited to 'ucb/source/ucp/tdoc/tdoc_storage.cxx')
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_storage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_storage.cxx b/ucb/source/ucp/tdoc/tdoc_storage.cxx index 8d1f1f71ab95..a395bf548008 100644 --- a/ucb/source/ucp/tdoc/tdoc_storage.cxx +++ b/ucb/source/ucp/tdoc/tdoc_storage.cxx @@ -648,7 +648,7 @@ StorageElementFactory::queryStream( // No object re-usage mechanism; streams are seekable => not stateless. uno::Reference< io::XStream > xStream; - if ( rPassword.getLength() > 0 ) + if ( !rPassword.isEmpty() ) { if ( eMode == READ ) { |