Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


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;
     }
 };


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.