summaryrefslogtreecommitdiff
path: root/svx/source/dialog/checklbx.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/dialog/checklbx.cxx')
-rw-r--r--svx/source/dialog/checklbx.cxx13
1 files changed, 12 insertions, 1 deletions
diff --git a/svx/source/dialog/checklbx.cxx b/svx/source/dialog/checklbx.cxx
index 1a9e0192f5e7..266eac6b2638 100644
--- a/svx/source/dialog/checklbx.cxx
+++ b/svx/source/dialog/checklbx.cxx
@@ -19,6 +19,8 @@
#include <tools/shl.hxx>
+#include <svtools/treelistentry.hxx>
+
#define _SVX_CHECKLBX_CXX
#include <svx/checklbx.hxx>
@@ -26,7 +28,7 @@
#include <svx/dialogs.hrc>
-#include "svtools/treelistentry.hxx"
+#include <vcl/builder.hxx>
// class SvxCheckListBox -------------------------------------------------
@@ -38,6 +40,15 @@ SvxCheckListBox::SvxCheckListBox( Window* pParent, WinBits nWinStyle ) :
Init_Impl();
}
+extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeSvxCheckListBox(Window *pParent, VclBuilder::stringmap &rMap)
+{
+ WinBits nWinStyle = WB_TABSTOP;
+ OString sBorder = VclBuilder::extractCustomProperty(rMap);
+ if (!sBorder.isEmpty())
+ nWinStyle |= WB_BORDER;
+ return new SvxCheckListBox(pParent, nWinStyle);
+}
+
// -----------------------------------------------------------------------
SvxCheckListBox::SvxCheckListBox( Window* pParent, const ResId& rResId ) :