Update to m13
[ooovba.git] / applied_patches / 0503-calc-named-range-excel-syntax-fix.diff
blobf01395fae6186506a6b1634d346f9e8cb5957db5
1 diff --git sc/source/ui/app/inputwin.cxx sc/source/ui/app/inputwin.cxx
2 index 580e3be..5273634 100644
3 --- sc/source/ui/app/inputwin.cxx
4 +++ sc/source/ui/app/inputwin.cxx
5 @@ -1699,7 +1699,7 @@ void ScPosWnd::DoEnter()
6 ScRangeName aNewRanges( *pNames );
7 ScAddress aCursor( pViewData->GetCurX(), pViewData->GetCurY(), pViewData->GetTabNo() );
8 String aContent;
9 - aSelection.Format( aContent, SCR_ABS_3D, pDoc );
10 + aSelection.Format( aContent, SCR_ABS_3D, pDoc, pDoc->GetAddressConvention() );
11 ScRangeData* pNew = new ScRangeData( pDoc, aText, aContent, aCursor );
12 if ( aNewRanges.Insert(pNew) )