summaryrefslogtreecommitdiff
path: root/sc/source/ui/drawfunc/fuins2.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2007-07-25 07:09:23 +0000
committerRüdiger Timm <rt@openoffice.org>2007-07-25 07:09:23 +0000
commitec35b24f9f4c81eea3719df5c2b485557da64eac (patch)
tree1f7136c734788bda064f42039f49ac1678267f75 /sc/source/ui/drawfunc/fuins2.cxx
parentee1fd420c1026c670da228282c1eb1a5439ca01f (diff)
INTEGRATION: CWS chart07 (1.26.24); FILE MERGED
2007/07/12 17:33:30 nn 1.26.24.1: #i76055# limit whole columns/rows to used area
Diffstat (limited to 'sc/source/ui/drawfunc/fuins2.cxx')
-rw-r--r--sc/source/ui/drawfunc/fuins2.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/sc/source/ui/drawfunc/fuins2.cxx b/sc/source/ui/drawfunc/fuins2.cxx
index a50e1f42bd07..fc7220ea53bf 100644
--- a/sc/source/ui/drawfunc/fuins2.cxx
+++ b/sc/source/ui/drawfunc/fuins2.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: fuins2.cxx,v $
*
- * $Revision: 1.26 $
+ * $Revision: 1.27 $
*
- * last change: $Author: vg $ $Date: 2007-05-22 20:06:02 $
+ * last change: $Author: rt $ $Date: 2007-07-25 08:09:23 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -180,6 +180,11 @@ void lcl_ChartInit( const uno::Reference < embed::XEmbeddedObject >& xObj, ScVie
aRangeListRef->Parse( aRangeString, pScDoc );
if ( aRangeListRef->Count() )
{
+ pScDoc->LimitChartIfAll( aRangeListRef ); // limit whole columns/rows to used area
+ String aTmpStr;
+ aRangeListRef->Format( aTmpStr, SCR_ABS_3D, pScDoc ); // update string from changed ranges
+ aRangeString = aTmpStr;
+
ScChartPositioner aChartPositioner( pScDoc, aRangeListRef );
if ( eDataRowSource == chart::ChartDataRowSource_COLUMNS )
{