From 086c52d28d863bd2ad488e3d6d5e871f8f4fcc91 Mon Sep 17 00:00:00 2001 From: Laurent Balland-Poirier Date: Thu, 10 Oct 2013 10:42:18 +0200 Subject: String to OUString in viewfunc (Calc) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Conflicts: sc/source/ui/view/viewfunc.cxx Change-Id: If82a7c6e58af1cbba3748e42bf8ecce75cbebf18 Reviewed-on: https://gerrit.libreoffice.org/6202 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sc/source/ui/view/viewfunc.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc/source') diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx index ff0874185c97..8dc61aa41444 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 -- cgit