diff options
author | Noel Grandin <noel@peralex.com> | 2013-08-22 11:16:46 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-08-22 11:18:17 +0200 |
commit | 1984e24f0aa200b130f46b94be4b8b7c0f3675c0 (patch) | |
tree | a68e6027cc00148d5610938b578ea503f5b91aa6 /svtools | |
parent | 8a569f1c4decc7440e9dae1af35d7fa59c3b0121 (diff) |
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
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/fileview.cxx | 2 | ||||
-rw-r--r-- | svtools/source/control/inettbc.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
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 ); |