You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by fa...@apache.org on 2026/06/04 13:15:01 UTC
(poi) branch trunk updated: Update XMLSlideShow.java
This is an automated email from the ASF dual-hosted git repository.
pjfanning pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/poi.git
The following commit(s) were added to refs/heads/trunk by this push:
new 4cfbf98dd6 Update XMLSlideShow.java
4cfbf98dd6 is described below
commit 4cfbf98dd66734f76d9b19593decc6716dbaa121
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Thu Jun 4 14:14:52 2026 +0100
Update XMLSlideShow.java
---
poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java b/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java
index 5a18e256ad..3d804894e6 100644
--- a/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java
+++ b/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java
@@ -634,7 +634,7 @@ public class XMLSlideShow extends POIXMLDocument
*/
@Override
public XSLFPictureData addPicture(File pict, PictureType format) throws IOException {
- byte[] data = IOUtils.safelyAllocate(pict.length(), MAX_RECORD_LENGTH
+ byte[] data = IOUtils.safelyAllocate(pict.length(), MAX_RECORD_LENGTH,
"XMLSlideShow.setMaxRecordLength()");
try (InputStream is = Files.newInputStream(pict.toPath())) {
IOUtils.readFully(is, data);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org