diff options
author | Rafael Dominguez <venccsralph@gmail.com> | 2012-06-25 14:10:04 -0430 |
---|---|---|
committer | Rafael Dominguez <venccsralph@gmail.com> | 2012-06-25 14:10:04 -0430 |
commit | 4cc579ee792fbc81007bb8e0b31b6ae45429b349 (patch) | |
tree | 73b350bae2811945584d418ab4b6f2d917e27ee1 /sfx2/source | |
parent | a2952b9a768915e9c0c91135fd2f9d7e742c53f6 (diff) |
Add missing argument to lcl_createTemplate.
Change-Id: Icb19405a3fa0aad63f10181185f94872662247a6
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/doc/templatedlg.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index f69e74c3cac7..39796dd60b63 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -41,7 +41,7 @@ using namespace ::com::sun::star; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::frame; -void lcl_createTemplate(const FILTER_APPLICATION eApp); +void lcl_createTemplate(uno::Reference<XComponentLoader> xDesktop, const FILTER_APPLICATION eApp); SfxTemplateManagerDlg::SfxTemplateManagerDlg (Window *parent) : ModalDialog(parent, SfxResId(DLG_TEMPLATE_MANAGER)), @@ -424,7 +424,8 @@ void SfxTemplateManagerDlg::OnTemplateDelete () } } -void lcl_createTemplate(const FILTER_APPLICATION eApp) +void lcl_createTemplate(uno::Reference< com::sun::star::frame::XComponentLoader > xDesktop, + const FILTER_APPLICATION eApp) { rtl::OUString aURL; @@ -449,7 +450,7 @@ void lcl_createTemplate(const FILTER_APPLICATION eApp) if (!aURL.isEmpty()) { uno::Sequence<PropertyValue> aArgs; - mxDesktop->loadComponentFromURL(aURL,rtl::OUString("_blank"), 0, aArgs ); + xDesktop->loadComponentFromURL(aURL,rtl::OUString("_blank"), 0, aArgs ); } } |