Kaydet (Commit) 9e7e264b authored tarafından Eike Rathke's avatar Eike Rathke

adapt comments to reality

Change-Id: Idfeca4a683ebb9616c19a42de650c4871f733ef5
üst 4e097c10
...@@ -77,17 +77,17 @@ static sal_uInt16 lcl_ParseRange(ScRange& rScRange, const OUString& aAddress, Sc ...@@ -77,17 +77,17 @@ static sal_uInt16 lcl_ParseRange(ScRange& rScRange, const OUString& aAddress, Sc
if ( (nResult & SCA_VALID) ) if ( (nResult & SCA_VALID) )
return nResult; return nResult;
// try the default calc address convention // try the default Calc (A1) address convention
nResult = rScRange.Parse(aAddress, pDoc); nResult = rScRange.Parse(aAddress, pDoc);
if ( (nResult & SCA_VALID) ) if ( (nResult & SCA_VALID) )
return nResult; return nResult;
// try the default calc address convention // try the Excel A1 address convention
nResult = rScRange.Parse(aAddress, pDoc, formula::FormulaGrammar::CONV_XL_A1); nResult = rScRange.Parse(aAddress, pDoc, formula::FormulaGrammar::CONV_XL_A1);
if ( (nResult & SCA_VALID) ) if ( (nResult & SCA_VALID) )
return nResult; return nResult;
// try excel a1 // try Excel R1C1 address convention
return rScRange.Parse(aAddress, pDoc, formula::FormulaGrammar::CONV_XL_R1C1); return rScRange.Parse(aAddress, pDoc, formula::FormulaGrammar::CONV_XL_R1C1);
} }
...@@ -99,17 +99,17 @@ static sal_uInt16 lcl_ParseAddress(ScAddress& rScAddress, const OUString& aAddre ...@@ -99,17 +99,17 @@ static sal_uInt16 lcl_ParseAddress(ScAddress& rScAddress, const OUString& aAddre
if ( (nResult & SCA_VALID) ) if ( (nResult & SCA_VALID) )
return nResult; return nResult;
// try the default calc address convention // try the default Calc (A1) address convention
nResult = rScAddress.Parse(aAddress, pDoc); nResult = rScAddress.Parse(aAddress, pDoc);
if ( (nResult & SCA_VALID) ) if ( (nResult & SCA_VALID) )
return nResult; return nResult;
// try the default calc address convention // try the Excel A1 address convention
nResult = rScAddress.Parse(aAddress, pDoc, formula::FormulaGrammar::CONV_XL_A1); nResult = rScAddress.Parse(aAddress, pDoc, formula::FormulaGrammar::CONV_XL_A1);
if ( (nResult & SCA_VALID) ) if ( (nResult & SCA_VALID) )
return nResult; return nResult;
// try excel a1 // try Excel R1C1 address convention
return rScAddress.Parse(aAddress, pDoc, formula::FormulaGrammar::CONV_XL_R1C1); return rScAddress.Parse(aAddress, pDoc, formula::FormulaGrammar::CONV_XL_R1C1);
} }
......
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