https://bugs.documentfoundation.org/show_bug.cgi?id=99450

Julien Nabet <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|[email protected] |[email protected]
                   |desktop.org                 |

--- Comment #6 from Julien Nabet <[email protected]> ---
I noticed this log on console:
warn:legacy.tools:14119:1:svx/source/svdraw/svdpage.cxx:335: ZObjekt already
has the status Inserted.

Putting a break there,, I retrieved 2 bts
First one:
#0  SdrObjList::NbcInsertObject (this=0x8ac0aa0, pObj=0x8ab5e10,
nPos=18446744073709551615) at
/home/julien/lo/libreoffice/svx/source/svdraw/svdpage.cxx:335
#1  0x00002aaad3c3c79a in SdPage::NbcInsertObject (this=0x8ac0aa0,
pObj=0x8ab5e10, nPos=18446744073709551615, pReason=0x0)
    at /home/julien/lo/libreoffice/sd/source/core/sdpage.cxx:1648
#2  0x00002aaab0af8a9b in SdrObjList::InsertObject (this=0x8ac0aa0,
pObj=0x8ab5e10, nPos=18446744073709551615, pReason=0x0)
    at /home/julien/lo/libreoffice/svx/source/svdraw/svdpage.cxx:372
#3  0x00002aaab0dc1844 in FmFormPage::InsertObject (this=0x8ac0aa0,
pObj=0x8ab5e10, nPos=18446744073709551615, pReason=0x0)
    at /home/julien/lo/libreoffice/svx/source/form/fmpage.cxx:136
#4  0x00002aaad3c35ebd in SdPage::CreatePresObj (this=0x8ac0aa0,
eObjKind=PRESOBJ_TITLE, bVertical=false, rRect=Rectangle = {...})
    at /home/julien/lo/libreoffice/sd/source/core/sdpage.cxx:408
#5  0x00002aaaf8b850ef in sd::SdPhotoAlbumDialog::createCaption
(this=0x8a92380, aPageSize=...) at
/home/julien/lo/libreoffice/sd/source/ui/dlg/PhotoAlbumDialog.cxx:682

Second one:
#0  SdrObjList::NbcInsertObject (this=0x8ac0aa0, pObj=0x8ab5e10,
nPos=18446744073709551615) at
/home/julien/lo/libreoffice/svx/source/svdraw/svdpage.cxx:335
#1  0x00002aaad3c3c79a in SdPage::NbcInsertObject (this=0x8ac0aa0,
pObj=0x8ab5e10, nPos=18446744073709551615, pReason=0x0)
    at /home/julien/lo/libreoffice/sd/source/core/sdpage.cxx:1648
#2  0x00002aaab0af8a9b in SdrObjList::InsertObject (this=0x8ac0aa0,
pObj=0x8ab5e10, nPos=18446744073709551615, pReason=0x0)
    at /home/julien/lo/libreoffice/svx/source/svdraw/svdpage.cxx:372
#3  0x00002aaab0dc1844 in FmFormPage::InsertObject (this=0x8ac0aa0,
pObj=0x8ab5e10, nPos=18446744073709551615, pReason=0x0)
    at /home/julien/lo/libreoffice/svx/source/form/fmpage.cxx:136
#4  0x00002aaaf8b85290 in sd::SdPhotoAlbumDialog::createCaption
(this=0x8a92380, aPageSize=...) at
/home/julien/lo/libreoffice/sd/source/ui/dlg/PhotoAlbumDialog.cxx:689

So the problem is the same object is indeed inserted twice:
    671 void SdPhotoAlbumDialog::createCaption(const awt::Size& aPageSize )
    672 {
...
    682     SdrObject* pSdrObj =
pSlide->CreatePresObj(PRESOBJ_TITLE,false,rRect);
...
    689     pSlide->InsertObject(pSdrObj);
    690 }
See
http://opengrok.libreoffice.org/xref/core/sd/source/ui/dlg/PhotoAlbumDialog.cxx#671

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to