diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-14 10:34:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-14 11:30:42 +0200 |
commit | 4ccd802d9a0530ec74b52d2ad7fbaa2d085223cb (patch) | |
tree | d8125e758537f4f2c7af52ef55a9a082e8645d93 /svx/source/tbxctrls/fontworkgallery.cxx | |
parent | 4948a0137992b33c7adfd3d91eb7b0387da11dff (diff) |
use more OUString::operator== in svx
Change-Id: Ice996c741e239767a7a15fe9b11147f5384150ba
Reviewed-on: https://gerrit.libreoffice.org/39940
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/tbxctrls/fontworkgallery.cxx')
-rw-r--r-- | svx/source/tbxctrls/fontworkgallery.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/tbxctrls/fontworkgallery.cxx b/svx/source/tbxctrls/fontworkgallery.cxx index f5e4a426156d..d86c84067e57 100644 --- a/svx/source/tbxctrls/fontworkgallery.cxx +++ b/svx/source/tbxctrls/fontworkgallery.cxx @@ -301,7 +301,7 @@ void FontworkAlignmentWindow::implSetAlignment( int nSurface, bool bEnabled ) void FontworkAlignmentWindow::statusChanged( const css::frame::FeatureStateEvent& Event ) { - if( Event.FeatureURL.Main.equals( msFontworkAlignment ) ) + if( Event.FeatureURL.Main == msFontworkAlignment ) { if( !Event.IsEnabled ) { @@ -483,7 +483,7 @@ void FontworkCharacterSpacingWindow::implSetKernCharacterPairs( bool bEnabled ) void FontworkCharacterSpacingWindow::statusChanged( const css::frame::FeatureStateEvent& Event ) { - if( Event.FeatureURL.Main.equals( msFontworkCharacterSpacing ) ) + if( Event.FeatureURL.Main == msFontworkCharacterSpacing ) { if( !Event.IsEnabled ) { @@ -496,7 +496,7 @@ void FontworkCharacterSpacingWindow::statusChanged( const css::frame::FeatureSta implSetCharacterSpacing( nValue, true ); } } - else if( Event.FeatureURL.Main.equals( msFontworkKernCharacterPairs ) ) + else if( Event.FeatureURL.Main == msFontworkKernCharacterPairs ) { if( !Event.IsEnabled ) { |