summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/control
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-04 09:55:32 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-04 12:01:20 +0000
commit24a00c43c2b59df9b3f29c76f2e898e43bbb27ba (patch)
treed200e771e72f6bf252dd71999502401d82fd60cd /dbaccess/source/ui/control
parentc234d4c2cd63bcd8fb7e4a39b8f36226c289373d (diff)
convert database save as dialog to .ui
Change-Id: Ifc8d43930ecbd3ccd67147cd891260555976dc0d
Diffstat (limited to 'dbaccess/source/ui/control')
-rw-r--r--dbaccess/source/ui/control/SqlNameEdit.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/dbaccess/source/ui/control/SqlNameEdit.cxx b/dbaccess/source/ui/control/SqlNameEdit.cxx
index 8a6f861fc51d..603a50c37099 100644
--- a/dbaccess/source/ui/control/SqlNameEdit.cxx
+++ b/dbaccess/source/ui/control/SqlNameEdit.cxx
@@ -18,6 +18,8 @@
*/
#include "SqlNameEdit.hxx"
+#include <vcl/builder.hxx>
+
namespace dbaui
{
sal_Bool isCharOk(sal_Unicode _cChar,sal_Bool _bFirstChar,sal_Bool _bUpperCase,const OUString& _sAllowedChars)
@@ -79,4 +81,14 @@ namespace dbaui
}
}
+extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeOSQLNameEdit(Window *pParent, VclBuilder::stringmap &)
+{
+ return new dbaui::OSQLNameEdit(pParent);
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeOSQLNameComboBox(Window *pParent, VclBuilder::stringmap &)
+{
+ return new dbaui::OSQLNameComboBox(pParent);
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */