summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-05-23 05:43:50 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-05-25 22:20:08 +0200
commit039eb8c314fe24e7855980dcefd90e164c3b51eb (patch)
tree368f976311b68a44331096656b2cd6aca8f5807d /sc
parente4c42413f11745760cfeb26f915d7cf7cc922264 (diff)
remove hack that results in mispositioning of shapes, tdf#91266
Change-Id: Iecdd0553ec8984966b2fef5fe45d9bdd0a80dd5a
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/oox/drawingbase.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/sc/source/filter/oox/drawingbase.cxx b/sc/source/filter/oox/drawingbase.cxx
index 1755d2d78b0e..c07d5eadebf3 100644
--- a/sc/source/filter/oox/drawingbase.cxx
+++ b/sc/source/filter/oox/drawingbase.cxx
@@ -238,13 +238,6 @@ EmuRectangle ShapeAnchor::calcAnchorRectEmu( const css::awt::Size& rPageSizeHmm
break;
}
- // add 0.75 mm (27,000 EMUs) in X direction to correct display error
- if( aAnchorRect.X >= 0 )
- aAnchorRect.X += 27000;
- // remove 0.25 mm (9,000 EMUs) in Y direction to correct display error
- if( aAnchorRect.Y >= 9000 )
- aAnchorRect.Y -= 9000;
-
return aAnchorRect;
}