diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2009-12-05 11:07:21 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2009-12-05 11:07:21 -0500 |
commit | fc01d8a544527bcd50b1e77140fc0f084afd414d (patch) | |
tree | a9ff6153b607d79f1d635da28895692e274af7fe /sc/source/ui | |
parent | c5bccb333fa388a0ad057598b3c126d35f5dae78 (diff) |
kohei04: #i107458# Removed hard-coded range separators.
Previously, range separators were hard-coded for each address convention. But
in the new code the separators are independent of address conventions or
grammars. This code was one of the left-overs of the previous implementation.
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/drawfunc/fuins2.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/drawfunc/fuins2.cxx b/sc/source/ui/drawfunc/fuins2.cxx index 93abbd48c9e7..6d45c177b0d3 100644 --- a/sc/source/ui/drawfunc/fuins2.cxx +++ b/sc/source/ui/drawfunc/fuins2.cxx @@ -529,7 +529,8 @@ FuInsertChart::FuInsertChart(ScTabViewShell* pViewSh, Window* pWin, ScDrawView* ScRangeList aRanges; aMultiMark.FillRangeListWithMarks( &aRanges, FALSE ); String aStr; - aRanges.Format( aStr, SCR_ABS_3D, pViewSh->GetViewData()->GetDocument() ); + ScDocument* pDocument = pViewSh->GetViewData()->GetDocument(); + aRanges.Format( aStr, SCR_ABS_3D, pDocument, pDocument->GetAddressConvention() ); aRangeString = aStr; // get "total" range for positioning |