diff options
author | Oliver Specht <os@openoffice.org> | 2000-10-25 12:09:19 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2000-10-25 12:09:19 +0000 |
commit | 3457420854426e598a3418cd8b62fb77f6c4f5b9 (patch) | |
tree | bdabb3e503d6af3fd056e1356d010f7ed4ce9594 | |
parent | 6df5fae912d4942031ec95898de943ad335f5144 (diff) |
#79763# Twip/mm conversion
-rw-r--r-- | sw/source/core/unocore/unosett.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/unocore/unosett.cxx b/sw/source/core/unocore/unosett.cxx index 4baca2fe798b..390ae86459c9 100644 --- a/sw/source/core/unocore/unosett.cxx +++ b/sw/source/core/unocore/unosett.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unosett.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: os $ $Date: 2000-10-25 13:02:00 $ + * last change: $Author: os $ $Date: 2000-10-25 13:09:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -2484,7 +2484,7 @@ void SwXTextColumns::setPropertyValue( const OUString& rPropertyName, const Any& sal_Int32 nTmp; aValue >>= nTmp; if(nTmp < 0) throw IllegalArgumentException(); - nSepLineWidth = nTmp; + nSepLineWidth = MM100_TO_TWIP(nTmp); } break; case WID_TXTCOL_LINE_COLOR: @@ -2525,7 +2525,7 @@ Any SwXTextColumns::getPropertyValue( const OUString& rPropertyName ) switch(pMap->nWID) { case WID_TXTCOL_LINE_WIDTH: - aRet <<= nSepLineWidth; + aRet <<= TWIP_TO_MM100(nSepLineWidth); break; case WID_TXTCOL_LINE_COLOR: aRet <<= nSepLineColor; |