diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-03-19 11:32:06 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-03-19 11:32:20 +0100 |
commit | 4c0c23af21db0b72541674c2352df04f48774e81 (patch) | |
tree | fe5697fbc7f793de73531e50711c5b39d9825923 /oox/source/dump | |
parent | 8f2cf65ec9a450441b92ed1f638eda26231a9be7 (diff) |
Simplify equalsIgnoreAsciiCaseAscii[L] calls
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
Diffstat (limited to 'oox/source/dump')
-rw-r--r-- | oox/source/dump/dumperbase.cxx | 2 | ||||
-rw-r--r-- | oox/source/dump/pptxdumper.cxx | 34 |
2 files changed, 18 insertions, 18 deletions
diff --git a/oox/source/dump/dumperbase.cxx b/oox/source/dump/dumperbase.cxx index 8f8aa49516d8..dfa19ba4c013 100644 --- a/oox/source/dump/dumperbase.cxx +++ b/oox/source/dump/dumperbase.cxx @@ -2455,7 +2455,7 @@ void XmlStreamObject::implDumpText( TextInputStream& rTextStrm ) matching start/end elements and the element text on the same line. */ OUStringBuffer aOldStartElem; // special handling for VML - bool bIsVml = InputOutputHelper::getFileNameExtension( maSysFileName ).equalsIgnoreAsciiCaseAscii("vml"); + bool bIsVml = InputOutputHelper::getFileNameExtension( maSysFileName ).equalsIgnoreAsciiCase("vml"); while( !rTextStrm.isEof() ) { diff --git a/oox/source/dump/pptxdumper.cxx b/oox/source/dump/pptxdumper.cxx index 1e372a6a1454..9c9b81f07559 100644 --- a/oox/source/dump/pptxdumper.cxx +++ b/oox/source/dump/pptxdumper.cxx @@ -48,40 +48,40 @@ RootStorageObject::RootStorageObject( const DumperBase& rParent ) void RootStorageObject::implDumpStream( const Reference< XInputStream >& rxStrm, const OUString& rStrgPath, const OUString& rStrmName, const OUString& rSysFileName ) { OUString aExt = InputOutputHelper::getFileNameExtension( rStrmName ); - if( aExt.equalsIgnoreAsciiCaseAscii("pptx") || - aExt.equalsIgnoreAsciiCaseAscii("potx") ) + if( aExt.equalsIgnoreAsciiCase("pptx") || + aExt.equalsIgnoreAsciiCase("potx") ) { Dumper( getContext(), rxStrm, rSysFileName ).dump(); } #ifdef FIXME else if( - aExt.equalsIgnoreAsciiCaseAscii("xlsb") || - aExt.equalsIgnoreAsciiCaseAscii("xlsm") || - aExt.equalsIgnoreAsciiCaseAscii("xlsx") || - aExt.equalsIgnoreAsciiCaseAscii("xltm") || - aExt.equalsIgnoreAsciiCaseAscii("xltx") ) + aExt.equalsIgnoreAsciiCase("xlsb") || + aExt.equalsIgnoreAsciiCase("xlsm") || + aExt.equalsIgnoreAsciiCase("xlsx") || + aExt.equalsIgnoreAsciiCase("xltm") || + aExt.equalsIgnoreAsciiCase("xltx") ) { ::oox::dump::xlsb::Dumper( getContext(), rxStrm, rSysFileName ).dump(); } else if( - aExt.equalsIgnoreAsciiCaseAscii("xla") || - aExt.equalsIgnoreAsciiCaseAscii("xlc") || - aExt.equalsIgnoreAsciiCaseAscii("xlm") || - aExt.equalsIgnoreAsciiCaseAscii("xls") || - aExt.equalsIgnoreAsciiCaseAscii("xlt") || - aExt.equalsIgnoreAsciiCaseAscii("xlw") ) + aExt.equalsIgnoreAsciiCase("xla") || + aExt.equalsIgnoreAsciiCase("xlc") || + aExt.equalsIgnoreAsciiCase("xlm") || + aExt.equalsIgnoreAsciiCase("xls") || + aExt.equalsIgnoreAsciiCase("xlt") || + aExt.equalsIgnoreAsciiCase("xlw") ) { ::oox::dump::biff::Dumper( getContext(), rxStrm, rSysFileName ).dump(); } #endif else if( - aExt.equalsIgnoreAsciiCaseAscii("xml") || - aExt.equalsIgnoreAsciiCaseAscii("vml") || - aExt.equalsIgnoreAsciiCaseAscii("rels") ) + aExt.equalsIgnoreAsciiCase("xml") || + aExt.equalsIgnoreAsciiCase("vml") || + aExt.equalsIgnoreAsciiCase("rels") ) { XmlStreamObject( *this, rxStrm, rSysFileName ).dump(); } - else if( aExt.equalsIgnoreAsciiCaseAscii("bin") ) + else if( aExt.equalsIgnoreAsciiCase("bin") ) { if( rStrgPath == "ppt" && rStrmName == "vbaProject.bin" ) { |