[Libreoffice-commits] core.git: svtools/source

Noel Grandin noel at peralex.com
Thu Aug 22 02:18:46 PDT 2013


 svtools/source/contnr/fileview.cxx |    2 +-
 svtools/source/control/inettbc.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 1984e24f0aa200b130f46b94be4b8b7c0f3675c0
Author: Noel Grandin <noel at peralex.com>
Date:   Thu Aug 22 11:16:46 2013 +0200

    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

diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx
index ffa5926..cbd2917 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 4b9783e..d145c12 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 );
 


More information about the Libreoffice-commits mailing list