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

Laurent Balland-Poirier laurent.balland-poirier at laposte.net
Mon Oct 14 04:58:27 PDT 2013


 sc/source/ui/view/viewfunc.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 086c52d28d863bd2ad488e3d6d5e871f8f4fcc91
Author: Laurent Balland-Poirier <laurent.balland-poirier at laposte.net>
Date:   Thu Oct 10 10:42:18 2013 +0200

    String to OUString in viewfunc (Calc)
    
    Conflicts:
    	sc/source/ui/view/viewfunc.cxx
    
    Change-Id: If82a7c6e58af1cbba3748e42bf8ecce75cbebf18
    Reviewed-on: https://gerrit.libreoffice.org/6202
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx
index ff08741..8dc61aa 100644
--- a/sc/source/ui/view/viewfunc.cxx
+++ b/sc/source/ui/view/viewfunc.cxx
@@ -650,9 +650,9 @@ void ScViewFunc::EnterData( SCCOL nCol, SCROW nRow, SCTAB nTab,
 
             if ( !bSimple && aEngine.GetParagraphCount() == 1 )
             {
-                OUString aParStr = aEngine.GetText( 0 );
+                OUString aParStr(aEngine.GetText( 0 ));
                 if ( aParStr[0] == '=' )
-                    bSimple = sal_True;
+                    bSimple = true;
             }
 
             if (bCommon)                // attribute for tab


More information about the Libreoffice-commits mailing list