Kaydet (Commit) d00c4476 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

fail early and hard

Change-Id: Ib550126d190e9436cf77e6c51eaf869ecd75a18b
üst 1812d606
......@@ -21,7 +21,9 @@ namespace unotest {
uno::Reference< com::sun::star::lang::XComponent > MacrosTest::loadFromDesktop(const OUString& rURL, const char* pDocService)
{
CPPUNIT_ASSERT_MESSAGE("no desktop", mxDesktop.is());
uno::Reference< com::sun::star::frame::XComponentLoader> xLoader = uno::Reference< com::sun::star::frame::XComponentLoader >( mxDesktop, uno::UNO_QUERY );
CPPUNIT_ASSERT_MESSAGE("no loader", xLoader.is());
com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue > args(1);
args[0].Name = "MacroExecutionMode";
args[0].Handle = -1;
......
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