diff options
Diffstat (limited to 'extensions/source/scanner/sane.cxx')
-rw-r--r-- | extensions/source/scanner/sane.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/scanner/sane.cxx b/extensions/source/scanner/sane.cxx index a790375485b9..7ed2a978c42c 100644 --- a/extensions/source/scanner/sane.cxx +++ b/extensions/source/scanner/sane.cxx @@ -296,7 +296,7 @@ bool Sane::Open( const char* name ) OString aDevice( name ); for( int i = 0; i < nDevices; i++ ) { - if( aDevice.equals( ppDevices[i]->name ) ) + if( aDevice == ppDevices[i]->name ) { mnDevice = i; break; @@ -335,7 +335,7 @@ int Sane::GetOptionByName( const char* rName ) OString aOption( rName ); for( i = 0; i < mnOptions; i++ ) { - if( mppOptions[i]->name && aOption.equals( mppOptions[i]->name ) ) + if( mppOptions[i]->name && aOption == mppOptions[i]->name ) return i; } return -1; |