Kaydet (Commit) 967002c8 authored tarafından Eike Rathke's avatar Eike Rathke

fixed wrong string copy logic in ScFormulaCell::CompileDBFormula()

Change-Id: Ib87cff1ddff02de073b1c09703e1b550b7a3a740
üst bd493f15
......@@ -1601,7 +1601,7 @@ void ScFormulaCell::CompileDBFormula( bool bCreateFormulaString )
if ( GetMatrixFlag() != MM_NONE && !aFormula.isEmpty() )
{
if ( aFormula[ aFormula.getLength()-1 ] == '}' )
aFormula = aFormula.copy( aFormula.getLength()-1 , 1 );
aFormula = aFormula.copy( 0, aFormula.getLength()-1 );
if ( aFormula[0] == '{' )
aFormula = aFormula.copy( 1 );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment