sd/source/filter/ppt/pptin.cxx |   17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

New commits:
commit 6d44b4a044b6571b7ef878650c3e328193ea8fba
Author:     Karthik Godha <[email protected]>
AuthorDate: Wed Dec 31 14:58:27 2025 +0530
Commit:     Michael Stahl <[email protected]>
CommitDate: Fri Jan 2 14:04:50 2026 +0100

    tdf#170181: PPT placeholder imported as OLE object
    
    Placeholder for (table, chart, image) is imported as OLE object
    instead of placeholder
    
    Change-Id: I62d5ac3e48d51944629f0eb82de390db10a59c2c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196352
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Michael Stahl <[email protected]>

diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index 4a8ead32f588..4bda160e2828 100644
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -2418,13 +2418,16 @@ SdrObject* ImplSdPPTImport::ApplyTextObj( PPTTextObj* 
pTextObj, SdrTextObj* pObj
                             {
                                 switch ( nPlaceholderId )
                                 {
-                                    case PptPlaceholder::MEDIACLIP :
-                                    case PptPlaceholder::OBJECT : ePresObjKind 
= PresObjKind::Object; break;
-                                    case PptPlaceholder::GRAPH : ePresObjKind 
= PresObjKind::Chart; break;
-                                    case PptPlaceholder::TABLE : ePresObjKind 
= PresObjKind::Table; break;
-                                    case PptPlaceholder::CLIPART : 
ePresObjKind = PresObjKind::Graphic; break;
-                                    case PptPlaceholder::ORGANISZATIONCHART : 
ePresObjKind = PresObjKind::OrgChart; break;
-                                    default: break;
+                                    case PptPlaceholder::MEDIACLIP:
+                                    case PptPlaceholder::OBJECT:
+                                    case PptPlaceholder::GRAPH:
+                                    case PptPlaceholder::TABLE:
+                                    case PptPlaceholder::CLIPART:
+                                    case PptPlaceholder::ORGANISZATIONCHART:
+                                        ePresObjKind = PresObjKind::Outline;
+                                        break;
+                                    default:
+                                        break;
                                 }
                             }
                         };

Reply via email to