Return-Path: X-Original-To: apmail-poi-dev-archive@www.apache.org Delivered-To: apmail-poi-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CCEF517711 for ; Mon, 23 Mar 2015 20:49:48 +0000 (UTC) Received: (qmail 2306 invoked by uid 500); 23 Mar 2015 20:49:48 -0000 Delivered-To: apmail-poi-dev-archive@poi.apache.org Received: (qmail 2267 invoked by uid 500); 23 Mar 2015 20:49:48 -0000 Mailing-List: contact dev-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Developers List" Delivered-To: mailing list dev@poi.apache.org Received: (qmail 2254 invoked by uid 99); 23 Mar 2015 20:49:48 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2015 20:49:48 +0000 Received: from asf-bz1-us-mid.priv.apache.org (nat1-us-mid.apache.org [23.253.172.122]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPS id 7310B1A0058 for ; Mon, 23 Mar 2015 20:49:48 +0000 (UTC) Received: by asf-bz1-us-mid.priv.apache.org (ASF Mail Server at asf-bz1-us-mid.priv.apache.org, from userid 33) id 8335E60728; Mon, 23 Mar 2015 20:49:46 +0000 (UTC) From: bugzilla@apache.org To: dev@poi.apache.org Subject: [Bug 51233] Image is incorrectly resized if custom row height is set Date: Mon, 23 Mar 2015 20:49:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: POI X-Bugzilla-Component: SXSSF X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominik.stadler@gmx.at X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@poi.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bz.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 https://bz.apache.org/bugzilla/show_bug.cgi?id=51233 --- Comment #2 from Dominik Stadler --- The problem happens because XSSFDrawing() which is constructed via SXSSFSheet.createDrawingPatriarch() receives the XSSFSheet, not SXSSFSheet and thus getRow(0) returns null instead of the correct Row object, which later on causes different size calculations, e.g. in ImageUtils.getRowHeightInPixels() -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org For additional commands, e-mail: dev-help@poi.apache.org