On 05/26/2012 05:21 PM, walt wrote:

> I was hoping that my patch (below) would fix my problem while honoring
> the spirit of your code, but it turns out to have no effect at all,
> either good or bad.

You bonehead!  You got rows and columns mixed up.  What an idiot.

This patch actually works:

diff --git a/sc/source/ui/unoobj/chart2uno.cxx 
b/sc/source/ui/unoobj/chart2uno.cxx
index 03028fc..0b20d18 100644
--- a/sc/source/ui/unoobj/chart2uno.cxx
+++ b/sc/source/ui/unoobj/chart2uno.cxx
@@ -1428,8 +1428,8 @@ public:
             s.nRow = nMinRow;
         if (e.nCol > nMaxCol)
             e.nCol = nMaxCol;
-        if (e.nRow > nMaxRow)
-            e.nRow = nMaxRow;
+        if (e.nRow > nMaxRow + 100)
+            e.nRow = nMaxRow + 100;
     }
 };

_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to