diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/viewfunc.cxx | 4 |
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 |