diff options
author | Jan Holesovsky <kendy@suse.cz> | 2013-05-10 19:56:04 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2013-05-13 10:50:15 +0200 |
commit | e3abe3f1c7e4bb7c788de71a9c01dffb1c088332 (patch) | |
tree | b72a61f83e82eb76b65f814a1fb4afbf37744fd0 /sd | |
parent | a6b3cc0212a13615909be47dd06d537d5d9429d5 (diff) |
bnc#758621: We don't need this index for anything.
Worse, it prevents us to enter part of the code that we need to execute in
some (valid) circumstances.
Change-Id: I15084b5efa10fbd5cd0d42856c2745c93d6765da
Diffstat (limited to 'sd')
-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 9d5b20e7e66a..476eed8cdf05 100644 --- a/sd/source/filter/ppt/pptin.cxx +++ b/sd/source/filter/ppt/pptin.cxx @@ -2313,17 +2313,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; |