diff options
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/filter/SvFilterOptionsDialog.cxx | 2 | ||||
-rw-r--r-- | svtools/source/uno/unogridcolumnfacade.cxx | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/svtools/source/filter/SvFilterOptionsDialog.cxx b/svtools/source/filter/SvFilterOptionsDialog.cxx index f0f7541ae90c..d836c75aae75 100644 --- a/svtools/source/filter/SvFilterOptionsDialog.cxx +++ b/svtools/source/filter/SvFilterOptionsDialog.cxx @@ -168,7 +168,7 @@ void SvFilterOptionsDialog::setPropertyValues( const uno::Sequence< beans::Prope { maMediaDescriptor[ i ].Value >>= maFilterDataSequence; } - else if ( maMediaDescriptor[ i ].Name.equalsAscii( "SelectionOnly" ) ) + else if ( maMediaDescriptor[ i ].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("SelectionOnly")) ) { maMediaDescriptor[ i ].Value >>= mbExportSelection; } diff --git a/svtools/source/uno/unogridcolumnfacade.cxx b/svtools/source/uno/unogridcolumnfacade.cxx index 62eaf317c828..47f0fe198fac 100644 --- a/svtools/source/uno/unogridcolumnfacade.cxx +++ b/svtools/source/uno/unogridcolumnfacade.cxx @@ -147,7 +147,7 @@ namespace svt { namespace table //------------------------------------------------------------------------------------------------------------------ void SAL_CALL ColumnChangeMultiplexer::columnChanged( const GridColumnEvent& i_event ) throw (RuntimeException) { - if ( i_event.AttributeName.equalsAscii( "DataColumnIndex" ) ) + if ( i_event.AttributeName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("DataColumnIndex")) ) { SolarMutexGuard aGuard; if ( m_pColumnImplementation != NULL ) @@ -157,15 +157,15 @@ namespace svt { namespace table ColumnAttributeGroup nChangedAttributes( COL_ATTRS_NONE ); - if ( i_event.AttributeName.equalsAscii( "HorizontalAlign" ) ) + if ( i_event.AttributeName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("HorizontalAlign")) ) nChangedAttributes |= COL_ATTRS_APPEARANCE; - if ( i_event.AttributeName.equalsAscii( "ColumnWidth" ) - || i_event.AttributeName.equalsAscii( "MaxWidth" ) - || i_event.AttributeName.equalsAscii( "MinWidth" ) - || i_event.AttributeName.equalsAscii( "PreferredWidth" ) - || i_event.AttributeName.equalsAscii( "Resizeable" ) - || i_event.AttributeName.equalsAscii( "Flexibility" ) + if ( i_event.AttributeName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("ColumnWidth")) + || i_event.AttributeName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("MaxWidth")) + || i_event.AttributeName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("MinWidth")) + || i_event.AttributeName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("PreferredWidth")) + || i_event.AttributeName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("Resizeable")) + || i_event.AttributeName.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("Flexibility")) ) nChangedAttributes |= COL_ATTRS_WIDTH; |