summaryrefslogtreecommitdiff
path: root/vcl/source/control/spinfld.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-03-30 05:14:50 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-06-18 17:01:50 +0200
commit77dd7f82911b2e8cd076dd71f3b3901b84fb98d6 (patch)
tree11f63b0daf5b7d74a9b71ad8dc58fba60dbdf4d3 /vcl/source/control/spinfld.cxx
parent38755971d4ea5169b6a0991298e75727247a87b4 (diff)
uitest: a slightly better approach for the factory problem in the ui testing
Change-Id: I15dbf2446791c4be9be4e18e63c0d03104d8d405
Diffstat (limited to 'vcl/source/control/spinfld.cxx')
-rw-r--r--vcl/source/control/spinfld.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/source/control/spinfld.cxx b/vcl/source/control/spinfld.cxx
index d0247fbb1c03..4268a9715d2a 100644
--- a/vcl/source/control/spinfld.cxx
+++ b/vcl/source/control/spinfld.cxx
@@ -23,6 +23,7 @@
#include <vcl/decoview.hxx>
#include <vcl/spinfld.hxx>
#include <vcl/settings.hxx>
+#include <uitest/uiobject_impl.hxx>
#include "controldata.hxx"
#include "spin.hxx"
@@ -1040,4 +1041,9 @@ void SpinField::Draw(OutputDevice* pDev, const Point& rPos, const Size& rSize, D
}
}
+FactoryFunction SpinField::GetUITestFactory() const
+{
+ return SpinFieldUIObject::create;
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */