summaryrefslogtreecommitdiff
path: root/sfx2/source/control/templatesearchview.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/control/templatesearchview.cxx')
-rw-r--r--sfx2/source/control/templatesearchview.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/sfx2/source/control/templatesearchview.cxx b/sfx2/source/control/templatesearchview.cxx
index 7ba4e8248548..30cd035da20d 100644
--- a/sfx2/source/control/templatesearchview.cxx
+++ b/sfx2/source/control/templatesearchview.cxx
@@ -10,17 +10,14 @@
#include "templatesearchview.hxx"
#include "templatesearchviewitem.hxx"
-#include <vcl/builder.hxx>
+#include <vcl/builderfactory.hxx>
TemplateSearchView::TemplateSearchView (vcl::Window *pParent, WinBits nWinStyle)
: ThumbnailView(pParent,nWinStyle)
{
}
-extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeTemplateSearchView(vcl::Window *pParent, VclBuilder::stringmap &)
-{
- return new TemplateSearchView(pParent);
-}
+VCL_BUILDER_FACTORY(TemplateSearchView)
void TemplateSearchView::setOpenTemplateHdl(const Link<> &rLink)
{