diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-05-08 17:08:35 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-05-08 23:31:42 +0200 |
commit | 4cd4063f9cf531d1e948f27fcfd2eaed3d4a1a2d (patch) | |
tree | f29eb69a6a6c9a32eddd806b37f11cfe58c9b162 | |
parent | 558c8bd9d5c5910e3290049e08fc7c3280151fd4 (diff) |
Fix test
...after 7764439f85f23efb4510b41e795abd1e4c9089e9 "WidgetDefinition: add
'action' state for the PushButton" introduced code that downcasts that
suspicious ImplControlValue to a PushButtonValue
Change-Id: I3ed24cc4a862d53ad5b6e95b4707bab7947ce7ba
Reviewed-on: https://gerrit.libreoffice.org/71998
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Jenkins
-rw-r--r-- | vcl/qa/cppunit/widgetdraw/WidgetDefinitionReaderTest.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/qa/cppunit/widgetdraw/WidgetDefinitionReaderTest.cxx b/vcl/qa/cppunit/widgetdraw/WidgetDefinitionReaderTest.cxx index 843f449b7901..63eecaeeaf1b 100644 --- a/vcl/qa/cppunit/widgetdraw/WidgetDefinitionReaderTest.cxx +++ b/vcl/qa/cppunit/widgetdraw/WidgetDefinitionReaderTest.cxx @@ -58,7 +58,7 @@ void WidgetDefinitionReaderTest::testRead() std::vector<std::shared_ptr<vcl::WidgetDefinitionState>> aStates = aDefinition.getDefinition(ControlType::Pushbutton, ControlPart::Entire) ->getStates(ControlType::Pushbutton, ControlPart::Entire, eState, - ImplControlValue()); + PushButtonValue()); CPPUNIT_ASSERT_EQUAL(size_t(2), aStates.size()); |