From 1984e24f0aa200b130f46b94be4b8b7c0f3675c0 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 22 Aug 2013 11:16:46 +0200 Subject: fix windows build after my String->OUString changes One of the changes is inside an "#ifdef WNT" block, so I missed it. The other change is because MSVC is not quite as smart when it comes to matching the "const char *" OUString constructors. Change-Id: I60f2ccb719630bab2a178cecc2f84b7a706ad230 --- svtools/source/contnr/fileview.cxx | 2 +- svtools/source/control/inettbc.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'svtools') diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx index ffa59261879c..cbd291719bf5 100644 --- a/svtools/source/contnr/fileview.cxx +++ b/svtools/source/contnr/fileview.cxx @@ -1570,7 +1570,7 @@ OUString SvtFileView::GetConfigString() const sRet += ";"; HeaderBarItemBits nBits = pBar->GetItemBits( mpImp->mnSortColumn ); sal_Bool bUp = ( ( nBits & HIB_UPARROW ) == HIB_UPARROW ); - sRet += bUp ? "1" : "0"; + sRet += OUString( bUp ? "1" : "0" ); sRet += ";"; sal_uInt16 nCount = pBar->GetItemCount(); diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx index 4b9783e54d70..d145c1238ef5 100644 --- a/svtools/source/control/inettbc.cxx +++ b/svtools/source/control/inettbc.cxx @@ -512,7 +512,7 @@ OUString SvtURLBox::ParseSmart( OUString aText, OUString aBaseURL, const OUStrin { // cut to first segment OUString aTmp = INetURLObject::GetScheme( eBaseProt ); - aTmp += '/'; + aTmp += "/"; aTmp += aObj.getName( 0, true, INetURLObject::DECODE_WITH_CHARSET ); aObj.SetURL( aTmp ); -- cgit