summaryrefslogtreecommitdiff
path: root/sfx2/source/appl
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/appl')
-rw-r--r--sfx2/source/appl/appserv.cxx2
-rw-r--r--sfx2/source/appl/sfxpicklist.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx
index 27abf6c80394..7fc357a4fbd8 100644
--- a/sfx2/source/appl/appserv.cxx
+++ b/sfx2/source/appl/appserv.cxx
@@ -1052,7 +1052,7 @@ void SfxApplication::OfaExec_Impl( SfxRequest& rReq )
if ( xSystemShell.is() && !sTemplRepoURL.isEmpty() )
{
OUStringBuffer aURLBuf( sTemplRepoURL );
- aURLBuf.appendAscii(RTL_CONSTASCII_STRINGPARAM("?lang="));
+ aURLBuf.append("?lang=");
// read locale from configuration
OUString sLocale(officecfg::Setup::L10N::ooLocale::get());
diff --git a/sfx2/source/appl/sfxpicklist.cxx b/sfx2/source/appl/sfxpicklist.cxx
index 9ec4aa3fb435..4b5b3fd17a3c 100644
--- a/sfx2/source/appl/sfxpicklist.cxx
+++ b/sfx2/source/appl/sfxpicklist.cxx
@@ -82,10 +82,10 @@ void SfxPickList::CreatePicklistMenuTitle( Menu* pMenu, sal_uInt16 nItemId, cons
aPickEntry.append(OUString::number(nNo + 1));
}
else if ( nNo == 9 )
- aPickEntry.appendAscii(RTL_CONSTASCII_STRINGPARAM("1~0"));
+ aPickEntry.append("1~0");
else
aPickEntry.append(OUString::number(nNo + 1));
- aPickEntry.appendAscii(RTL_CONSTASCII_STRINGPARAM(": "));
+ aPickEntry.append(": ");
INetURLObject aURL( aURLString );
OUString aTipHelpText;
@@ -111,7 +111,7 @@ void SfxPickList::CreatePicklistMenuTitle( Menu* pMenu, sal_uInt16 nItemId, cons
if ( aPickEntry.getLength() > 50 )
{
aPickEntry.setLength( 47 );
- aPickEntry.appendAscii(RTL_CONSTASCII_STRINGPARAM("..."));
+ aPickEntry.append("...");
}
}
else