Skip to content

Commit

Permalink
bug 156511 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
prrvchr committed Aug 1, 2023
1 parent a2f0858 commit a2fa9f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/uno/embedded/documenthandler.py
Expand Up @@ -204,7 +204,7 @@ def _closeDataBase(self, document):
if target.hasByName(name):
target.removeElement(name)
self._logger.logprb(INFO, 'DocumentHandler', '_closeDataBase()', 231, name)
source.moveElementTo(name, target, name)
source.copyElementTo(name, target, name)
self._logger.logprb(INFO, 'DocumentHandler', '_closeDataBase()', 232, name)
# FIXME: We need to clean the odb file if Save As as been used with a closed connection
if target.hasElements():
Expand Down Expand Up @@ -260,4 +260,4 @@ def _moveStorage(self, source, target, oldname, newname):
name = self._getStorageName(oldname, self._name, newname)
if target.hasByName(name):
target.removeElement(name)
source.moveElementTo(oldname, target, name)
source.copyElementTo(oldname, target, name)

0 comments on commit a2fa9f5

Please sign in to comment.