diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-22 13:31:57 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-07-23 08:41:46 +0200 |
commit | 95aad95fbec35c3aab777b176218a29821f79574 (patch) | |
tree | 860e5fc0890830b27c391b4492d6b91631ef9850 /sc/source/filter/excel/xlescher.cxx | |
parent | Merge ImplIntrospectionAccess and ImplIntrospectionAdapter (diff) | |
download | core-95aad95fbec35c3aab777b176218a29821f79574.tar.gz core-95aad95fbec35c3aab777b176218a29821f79574.zip |
inline a handful of use-once #defines
Change-Id: Id2654555c4042f8c0bdbd6bab6507e705f08326b
Diffstat (limited to 'sc/source/filter/excel/xlescher.cxx')
-rw-r--r-- | sc/source/filter/excel/xlescher.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xlescher.cxx b/sc/source/filter/excel/xlescher.cxx index 5134f23a2dbd..1f2227176e22 100644 --- a/sc/source/filter/excel/xlescher.cxx +++ b/sc/source/filter/excel/xlescher.cxx @@ -50,8 +50,8 @@ double lclGetTwipsScale( MapUnit eMapUnit ) double fScale = 1.0; switch( eMapUnit ) { - case MAP_TWIP: fScale = PS_POINTS_PER_INCH / POINTS_PER_INCH; break; // Calc twips <-> real twips - case MAP_100TH_MM: fScale = HMM_PER_TWIPS; break; // Calc twips <-> 1/100mm + case MAP_TWIP: fScale = 1; break; // Calc twips <-> real twips + case MAP_100TH_MM: fScale = HMM_PER_TWIPS; break; // Calc twips <-> 1/100mm default: OSL_FAIL( "lclGetTwipsScale - map unit not implemented" ); } return fScale; |