summaryrefslogtreecommitdiff
path: root/writerfilter/source/filter
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-01-23 17:15:58 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-01-23 19:17:18 -0200
commitf94399ef8023ad3b21528ecdc00e44366d4c3fe5 (patch)
tree2f560eefe134f3dfe49f7e35dcb1c3345750bf26 /writerfilter/source/filter
parent558112542348bcbd754853847c968e2203abf269 (diff)
Fix for fdo43460 Part XLV getLength() to isEmpty()
Part XLV Modules writerfilter, writerperfect
Diffstat (limited to 'writerfilter/source/filter')
-rw-r--r--writerfilter/source/filter/WriterFilterDetection.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/filter/WriterFilterDetection.cxx b/writerfilter/source/filter/WriterFilterDetection.cxx
index 994ac218f221..ff2e22e00bd1 100644
--- a/writerfilter/source/filter/WriterFilterDetection.cxx
+++ b/writerfilter/source/filter/WriterFilterDetection.cxx
@@ -127,7 +127,7 @@ OUString WriterFilterDetection::detect( uno::Sequence< beans::PropertyValue >& r
if(pNames[nName].equalsAsciiL(RTL_CONSTASCII_STRINGPARAM ( "word" )))
{
bWord = true;
- if( !sTypeName.getLength() )
+ if( sTypeName.isEmpty() )
sTypeName = ::rtl::OUString(
RTL_CONSTASCII_STRINGPARAM( "writer_MS_Word_2007" ), RTL_TEXTENCODING_ASCII_US);
break;