summaryrefslogtreecommitdiff
path: root/svx/source/dialog/frmdirlbox.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-05-11 13:42:10 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-05-11 13:57:27 +0100
commitceb6f473837261f2a6e43e028ce9da3daccc2f6c (patch)
treea1d3c72cfa773b7cf2c54d4c66c184a4146fa679 /svx/source/dialog/frmdirlbox.cxx
parent3fa5ac20a003d2eb0b718a98eb2217749e3133da (diff)
tdf#91052 - more macros for 'make' constructors.
Change-Id: Iece86485c52041b66cde91d7fbc772db16d90a93
Diffstat (limited to 'svx/source/dialog/frmdirlbox.cxx')
-rw-r--r--svx/source/dialog/frmdirlbox.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/svx/source/dialog/frmdirlbox.cxx b/svx/source/dialog/frmdirlbox.cxx
index 5c2465df0811..ef87c9f98c10 100644
--- a/svx/source/dialog/frmdirlbox.cxx
+++ b/svx/source/dialog/frmdirlbox.cxx
@@ -18,12 +18,10 @@
*/
#include <svx/frmdirlbox.hxx>
-#include <vcl/builder.hxx>
+#include <vcl/builderfactory.hxx>
namespace svx {
-
-
namespace {
inline void* lclEnumToVoid( SvxFrameDirection eDirection )
@@ -44,14 +42,14 @@ FrameDirectionListBox::FrameDirectionListBox( vcl::Window* pParent, WinBits nBit
{
}
-extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeFrameDirectionListBox(vcl::Window *pParent, VclBuilder::stringmap &)
+VCL_BUILDER_DECL_FACTORY(FrameDirectionListBox)
{
+ (void)rMap;
FrameDirectionListBox* pListBox = new FrameDirectionListBox(pParent, WB_LEFT|WB_DROPDOWN|WB_VCENTER|WB_3DLOOK|WB_TABSTOP);
pListBox->EnableAutoSize(true);
return pListBox;
}
-
void FrameDirectionListBox::InsertEntryValue( const OUString& rString, SvxFrameDirection eDirection, sal_Int32 nPos )
{
sal_Int32 nRealPos = InsertEntry( rString, nPos );