Kaydet (Commit) 80d977b8 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Introduce osl::Module::release

...to make osl::Module useful in cases where there underlying library shall
remain loaded after the Module instance is destroyed.

Change-Id: Ie2c9c094207f159b900620d394f489d49ffa36d2
üst b7e0c9aa
......@@ -163,6 +163,15 @@ public:
return m_Module;
}
/** Release the module so that it will not be unloaded from the destructor.
This instance returns to the state of a default-constructed instance
again.
@since LibreOffice 4.3
*/
void release() { m_Module = 0; }
private:
oslModule m_Module;
......
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