[Libreoffice-commits] .: sc/source

Markus Mohrhard mmohrhard at kemper.freedesktop.org
Fri May 25 19:39:28 PDT 2012


 sc/source/ui/view/output.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit cbfd8eb92f7e2c47badc34336c0523d366282286
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sat May 26 04:36:50 2012 +0200

    use the smaller version for data bars
    
    Change-Id: I439b3fa34fca3bca4f6342f606ddcad01cb5b78f

diff --git a/sc/source/ui/view/output.cxx b/sc/source/ui/view/output.cxx
index ba530de..1ca09e6 100644
--- a/sc/source/ui/view/output.cxx
+++ b/sc/source/ui/view/output.cxx
@@ -805,10 +805,10 @@ void drawDataBars( const ScDataBarInfo* pOldDataBarInfo, OutputDevice* pDev, con
 {
     long nPosZero = 0;
     Rectangle aPaintRect = rRect;
-    //aPaintRect.Top() += 2;
-    //aPaintRect.Bottom() -= 2;
-    //aPaintRect.Left() += 2;
-    //aPaintRect.Right() -= 2;
+    aPaintRect.Top() += 2;
+    aPaintRect.Bottom() -= 2;
+    aPaintRect.Left() += 2;
+    aPaintRect.Right() -= 2;
     if(pOldDataBarInfo->mnZero)
     {
         //need to calculate null point in cell


More information about the Libreoffice-commits mailing list