summaryrefslogtreecommitdiff
path: root/svtools/source/contnr/simptabl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/contnr/simptabl.cxx')
-rw-r--r--svtools/source/contnr/simptabl.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/svtools/source/contnr/simptabl.cxx b/svtools/source/contnr/simptabl.cxx
index 8515183e66b6..88a8cb3c11c2 100644
--- a/svtools/source/contnr/simptabl.cxx
+++ b/svtools/source/contnr/simptabl.cxx
@@ -24,6 +24,7 @@
#include <vcl/builderfactory.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
+#include <uitest/uiobject.hxx>
SvSimpleTableContainer::SvSimpleTableContainer(vcl::Window* pParent, WinBits nBits)
: Control(pParent, nBits)
@@ -50,6 +51,11 @@ void SvSimpleTableContainer::SetTable(SvSimpleTable* pTable)
m_pTable = pTable;
}
+SvSimpleTable* SvSimpleTableContainer::GetTable()
+{
+ return m_pTable.get();
+}
+
bool SvSimpleTableContainer::PreNotify( NotifyEvent& rNEvt )
{
bool bResult = true;
@@ -84,6 +90,11 @@ void SvSimpleTableContainer::GetFocus()
m_pTable->GrabFocus();
}
+FactoryFunction SvSimpleTableContainer::GetUITestFactory() const
+{
+ return SimpleTableUIObject::createFromContainer;
+}
+
// SvSimpleTable ------------------------------------------------------------
SvSimpleTable::SvSimpleTable(SvSimpleTableContainer& rParent, WinBits nBits):