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

Julien Nabet serval2412 at yahoo.fr
Tue May 20 11:59:25 PDT 2014


 sc/source/ui/app/inputhdl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 04831249713827fb175faa118205bb132387dad9
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Tue May 20 20:50:44 2014 +0200

    Following fdo#78838, let's make this part safe too
    
    (Thank you Eike)
    
    Change-Id: Icc7061c7f7296302d6ed21f0e74a48cbaa82011a

diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index b9e1b90..be0220d 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -718,7 +718,6 @@ void ScInputHandler::GetFormulaData()
         else
         {
             pFormulaData = new ScTypedCaseStrSet;
-            miAutoPosFormula = pFormulaData->end();
         }
 
         if( pFormulaDataPara )
@@ -749,6 +748,7 @@ void ScInputHandler::GetFormulaData()
                 pFormulaDataPara->insert(ScTypedStrData(aEntry, 0.0, ScTypedStrData::Standard));
             }
         }
+        miAutoPosFormula = pFormulaData->end();
         pDoc->GetFormulaEntries( *pFormulaData );
         pDoc->GetFormulaEntries( *pFormulaDataPara );
     }


More information about the Libreoffice-commits mailing list