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 /svtools | |
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 'svtools')
-rw-r--r-- | svtools/source/uno/unogridcolumnfacade.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/svtools/source/uno/unogridcolumnfacade.cxx b/svtools/source/uno/unogridcolumnfacade.cxx index 8c936425f980..3c63cbcb2c3d 100644 --- a/svtools/source/uno/unogridcolumnfacade.cxx +++ b/svtools/source/uno/unogridcolumnfacade.cxx @@ -146,12 +146,12 @@ namespace svt { namespace table if ( i_event.AttributeName == "HorizontalAlign" ) nChangedAttributes |= COL_ATTRS_APPEARANCE; - if ( i_event.AttributeName.startsWith("ColumnWidth") - || i_event.AttributeName.startsWith("MaxWidth") - || i_event.AttributeName.startsWith("MinWidth") - || i_event.AttributeName.startsWith("PreferredWidth") - || i_event.AttributeName.startsWith("Resizeable") - || i_event.AttributeName.startsWith("Flexibility") + if ( i_event.AttributeName == "ColumnWidth" + || i_event.AttributeName == "MaxWidth" + || i_event.AttributeName == "MinWidth" + || i_event.AttributeName == "PreferredWidth" + || i_event.AttributeName == "Resizeable" + || i_event.AttributeName == "Flexibility" ) nChangedAttributes |= COL_ATTRS_WIDTH; |