summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/baside2b.cxx
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2020-05-18 17:32:21 +0200
committerXisco Faulí <xiscofauli@libreoffice.org>2020-05-23 10:02:59 +0200
commit1668d38a14e10f7433eed83b21c11f5e0f2915d6 (patch)
tree464f9d16534a146ba7a85a4200a3bd22d29cdab9 /basctl/source/basicide/baside2b.cxx
parent5ef3267c3a02da283ae15de3e2ad73395130a053 (diff)
uitest: add wrapper for macro editor
Change-Id: I729c5cdbc3ba925a0c08750eba199a400babba1e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94445 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'basctl/source/basicide/baside2b.cxx')
-rw-r--r--basctl/source/basicide/baside2b.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index a3f227f9a0ef..a1efc0bcd93c 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -62,6 +62,8 @@
#include <vector>
#include <com/sun/star/reflection/theCoreReflection.hpp>
#include <unotools/charclass.hxx>
+#include "uiobject.hxx"
+
namespace basctl
{
@@ -240,6 +242,7 @@ EditorWindow::EditorWindow (vcl::Window* pParent, ModulWindow* pModulWindow) :
bDelayHighlight(true),
pCodeCompleteWnd(VclPtr<CodeCompleteWindow>::Create(this))
{
+ set_id("EditorWindow");
SetBackground(Wallpaper(rModulWindow.GetLayout().GetSyntaxBackgroundColor()));
SetPointer( PointerStyle::Text );
SetHelpId( HID_BASICIDE_EDITORWINDOW );
@@ -1359,6 +1362,12 @@ void EditorWindow::ForceSyntaxTimeout()
aSyntaxIdle.Invoke();
}
+FactoryFunction EditorWindow::GetUITestFactory() const
+{
+ return EditorWindowUIObject::create;
+}
+
+
// BreakPointWindow
BreakPointWindow::BreakPointWindow (vcl::Window* pParent, ModulWindow* pModulWindow)