Kaydet (Commit) ccf22145 authored tarafından Stephan Bergmann's avatar Stephan Bergmann Kaydeden (comit) Fridrich Štrba

Dispose component context when done

Change-Id: Ic691d1a7136bdb02d3c94fee246920697503d5b0
üst 9caa5f21
......@@ -354,7 +354,8 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
rParser->parseStream( source );
nError = pDocHandler->nError;
css::uno::Reference<css::lang::XComponent>(
xContext, css::uno::UNO_QUERY_THROW)->dispose();
return nError;
} catch (css::uno::Exception & e) {
std::cerr << "ERROR: " << e.Message << '\n';
......
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