From 47c81498c63ae71a351f43ec2f073ba92d99fc1d Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Tue, 12 May 2020 10:10:57 +0200 Subject: Increase max ppt levels to 10 ppt files created with PowerPoint 2013 have that many levels Change-Id: I51fd84c6462b7c8d77417c958469804eb10a0a8d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94054 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt --- include/filter/msfilter/svdfppt.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/filter/msfilter/svdfppt.hxx b/include/filter/msfilter/svdfppt.hxx index f507669e58ca..999f3155df9f 100644 --- a/include/filter/msfilter/svdfppt.hxx +++ b/include/filter/msfilter/svdfppt.hxx @@ -172,7 +172,7 @@ enum class TSS_Type : unsigned { Unknown = 0xffffffff // or invalid }; -const int nMaxPPTLevels = 5; +const int nMaxPPTLevels = 10; // Object IDs for StarDraw UserData #define PPT_OBJECTINFO_ID (1) -- cgit