summaryrefslogtreecommitdiff
path: root/sw/source/ui/uno/swdetect.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/uno/swdetect.cxx')
-rw-r--r--sw/source/ui/uno/swdetect.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/uno/swdetect.cxx b/sw/source/ui/uno/swdetect.cxx
index 734a9ce54267..cf4d6135ac91 100644
--- a/sw/source/ui/uno/swdetect.cxx
+++ b/sw/source/ui/uno/swdetect.cxx
@@ -405,7 +405,7 @@ SwFilterDetect::~SwFilterDetect()
lDescriptor[nIndexOfTemplateFlag].Value <<= bOpenAsTemplate;
}
- if ( aDocumentTitle.getLength() )
+ if ( !aDocumentTitle.isEmpty() )
{
// the title was set here
if ( nIndexOfDocumentTitle == -1 )