diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-21 15:53:55 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-21 15:54:52 +0100 |
commit | a3f32769fc4bb23c64168b412dd10ec769a3854d (patch) | |
tree | 92bb435946dcfc422c9816bc05c150069a2da3c3 /svx/source/gallery2 | |
parent | 35539318cecddc9ccb2904573a894ea05adc432c (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 'svx/source/gallery2')
-rw-r--r-- | svx/source/gallery2/galbrws2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/gallery2/galbrws2.cxx b/svx/source/gallery2/galbrws2.cxx index 3574b7a1164e..ed1ec44e2da5 100644 --- a/svx/source/gallery2/galbrws2.cxx +++ b/svx/source/gallery2/galbrws2.cxx @@ -178,14 +178,14 @@ void SAL_CALL GalleryThemePopup::statusChanged( throw ( css::uno::RuntimeException ) { const OUString &rURL = rEvent.FeatureURL.Complete; - if ( rURL.startsWith( CMD_SID_GALLERY_ENABLE_ADDCOPY ) ) + if ( rURL == CMD_SID_GALLERY_ENABLE_ADDCOPY ) { if ( !rEvent.IsEnabled ) { maPopupMenu.EnableItem( MN_ADD, sal_False ); } } - else if ( rURL.startsWith( CMD_SID_GALLERY_BG_BRUSH ) ) + else if ( rURL == CMD_SID_GALLERY_BG_BRUSH ) { maBackgroundPopup.Clear(); if ( rEvent.IsEnabled ) |