Kaydet (Commit) 4cd4063f authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Fix test

...after 7764439f "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/71998Reviewed-by: 's avatarTomaž Vajngerl <quikee@gmail.com>
Tested-by: Jenkins
üst 558c8bd9
......@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment