diff options
author | Niklas Nebel <nn@openoffice.org> | 2002-09-26 13:13:43 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2002-09-26 13:13:43 +0000 |
commit | d7e57e609df7c2c36dc7b49f14a8aae471f2d7fc (patch) | |
tree | 31d12039079d351ae88d22cc27d7698d61fadffd /svx/source/dialog/align.cxx | |
parent | f001ae3ec6608f80ca70032a10d3a60e1ec785ff (diff) |
#103396# use point instead of inch etc. for grid spacing values
Diffstat (limited to 'svx/source/dialog/align.cxx')
-rw-r--r-- | svx/source/dialog/align.cxx | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/svx/source/dialog/align.cxx b/svx/source/dialog/align.cxx index c1510c7444c8..271c4715f0ef 100644 --- a/svx/source/dialog/align.cxx +++ b/svx/source/dialog/align.cxx @@ -2,9 +2,9 @@ * * $RCSfile: align.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: dr $ $Date: 2002-09-12 09:53:46 $ + * last change: $Author: nn $ $Date: 2002-09-26 14:13:43 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -185,6 +185,15 @@ SvxAlignmentTabPage::SvxAlignmentTabPage( Window* pParent, switch ( eFUnit ) { + // #103396# the default value (1pt) can't be accurately represented in + // inches or pica with two decimals, so point is used instead. + case FUNIT_PICA: + case FUNIT_INCH: + case FUNIT_FOOT: + case FUNIT_MILE: + eFUnit = FUNIT_POINT; + break; + case FUNIT_CM: case FUNIT_M: case FUNIT_KM: |