summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorPaul Trojahn <paul.trojahn@gmail.com>2017-06-06 23:05:10 +0200
committerAndras Timar <andras.timar@collabora.com>2017-06-21 12:36:00 +0200
commit93c71c74739243373dd73b9685d9539ee5f1556b (patch)
treec167be1d469aae7d3e3cc06df519e062791ac1c0 /oox
parent812ebb1a2f826af3ed597816198361fbbde79aa8 (diff)
tdf#89064 Fix import of pages with comments and notes
importSlide removes the shapes on the page. It was used to import the comments and authors, which resulted in an empty notes page. Reviewed-on: https://gerrit.libreoffice.org/38648 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> (cherry picked from commit c2da33ead8b093b12ebb9a0ea9c06d156c41a3e6) Change-Id: I7d68085b482e5497d46e92328c413c87440714a0
Diffstat (limited to 'oox')
-rw-r--r--oox/source/ppt/presentationfragmenthandler.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/ppt/presentationfragmenthandler.cxx b/oox/source/ppt/presentationfragmenthandler.cxx
index b67eb8b56817..6f5f690088c9 100644
--- a/oox/source/ppt/presentationfragmenthandler.cxx
+++ b/oox/source/ppt/presentationfragmenthandler.cxx
@@ -301,7 +301,7 @@ void PresentationFragmentHandler::importSlide(sal_uInt32 nSlide, bool bFirstPage
pCommentAuthorsPersistPtr,
Slide ) );
- importSlide( xCommentAuthorsFragmentHandler, pCommentAuthorsPersistPtr );
+ getFilter().importFragment( xCommentAuthorsFragmentHandler );
maAuthorList.setValues( pCommentAuthorsPersistPtr->getCommentAuthors() );
}
if( !aCommentFragmentPath.isEmpty() )
@@ -323,7 +323,7 @@ void PresentationFragmentHandler::importSlide(sal_uInt32 nSlide, bool bFirstPage
pCommentsPersistPtr,
Slide ) );
pCommentsPersistPtr->getCommentsList().cmLst.clear();
- importSlide( xCommentsFragmentHandler, pCommentsPersistPtr );
+ getFilter().importFragment( xCommentsFragmentHandler );
if (!pCommentsPersistPtr->getCommentsList().cmLst.empty())
{