summaryrefslogtreecommitdiff
path: root/uui/source/iahndl-locking.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-01-19 22:05:49 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-01-19 22:07:59 -0200
commitc571e8777d15fd1c3f8730a7c1325d75c746333d (patch)
tree12d0cc47280c0a6235c5ba40744cb8560095672f /uui/source/iahndl-locking.cxx
parent5738e07a78c5894d111ee6c6e0d07b56ff126b2c (diff)
Fix for fdo43460 Part XLIII getLength() to isEmpty()
Part XLIII Modules uui
Diffstat (limited to 'uui/source/iahndl-locking.cxx')
-rw-r--r--uui/source/iahndl-locking.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/uui/source/iahndl-locking.cxx b/uui/source/iahndl-locking.cxx
index 79917dee74e7..e03e21714481 100644
--- a/uui/source/iahndl-locking.cxx
+++ b/uui/source/iahndl-locking.cxx
@@ -96,7 +96,7 @@ handleLockedDocumentRequest_(
sal_Int32 nResult = RET_CANCEL;
if ( nMode == UUI_DOC_LOAD_LOCK )
{
- aArguments.push_back( aInfo.getLength()
+ aArguments.push_back( !aInfo.isEmpty()
? aInfo
: ::rtl::OUString( String(
ResId( STR_UNKNOWNUSER,
@@ -111,7 +111,7 @@ handleLockedDocumentRequest_(
}
else if ( nMode == UUI_DOC_SAVE_LOCK )
{
- aArguments.push_back( aInfo.getLength()
+ aArguments.push_back( !aInfo.isEmpty()
? aInfo
: ::rtl::OUString( String(
ResId( STR_UNKNOWNUSER,