summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-21 15:53:55 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-21 15:54:52 +0100
commita3f32769fc4bb23c64168b412dd10ec769a3854d (patch)
tree92bb435946dcfc422c9816bc05c150069a2da3c3 /filter
parent35539318cecddc9ccb2904573a894ea05adc432c (diff)
Fix bogus mass-conversion equalsAsciiL -> startsWith
3af99e4d59d89c343965a928681a30f36b1007d2 "convert equalsAsciiL calls to startsWith calls" should rather have converted to oprator ==. Change-Id: Id4a8836c5d6d570e54661c40be7214632e202b21
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/eschesdo.cxx2
-rw-r--r--filter/source/placeware/filter.cxx6
-rw-r--r--filter/source/xsltdialog/xmlfiltersettingsdialog.cxx2
3 files changed, 5 insertions, 5 deletions
diff --git a/filter/source/msfilter/eschesdo.cxx b/filter/source/msfilter/eschesdo.cxx
index fa697ee0beae..c5fb1936374a 100644
--- a/filter/source/msfilter/eschesdo.cxx
+++ b/filter/source/msfilter/eschesdo.cxx
@@ -1079,7 +1079,7 @@ basegfx::B2DRange getUnrotatedGroupBoundRange(const Reference< XShape >& rxShape
{
if(rxShape.is())
{
- if(rxShape->getShapeType().startsWith("com.sun.star.drawing.GroupShape"))
+ if(rxShape->getShapeType() == "com.sun.star.drawing.GroupShape")
{
// it's a group shape, iterate over children
const Reference< XIndexAccess > xXIndexAccess(rxShape, UNO_QUERY);
diff --git a/filter/source/placeware/filter.cxx b/filter/source/placeware/filter.cxx
index 9077bcb44777..55812d982def 100644
--- a/filter/source/placeware/filter.cxx
+++ b/filter/source/placeware/filter.cxx
@@ -89,15 +89,15 @@ sal_Bool SAL_CALL PlaceWareExportFilter::filter( const ::com::sun::star::uno::Se
Reference < XStatusIndicator > xStatusIndicator;
for ( sal_Int32 i = 0 ; i < nLength; i++)
{
- if ( pValue[i].Name.startsWith( "OutputStream" ) )
+ if ( pValue[i].Name == "OutputStream" )
{
pValue[i].Value >>= xOutputStream;
}
- else if( pValue[i].Name.startsWith( "URL" ) )
+ else if( pValue[i].Name == "URL" )
{
pValue[i].Value >>= sURL;
}
- else if( pValue[i].Name.startsWith( "InteractionHandler" ) )
+ else if( pValue[i].Name == "InteractionHandler" )
{
pValue[i].Value >>= xInteractionHandler;
}
diff --git a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
index 0e13d7b2d859..869f98104938 100644
--- a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
+++ b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx
@@ -1115,7 +1115,7 @@ void XMLFilterSettingsDialog::initFilterList()
}
// if this is not a XmlFilterAdaptor entry, skip it
- if( !aFilterService.startsWith( "com.sun.star.comp.Writer.XmlFilterAdaptor" ) )
+ if( aFilterService != "com.sun.star.comp.Writer.XmlFilterAdaptor" )
continue;