diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-31 08:01:08 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-31 08:01:08 +0200 |
commit | d829012eff28d1b6463495537507d5e912581325 (patch) | |
tree | 5476aec7a5522b1f2f555500c92494e86ff811b5 | |
parent | 54644d657d1257a955c94dc7e91c8c2e59c51ff3 (diff) |
loplugin:stringconstant: OUStringBuffer: appendAscii -> append
Change-Id: I03529fd3a769d0ebf1f17e3885cd6ecb691a8678
-rw-r--r-- | toolkit/source/awt/animatedimagespeer.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/controls/grid/defaultgridcolumnmodel.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/controls/unocontrolmodel.cxx | 10 |
3 files changed, 7 insertions, 7 deletions
diff --git a/toolkit/source/awt/animatedimagespeer.cxx b/toolkit/source/awt/animatedimagespeer.cxx index 30ba414527b7..fdd6134053bd 100644 --- a/toolkit/source/awt/animatedimagespeer.cxx +++ b/toolkit/source/awt/animatedimagespeer.cxx @@ -122,7 +122,7 @@ namespace toolkit OUStringBuffer composer; composer.append( i_imageURL.copy( 0, separatorPos ) ); - composer.appendAscii( "/hicontrast" ); + composer.append( "/hicontrast" ); composer.append( i_imageURL.copy( separatorPos ) ); return composer.makeStringAndClear(); } diff --git a/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx b/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx index 5af1e6699adc..f6e1b61cc8e7 100644 --- a/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx +++ b/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx @@ -274,7 +274,7 @@ private: ::rtl::Reference< GridColumn > const pGridColumn = new GridColumn(); Reference< XGridColumn > const xColumn( pGridColumn.get() ); OUStringBuffer colTitle; - colTitle.appendAscii( "Column " ); + colTitle.append( "Column " ); colTitle.append( i + 1 ); pGridColumn->setTitle( colTitle.makeStringAndClear() ); pGridColumn->setColumnWidth( 80 /* APPFONT */ ); diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx index c3e2a9a6c87a..9498f0652145 100644 --- a/toolkit/source/controls/unocontrolmodel.cxx +++ b/toolkit/source/controls/unocontrolmodel.cxx @@ -1144,13 +1144,13 @@ sal_Bool UnoControlModel::convertFastPropertyValue( Any & rConvertedValue, Any & if (!bConverted) { OUStringBuffer aErrorMessage; - aErrorMessage.appendAscii( "Unable to convert the given value for the property " ); + aErrorMessage.append( "Unable to convert the given value for the property " ); aErrorMessage.append ( GetPropertyName( (sal_uInt16)nPropId ) ); - aErrorMessage.appendAscii( ".\n" ); - aErrorMessage.appendAscii( "Expected type: " ); + aErrorMessage.append( ".\n" ); + aErrorMessage.append( "Expected type: " ); aErrorMessage.append ( pDestType->getTypeName() ); - aErrorMessage.appendAscii( "\n" ); - aErrorMessage.appendAscii( "Found type: " ); + aErrorMessage.append( "\n" ); + aErrorMessage.append( "Found type: " ); aErrorMessage.append ( rValue.getValueType().getTypeName() ); throw ::com::sun::star::lang::IllegalArgumentException( aErrorMessage.makeStringAndClear(), |