[Libreoffice-commits] .: sc/source
Katarina Machalkova
bubli at kemper.freedesktop.org
Fri Apr 29 04:09:13 PDT 2011
sc/source/filter/excel/xename.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 68206b17395af00991e9c7468269d79a9f4fee35
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Fri Apr 29 13:07:33 2011 +0200
Output valid OOXML incl. msSymbol value
(setting it was removed by mistake by prev. patch)
diff --git a/sc/source/filter/excel/xename.cxx b/sc/source/filter/excel/xename.cxx
index b461083..55a4ea8 100644
--- a/sc/source/filter/excel/xename.cxx
+++ b/sc/source/filter/excel/xename.cxx
@@ -581,6 +581,11 @@ sal_uInt16 XclExpNameManagerImpl::CreateName( SCTAB nTab, const ScRangeData& rRa
{
XclTokenArrayRef xTokArr = GetFormulaCompiler().CreateFormula( EXC_FMLATYPE_NAME, *pScTokArr );
xName->SetTokenArray( xTokArr );
+
+ String sSymbol;
+ rRangeData.GetSymbol( sSymbol, formula::FormulaGrammar::GRAM_ENGLISH_XL_A1 );
+ xName->SetSymbol( sSymbol );
+
/* Try to replace by existing built-in name - complete token array is
needed for comparison, and due to the recursion problem above this
cannot be done earlier. If a built-in name is found, the created NAME
More information about the Libreoffice-commits
mailing list