summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-31 08:01:16 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-31 08:01:16 +0200
commitc77ebeaf54b252dc2003a488222b407bd819ea5b (patch)
tree4b29873580df8319830352f05d500bf07dda600b /svx
parent5fb46c8778be27e2838cc61b14e2af5d4647726c (diff)
loplugin:stringconstant: OUStringBuffer: appendAscii -> append
Change-Id: I34cde265442834565c9d0c55ae8c2ee9cc8fc58d
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/databaselocationinput.cxx2
-rw-r--r--svx/source/form/fmscriptingenv.cxx6
-rw-r--r--svx/source/form/fmshimp.cxx4
-rw-r--r--svx/source/form/formcontrolfactory.cxx4
-rw-r--r--svx/source/form/formcontroller.cxx8
-rw-r--r--svx/source/svdraw/svdocirc.cxx4
-rw-r--r--svx/source/svdraw/svdorect.cxx2
7 files changed, 15 insertions, 15 deletions
diff --git a/svx/source/form/databaselocationinput.cxx b/svx/source/form/databaselocationinput.cxx
index b10c94b79dee..54ab8fca8a55 100644
--- a/svx/source/form/databaselocationinput.cxx
+++ b/svx/source/form/databaselocationinput.cxx
@@ -237,7 +237,7 @@ namespace svx
);
aFileDlg.SetDisplayDirectory( impl_getCurrentURL() );
- aFileDlg.AddFilter( m_sFilterUIName, OUStringBuffer().appendAscii( "*." ).append( m_aFilterExtensions[0] ).makeStringAndClear() );
+ aFileDlg.AddFilter( m_sFilterUIName, OUStringBuffer().append( "*." ).append( m_aFilterExtensions[0] ).makeStringAndClear() );
aFileDlg.SetCurrentFilter( m_sFilterUIName );
if ( aFileDlg.Execute() == ERRCODE_NONE )
diff --git a/svx/source/form/fmscriptingenv.cxx b/svx/source/form/fmscriptingenv.cxx
index ff6121406c08..3c7690cb47d9 100644
--- a/svx/source/form/fmscriptingenv.cxx
+++ b/svx/source/form/fmscriptingenv.cxx
@@ -954,10 +954,10 @@ namespace svxform
}
OUStringBuffer aScriptURI;
- aScriptURI.appendAscii( "vnd.sun.star.script:" );
+ aScriptURI.append( "vnd.sun.star.script:" );
aScriptURI.append( sScriptCode );
- aScriptURI.appendAscii( "?language=Basic" );
- aScriptURI.appendAscii( "&location=" );
+ aScriptURI.append( "?language=Basic" );
+ aScriptURI.append( "&location=" );
aScriptURI.append( sMacroLocation );
const OUString sScriptURI( aScriptURI.makeStringAndClear() );
diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx
index 7f56255a547f..26eb92760b0d 100644
--- a/svx/source/form/fmshimp.cxx
+++ b/svx/source/form/fmshimp.cxx
@@ -2915,9 +2915,9 @@ void FmXFormShell::impl_collectFormSearchContexts_nothrow( const Reference< XInt
OUStringBuffer sCompleteCurrentName( sCurrentFormName );
if ( !_rCurrentLevelPrefix.isEmpty() )
{
- sCompleteCurrentName.appendAscii( " (" );
+ sCompleteCurrentName.append( " (" );
sCompleteCurrentName.append ( _rCurrentLevelPrefix );
- sCompleteCurrentName.appendAscii( ")" );
+ sCompleteCurrentName.append( ")" );
}
// the prefix for the next level
diff --git a/svx/source/form/formcontrolfactory.cxx b/svx/source/form/formcontrolfactory.cxx
index 3af8a0f8c7fa..671697fe7cc9 100644
--- a/svx/source/form/formcontrolfactory.cxx
+++ b/svx/source/form/formcontrolfactory.cxx
@@ -173,7 +173,7 @@ namespace svxform
while ( aUsedLabels.find( sLabel ) != aUsedLabels.end() )
{
OUStringBuffer aBuffer( _rBaseLabel );
- aBuffer.appendAscii( " " );
+ aBuffer.append( " " );
aBuffer.append( (sal_Int32)i++ );
sLabel = aBuffer.makeStringAndClear();
}
@@ -707,7 +707,7 @@ namespace svxform
do
{
OUStringBuffer aBuf( _rBaseName );
- aBuf.appendAscii( " " );
+ aBuf.append( " " );
aBuf.append( ++n );
sName = aBuf.makeStringAndClear();
}
diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx
index 683ad82edb3d..93042cf4b26a 100644
--- a/svx/source/form/formcontroller.cxx
+++ b/svx/source/form/formcontroller.cxx
@@ -827,18 +827,18 @@ void FormController::getFastPropertyValue( Any& rValue, sal_Int32 nHandle ) cons
// don't use a parse context here, we need it unlocalized
pParseNode->parseNodeToStr( sCriteria, xConnection, NULL );
if ( condition != rRow.begin() )
- aRowFilter.appendAscii( " AND " );
+ aRowFilter.append( " AND " );
aRowFilter.append( sCriteria );
}
}
if ( !aRowFilter.isEmpty() )
{
if ( !aFilter.isEmpty() )
- aFilter.appendAscii( " OR " );
+ aFilter.append( " OR " );
- aFilter.appendAscii( "( " );
+ aFilter.append( "( " );
aFilter.append( aRowFilter.makeStringAndClear() );
- aFilter.appendAscii( " )" );
+ aFilter.append( " )" );
}
}
}
diff --git a/svx/source/svdraw/svdocirc.cxx b/svx/source/svdraw/svdocirc.cxx
index 8c75b1656a7a..d0716bd841cc 100644
--- a/svx/source/svdraw/svdocirc.cxx
+++ b/svx/source/svdraw/svdocirc.cxx
@@ -576,7 +576,7 @@ OUString SdrCircObj::getSpecialDragComment(const SdrDragStat& rDrag) const
const ImpCircUser* pU = static_cast<const ImpCircUser*>(rDrag.GetUser());
sal_Int32 nAngle;
- aBuf.appendAscii(" (");
+ aBuf.append(" (");
if(3 == nPointCount)
{
@@ -604,7 +604,7 @@ OUString SdrCircObj::getSpecialDragComment(const SdrDragStat& rDrag) const
OUString aStr;
ImpTakeDescriptionStr(STR_DragCircAngle, aStr);
OUStringBuffer aBuf(aStr);
- aBuf.appendAscii(" (");
+ aBuf.append(" (");
aBuf.append(GetAngleStr(nAngle));
aBuf.append(')');
diff --git a/svx/source/svdraw/svdorect.cxx b/svx/source/svdraw/svdorect.cxx
index 24be46ef69d2..97a69da772de 100644
--- a/svx/source/svdraw/svdorect.cxx
+++ b/svx/source/svdraw/svdorect.cxx
@@ -460,7 +460,7 @@ OUString SdrRectObj::getSpecialDragComment(const SdrDragStat& rDrag) const
OUString aStr;
ImpTakeDescriptionStr(STR_DragRectEckRad, aStr);
OUStringBuffer aBuf(aStr);
- aBuf.appendAscii(" (");
+ aBuf.append(" (");
aBuf.append(GetMetrStr(nRad));
aBuf.append(')');