diff options
author | Akshay Deep <akshaydeepiitr@gmail.com> | 2016-06-29 08:09:35 +0530 |
---|---|---|
committer | Akshay Deep <akshaydeepiitr@gmail.com> | 2016-06-29 02:46:14 +0000 |
commit | 58f578263022e9fda5c235f09f88ec02e15965a9 (patch) | |
tree | d256948a93a2b522db1772ff386297b5eb81e2a4 /sfx2 | |
parent | f6c004800a73059eea5267f58bdac118e7a37656 (diff) |
tdf#100660 - Starting document from a template crashes LibreOffice
Change-Id: Ida89fa8d35d1e22c706bc3703d2397b572bc01b5
Reviewed-on: https://gerrit.libreoffice.org/26752
Reviewed-by: Akshay Deep <akshaydeepiitr@gmail.com>
Tested-by: Akshay Deep <akshaydeepiitr@gmail.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/templatedlg.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index 1f97776da105..5973eb02bcff 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"); |