[Libreoffice-commits] core.git: sd/source

Noel Grandin noel at peralex.com
Mon Dec 15 00:06:52 PST 2014


 sd/source/filter/ppt/pptin.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 97c573036a3071bd03726905e6902979ccd32a47
Author: Noel Grandin <noel at peralex.com>
Date:   Mon Dec 15 09:54:15 2014 +0200

    -Werror,-Wswitch
    
    Change-Id: Icbf6fa0ef02d7d8329839d7967e7e45d3e9f2b77

diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index f8c17c5..70a8ba0 100644
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -1067,6 +1067,7 @@ bool ImplSdPPTImport::Import()
                             case PptPlaceholder::VERTICALTEXTBODY :
                                 eAutoLayout = AUTOLAYOUT_TITLE_VERTICAL_OUTLINE;
                             break;
+                            default: break;
                         }
                     }
                     break;
@@ -2151,6 +2152,7 @@ SdrObject* ImplSdPPTImport::ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj* pObj
             case PptPlaceholder::MASTERSLIDENUMBER :    ePresKind = PRESOBJ_SLIDENUMBER;break;
             case PptPlaceholder::MASTERFOOTER :         ePresKind = PRESOBJ_FOOTER;     break;
             case PptPlaceholder::MASTERHEADER :         ePresKind = PRESOBJ_HEADER;     break;
+            default: break;
         }
     }
     switch ( pTextObj->GetDestinationInstance() )
@@ -2328,6 +2330,7 @@ SdrObject* ImplSdPPTImport::ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj* pObj
                                         case PptPlaceholder::TABLE : ePresObjKind = PRESOBJ_TABLE; break;
                                         case PptPlaceholder::CLIPART : ePresObjKind = PRESOBJ_GRAPHIC; break;
                                         case PptPlaceholder::ORGANISZATIONCHART : ePresObjKind = PRESOBJ_ORGCHART; break;
+                                        default: break;
                                     }
                                 }
                             };
@@ -2346,6 +2349,7 @@ SdrObject* ImplSdPPTImport::ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj* pObj
                                 case PptPlaceholder::TABLE : ePresObjKind = PRESOBJ_CALC; break;
                                 case PptPlaceholder::CLIPART : ePresObjKind = PRESOBJ_GRAPHIC; break;
                                 case PptPlaceholder::ORGANISZATIONCHART : ePresObjKind = PRESOBJ_ORGCHART; break;
+                                default: break;
                             }
                         }
                     }


More information about the Libreoffice-commits mailing list