[Libreoffice-commits] core.git: svtools/source

Tomaž Vajngerl quikee at gmail.com
Fri Aug 30 10:45:09 PDT 2013


 svtools/source/control/ruler.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit fdd102a6daee854d987926bec1af55a17cfc8aee
Author: Tomaž Vajngerl <quikee at gmail.com>
Date:   Fri Aug 30 19:38:53 2013 +0200

    fdo#68689 Sub-divide ruler ticks into 1/8 insted of 1/10 for inch
    
    Change-Id: Ied2a6982d5564228b0ce7fecb89723f3742b6d0d

diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx
index f9eea51..a75571a 100644
--- a/svtools/source/control/ruler.cxx
+++ b/svtools/source/control/ruler.cxx
@@ -113,7 +113,7 @@ static const RulerUnitData aImplRulerUnitTab[RULER_UNIT_COUNT] =
 { MAP_100TH_MM,       1000,   250,    500,   1000,    1000, 3, " cm"    }, // CM
 { MAP_MM,             1000,   250,    500,   1000,   10000, 4, " m"     }, // M
 { MAP_CM,           100000, 25000,  50000, 100000,  100000, 6, " km"    }, // KM
-{ MAP_100TH_INCH,      100,    10,     50,    100,    2540, 3, "\""     }, // INCH
+{ MAP_1000TH_INCH,    1000,   125,    500,   1000,   25400, 3, "\""     }, // INCH
 { MAP_100TH_INCH,     1200,   120,    600,   1200,   30480, 3, "'"      }, // FOOT
 { MAP_10TH_INCH,    633600, 63360, 316800, 633600, 1609344, 4, " miles" }, // MILE
 { MAP_POINT,             1,    12,     12,     36,     353, 2, " pt"    }, // POINT


More information about the Libreoffice-commits mailing list