Fixed null case.
This commit is contained in:
parent
4394acec56
commit
dd7a1054b0
1 changed files with 8 additions and 2 deletions
|
@ -60,7 +60,10 @@ public class ODSFile
|
|||
}
|
||||
finally
|
||||
{
|
||||
out.close();
|
||||
if (out != null)
|
||||
{
|
||||
out.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -82,7 +85,10 @@ public class ODSFile
|
|||
}
|
||||
finally
|
||||
{
|
||||
out.close();
|
||||
if (out != null)
|
||||
{
|
||||
out.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue