summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2017-09-19 17:29:07 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2017-09-22 14:42:55 +0200
commitf95e7ef38e0bf79fa9662bfd50de612d50ef71de (patch)
tree7b2e1cef5f9fd78029a28430ede15dcb105b7b5d /autogen.sh
parentloplugin:flatten in pyuno..sc (diff)
downloadcore-f95e7ef38e0bf79fa9662bfd50de612d50ef71de.tar.gz
core-f95e7ef38e0bf79fa9662bfd50de612d50ef71de.zip
Don't crash when opening templates via WebDAV
When loading a ODT template via HTTP, it crashes LO with an lang::IllegalArgumentException in LockFileCommon::ResolveLinks. This happens when closing the loaded template, as LO tries to remove a not-existing lock. aDocURL at this point is empty, so HasError() is true. As stated in the comment, we don't need a lock for documents created from templates, as this opens an internal copy of the document, so don't mark the teplate document as locked. Change-Id: Ide60020b6287aa67861dbcc8ec1b94f37896b7ef Reviewed-on: https://gerrit.libreoffice.org/42485 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions