Kaydet (Commit) 79b693da authored tarafından Miklos Vajna's avatar Miklos Vajna

desktop: fix build

Change-Id: Ifffa41c896f2126ee557636ae6d0106b3ab51c4d
üst ca0fd4a4
...@@ -410,7 +410,7 @@ void DesktopLOKTest::testCommandResult() ...@@ -410,7 +410,7 @@ void DesktopLOKTest::testCommandResult()
// the condition var. // the condition var.
m_aCommandResultCondition.reset(); m_aCommandResultCondition.reset();
pDocument->pClass->postUnoCommand(pDocument, ".uno:Bold", 0, true); pDocument->pClass->postUnoCommand(pDocument, ".uno:Bold", 0, true);
m_aCommandResultCondition.wait(aTimeValue); m_aCommandResultCondition.wait(&aTimeValue);
CPPUNIT_ASSERT(m_aCommandResult.isEmpty()); CPPUNIT_ASSERT(m_aCommandResult.isEmpty());
...@@ -419,7 +419,7 @@ void DesktopLOKTest::testCommandResult() ...@@ -419,7 +419,7 @@ void DesktopLOKTest::testCommandResult()
m_aCommandResultCondition.reset(); m_aCommandResultCondition.reset();
pDocument->pClass->postUnoCommand(pDocument, ".uno:Bold", 0, true); pDocument->pClass->postUnoCommand(pDocument, ".uno:Bold", 0, true);
m_aCommandResultCondition.wait(aTimeValue); m_aCommandResultCondition.wait(&aTimeValue);
boost::property_tree::ptree aTree; boost::property_tree::ptree aTree;
std::stringstream aStream(m_aCommandResult.getStr()); std::stringstream aStream(m_aCommandResult.getStr());
......
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