[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - svtools/source
Tomaž Vajngerl
quikee at gmail.com
Sun Sep 1 04:44:45 PDT 2013
svtools/source/control/ruler.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 943961d67ebc73ed6e87921f8b681bb057e8fd4c
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
Reviewed-on: https://gerrit.libreoffice.org/5726
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx
index 7e5e2f1..7fd44c7 100644
--- a/svtools/source/control/ruler.cxx
+++ b/svtools/source/control/ruler.cxx
@@ -124,7 +124,7 @@ static ImplRulerUnitData 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