summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-31 08:01:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-31 08:01:12 +0200
commit5fb46c8778be27e2838cc61b14e2af5d4647726c (patch)
tree60d2662bcda986bb4a21c6e00bd54bef6cfbdd13 /sw
parentd829012eff28d1b6463495537507d5e912581325 (diff)
loplugin:stringconstant: OUStringBuffer: appendAscii -> append
Change-Id: Ib63853954af0b95d4258abff789b85969972982c
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/docxexport.cxx2
-rw-r--r--sw/source/uibase/uno/unomod.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/docxexport.cxx b/sw/source/filter/ww8/docxexport.cxx
index c7256d7f105d..8fe0344feb2e 100644
--- a/sw/source/filter/ww8/docxexport.cxx
+++ b/sw/source/filter/ww8/docxexport.cxx
@@ -374,7 +374,7 @@ OString DocxExport::WriteOLEObject( SwOLEObj& rObject, const OUString& sMediaTyp
OUString sFileName = "embeddings/oleObject" + OUString::number( ++m_nOLEObjects ) + "." + sFileExtension;
uno::Reference< io::XOutputStream > xOutStream = GetFilter().openFragmentStream( OUStringBuffer()
- .appendAscii( "word/" )
+ .append( "word/" )
.append( sFileName )
.makeStringAndClear(),
sMediaType );
diff --git a/sw/source/uibase/uno/unomod.cxx b/sw/source/uibase/uno/unomod.cxx
index 9114ad8d8d17..1df1eba5e9a7 100644
--- a/sw/source/uibase/uno/unomod.cxx
+++ b/sw/source/uibase/uno/unomod.cxx
@@ -915,7 +915,7 @@ void SwXViewSettings::_getSingleValue( const comphelper::PropertyInfo & rInfo, u
{
bBool = false;
OUStringBuffer sHelpURL;
- sHelpURL.appendAscii ( INET_HID_SCHEME );
+ sHelpURL.append ( INET_HID_SCHEME );
SwEditWin &rEditWin = pView->GetEditWin();
sHelpURL.append( OUString::fromUtf8( rEditWin.GetHelpId() ) );
rValue <<= sHelpURL.makeStringAndClear();