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

Julien Nabet <serval2...@yahoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |serval2...@yahoo.fr,
                   |                            |vmik...@collabora.co.uk

--- Comment #2 from Julien Nabet <serval2...@yahoo.fr> ---
On pc Debian x86-64 with master sources updated today, I could reproduce this.

I noticed several things:
- if I use ppt instead of pptx, I don't reproduce this
- if I create a brand new file with 2 slides in portrait, when exporting in
pptx and open it again, the first is in landscape but the second one in
portrait.

I put a break on SdPage::SetOrientation and tested it with this 2 slides pptx,
here's what I got:
1)
#0  SdPage::SetOrientation (this=this@entry=0x55555bbc5190,
eOrient=Orientation::Landscape) at
/home/julien/lo/libreoffice/sd/source/core/sdpage.cxx:2598
#1  0x00002aaad393c1ae in SdXImpressDocument::InsertSdPage
(this=0x55555e3f21e0, nPage=<optimized out>, nPage@entry=1,
bDuplicate=bDuplicate@entry=false)
    at /home/julien/lo/libreoffice/sd/source/ui/unoidl/unomodel.cxx:508
#2  0x00002aaad393e85d in SdDrawPagesAccess::insertNewByIndex
(this=0x555557638ef0, nIndex=1) at
/home/julien/lo/libreoffice/sd/source/ui/unoidl/unomodel.cxx:2891
#3  0x00002aaad21b5b1b in oox::ppt::PresentationFragmentHandler::importSlide
(this=this@entry=0x55555db6af90, nSlide=1, bFirstPage=bFirstPage@entry=false, 
    bImportNotesPage=bImportNotesPage@entry=true) at
/home/julien/lo/libreoffice/oox/source/ppt/presentationfragmenthandler.cxx:159


2)
#0  SdPage::SetOrientation (this=this@entry=0x555557b0dcf0,
eOrient=Orientation::Portrait) at
/home/julien/lo/libreoffice/sd/source/core/sdpage.cxx:2598
#1  0x00002aaad393c391 in SdXImpressDocument::InsertSdPage
(this=0x55555e3f21e0, nPage=<optimized out>, nPage@entry=1,
bDuplicate=bDuplicate@entry=false)
    at /home/julien/lo/libreoffice/sd/source/ui/unoidl/unomodel.cxx:543
#2  0x00002aaad393e85d in SdDrawPagesAccess::insertNewByIndex
(this=0x555557638ef0, nIndex=1) at
/home/julien/lo/libreoffice/sd/source/ui/unoidl/unomodel.cxx:2891
#3  0x00002aaad21b5b1b in oox::ppt::PresentationFragmentHandler::importSlide
(this=this@entry=0x55555db6af90, nSlide=1, bFirstPage=bFirstPage@entry=false, 
    bImportNotesPage=bImportNotesPage@entry=true) at
/home/julien/lo/libreoffice/oox/source/ppt/presentationfragmenthandler.cxx:159

3)
#0  SdPage::SetOrientation (this=0x55555bbc5190, eOrient=Orientation::Portrait)
at /home/julien/lo/libreoffice/sd/source/core/sdpage.cxx:2598
#1  0x00002aaad395ea6a in SdDrawPage::setMasterPage
(this=this@entry=0x55555dcaac00, xMasterPage=...) at
/home/julien/lo/libreoffice/sd/source/ui/unoidl/unopage.cxx:2417
#2  0x00002aaad21b6494 in oox::ppt::PresentationFragmentHandler::importSlide
(this=this@entry=0x55555db6af90, nSlide=<optimized out>,
bFirstPage=bFirstPage@entry=false, 
    bImportNotesPage=bImportNotesPage@entry=true) at
/home/julien/lo/libreoffice/oox/source/ppt/presentationfragmenthandler.cxx:252

Miklos: thought you might be interested in this one.

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

Reply via email to