summaryrefslogtreecommitdiff
path: root/filter/source/svg
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/svg')
-rw-r--r--filter/source/svg/svgexport.cxx4
-rw-r--r--filter/source/svg/svgfilter.cxx4
-rw-r--r--filter/source/svg/svgimport.cxx4
3 files changed, 6 insertions, 6 deletions
diff --git a/filter/source/svg/svgexport.cxx b/filter/source/svg/svgexport.cxx
index df104a4cfb17..f2e0fc7159a3 100644
--- a/filter/source/svg/svgexport.cxx
+++ b/filter/source/svg/svgexport.cxx
@@ -459,9 +459,9 @@ sal_Bool SVGFilter::implExport( const Sequence< PropertyValue >& rDescriptor )
for ( sal_Int32 i = 0 ; i < nLength; ++i)
{
- if( pValue[ i ].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "OutputStream" ) ) )
+ if ( pValue[ i ].Name == "OutputStream" )
pValue[ i ].Value >>= xOStm;
- else if( pValue[ i ].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "FileName" ) ) )
+ else if ( pValue[ i ].Name == "FileName" )
{
::rtl::OUString aFileName;
diff --git a/filter/source/svg/svgfilter.cxx b/filter/source/svg/svgfilter.cxx
index a77e9b3fbfb6..ed8e0883c3a8 100644
--- a/filter/source/svg/svgfilter.cxx
+++ b/filter/source/svg/svgfilter.cxx
@@ -170,7 +170,7 @@ sal_Bool SAL_CALL SVGFilter::filter( const Sequence< PropertyValue >& rDescripto
for ( sal_Int32 i = 0 ; i < nLength; ++i)
{
- if( pValue[ i ].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "PagePos" ) ) )
+ if ( pValue[ i ].Name == "PagePos" )
{
pValue[ i ].Value >>= nPageToExport;
}
@@ -273,7 +273,7 @@ rtl::OUString SAL_CALL SVGFilter::detect( Sequence< PropertyValue >& io_rDescrip
const sal_Int32 nAttribs = io_rDescriptor.getLength();
for( sal_Int32 i = 0; i < nAttribs; i++ )
{
- if( pAttribs[i].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "InputStream" ) ) )
+ if ( pAttribs[i].Name == "InputStream" )
pAttribs[i].Value >>= xInput;
}
diff --git a/filter/source/svg/svgimport.cxx b/filter/source/svg/svgimport.cxx
index de2a762aad4e..a0582ce18cce 100644
--- a/filter/source/svg/svgimport.cxx
+++ b/filter/source/svg/svgimport.cxx
@@ -61,11 +61,11 @@ sal_Bool SVGFilter::implImport( const Sequence< PropertyValue >& rDescriptor )
const beans::PropertyValue* pAttribs = rDescriptor.getConstArray();
for ( sal_Int32 i=0 ; i<nLength; ++i, ++pAttribs )
{
- if( pAttribs->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "InputStream" ) ) )
+ if ( pAttribs->Name == "InputStream" )
{
pAttribs->Value >>= xInputStream;
}
- else if( pAttribs->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "StatusIndicator" ) ) )
+ else if ( pAttribs->Name == "StatusIndicator" )
pAttribs->Value >>= xStatus;
}