sfx2/source/doc/doctempl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4f61b652323e1bde5c45bc9dece3c61b2f69b83d Author: Akshay Deep <akshaydeepi...@gmail.com> Date: Wed Jun 15 12:54:23 2016 +0530 Template Export: Don't overwrite the existing template in a directory Change-Id: I19470c7eeb961665cb5248861b030479a0796a24 Reviewed-on: https://gerrit.libreoffice.org/26290 Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> Tested-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx index b39f109..422ab12 100644 --- a/sfx2/source/doc/doctempl.cxx +++ b/sfx2/source/doc/doctempl.cxx @@ -721,7 +721,7 @@ bool SfxDocumentTemplates::CopyTo aTransferInfo.MoveData = false; aTransferInfo.SourceURL = pSource->GetTargetURL(); aTransferInfo.NewTitle = aTitle; - aTransferInfo.NameClash = NameClash::OVERWRITE; + aTransferInfo.NameClash = NameClash::RENAME; Any aArg = makeAny( aTransferInfo ); OUString aCmd( COMMAND_TRANSFER ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits