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

hsqldb flush: protect against weak ref having expired

Change-Id: I5967271c1c154ab4cf5555d30d3812183ea2a6b7
üst 63314e51
...@@ -619,7 +619,8 @@ namespace connectivity ...@@ -619,7 +619,8 @@ namespace connectivity
try try
{ {
Reference<XFlushable> xCon(i->second.second.first.get(),UNO_QUERY); Reference<XFlushable> xCon(i->second.second.first.get(),UNO_QUERY);
xCon->flush(); if (xCon.is())
xCon->flush();
} }
catch(Exception&) catch(Exception&)
{ {
......
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