summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCsikós Tamás <csks.tomi@gmail.com>2013-07-29 19:54:43 +0200
committerCaolán McNamara <caolanm@redhat.com>2013-07-30 13:48:40 +0000
commit471e5c1ed19afde8a92a91bfc1ccc71a2506cc01 (patch)
tree8ff7ee67f90a4b5bee904e3f4b391c95b9d193c5 /svtools
parentd7b48d03e19d2c05ecf2143b1547ceab5ab89e5c (diff)
modern .ui widgetlayout for directsql
Change-Id: I51140fe6abd2d321c5784b923f920ab9183f417e Reviewed-on: https://gerrit.libreoffice.org/5171 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/edit/editsyntaxhighlighter.cxx6
-rw-r--r--svtools/source/edit/svmedit.cxx6
2 files changed, 12 insertions, 0 deletions
diff --git a/svtools/source/edit/editsyntaxhighlighter.cxx b/svtools/source/edit/editsyntaxhighlighter.cxx
index 33e96d9da0be..05cc7b46008a 100644
--- a/svtools/source/edit/editsyntaxhighlighter.cxx
+++ b/svtools/source/edit/editsyntaxhighlighter.cxx
@@ -20,6 +20,7 @@
#include <svtools/svmedit.hxx>
#include <vcl/xtextedt.hxx>
+#include <vcl/builder.hxx>
#include <svtools/editsyntaxhighlighter.hxx>
#include <vcl/txtattr.hxx>
@@ -38,6 +39,11 @@ MultiLineEditSyntaxHighlight::MultiLineEditSyntaxHighlight( Window* pParent, con
aHighlighter.initialize( aLanguage );
}
+extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeMultiLineEditSyntaxHighlight(Window *pParent, VclBuilder::stringmap &)
+{
+ return new MultiLineEditSyntaxHighlight(pParent);
+}
+
MultiLineEditSyntaxHighlight::~MultiLineEditSyntaxHighlight()
{
}
diff --git a/svtools/source/edit/svmedit.cxx b/svtools/source/edit/svmedit.cxx
index 6a7c977c234c..224a967f299e 100644
--- a/svtools/source/edit/svmedit.cxx
+++ b/svtools/source/edit/svmedit.cxx
@@ -20,6 +20,7 @@
#include "unoiface.hxx"
+#include <vcl/builder.hxx>
#include <svtools/textwindowpeer.hxx>
@@ -33,6 +34,11 @@ MultiLineEdit::MultiLineEdit( Window* pParent, const ResId& rResId )
{
}
+extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeMultiLineEdit(Window *pParent, VclBuilder::stringmap &)
+{
+ return new MultiLineEdit(pParent);
+}
+
// virtual
css::uno::Reference< css::awt::XWindowPeer >
MultiLineEdit::GetComponentInterface(sal_Bool bCreate)