summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-09-25 17:12:43 +0200
committerJan Holesovsky <kendy@collabora.com>2015-09-25 17:12:43 +0200
commitdf35e64d217a1790ca1ff96b7de0cdb100fa2538 (patch)
tree9ea3a6df609ff85db292c55c6e6982c27ae34576
parenta5365dfaed7b92ea58dd9fc842243d7d41db1b01 (diff)
getLength() -> !isEmpty().
Change-Id: Iab205adca1a6bca306d04f2f3dead8b66369d139
-rw-r--r--sw/source/ui/dbui/dbinsdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/dbui/dbinsdlg.cxx b/sw/source/ui/dbui/dbinsdlg.cxx
index 6ca1e47447cb..dd39814520c2 100644
--- a/sw/source/ui/dbui/dbinsdlg.cxx
+++ b/sw/source/ui/dbui/dbinsdlg.cxx
@@ -1757,7 +1757,7 @@ void SwInsertDBColAutoPilot::Load()
pTableStyle = 0;
sTmp = pNewData->sTAutoFormatNm;
- if( sTmp.getLength() )
+ if( !sTmp.isEmpty() )
{
pTableStyle = pView->GetWrtShell().GetDoc()->GetTableStyles()->FindStyle( sTmp );
}