summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorLaurent Balland-Poirier <laurent.balland-poirier@laposte.net>2013-10-10 10:42:18 +0200
committerCaolán McNamara <caolanm@redhat.com>2013-10-14 11:58:05 +0000
commit086c52d28d863bd2ad488e3d6d5e871f8f4fcc91 (patch)
tree5140c0b788ce62120e0577a83bb3223d61a53fcb /sc
parent646ce81d1c1623feb5414cd248860b143fd2cd6b (diff)
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@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/viewfunc.cxx4
1 files changed, 2 insertions, 2 deletions
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