Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


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 <noel.power@novell.com>
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



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.