[Libreoffice-commits] core.git: sfx2/source

Akshay Deep akshaydeepiitr at gmail.com
Wed Jun 29 02:46:40 UTC 2016


 sfx2/source/doc/templatedlg.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 58f578263022e9fda5c235f09f88ec02e15965a9
Author: Akshay Deep <akshaydeepiitr at gmail.com>
Date:   Wed Jun 29 08:09:35 2016 +0530

    tdf#100660 - Starting document from a template crashes LibreOffice
    
    Change-Id: Ida89fa8d35d1e22c706bc3703d2397b572bc01b5
    Reviewed-on: https://gerrit.libreoffice.org/26752
    Reviewed-by: Akshay Deep <akshaydeepiitr at gmail.com>
    Tested-by: Akshay Deep <akshaydeepiitr at gmail.com>

diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index 1f97776..5973eb0 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -154,7 +154,8 @@ static bool cmpSelectionItems (const ThumbnailViewItem *pItem1, const ThumbnailV
 
 SfxTemplateManagerDlg::SfxTemplateManagerDlg(vcl::Window *parent)
     : ModalDialog(parent, "TemplateDialog", "sfx/ui/templatedlg.ui"),
-      maSelTemplates(cmpSelectionItems)
+      maSelTemplates(cmpSelectionItems),
+      mxDesktop( Desktop::create(comphelper::getProcessComponentContext()) )
 {
     get(mpSearchFilter, "search_filter");
     get(mpCBApp, "filter_application");


More information about the Libreoffice-commits mailing list