subject says it all, calculation of the row/col offsets in 3.5 causes problems, this patch tweaks it back to doing what it did in 3.4 ( e.g. treating the the offsets as being in screen units )

Noel

>From 8960fcea92e9574fff7e4ff8ff62f069416fe237 Mon Sep 17 00:00:00 2001
From: Noel Power <[email protected]>
Date: Wed, 30 May 2012 13:59:52 +0100
Subject: [PATCH 4/7] fix missing form control, partial fix for fdo#49430

Change-Id: I7a0dd3d6e25a48449941e258ea5a16a247a8fe05
---
 oox/source/xls/drawingbase.cxx |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/oox/source/xls/drawingbase.cxx b/oox/source/xls/drawingbase.cxx
index 3369ba9..c75fa6d 100644
--- a/oox/source/xls/drawingbase.cxx
+++ b/oox/source/xls/drawingbase.cxx
@@ -170,6 +170,7 @@ void ShapeAnchor::setCellPos( sal_Int32 nElement, sal_Int32 nParentContext, cons
 void ShapeAnchor::importVmlAnchor( const OUString& rAnchor )
 {
     meAnchorType = ANCHOR_VML;
+    meCellAnchorType = CELLANCHOR_PIXEL;
 
     ::std::vector< OUString > aTokens;
     sal_Int32 nIndex = 0;
-- 
1.7.3.4


_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to