diff options
-rw-r--r-- | sd/source/filter/ppt/pptin.cxx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx index f587b06da0bd..5b88e50ed0f6 100644 --- a/sd/source/filter/ppt/pptin.cxx +++ b/sd/source/filter/ppt/pptin.cxx @@ -2332,17 +2332,9 @@ SdrObject* ImplSdPPTImport::ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj* pObj { sal_uInt32 nPlacementId = pPlaceHolder->nPlacementId; sal_Int16 nPlaceholderId = pPlaceHolder->nPlaceholderId; - sal_uInt16 i = 0; + if ( eAktPageKind == PPT_SLIDEPAGE ) { - for ( ; i < 8; i++ ) - { - if ( pSlideLayout->aPlaceholderId[ i ] == nPlaceholderId ) - break; - } - } - if ( i < 8 ) - { PresObjKind ePresObjKind = PRESOBJ_NONE; sal_Bool bEmptyPresObj = sal_True; sal_Bool bVertical = sal_False; |