From 14bb5cc67c73d620262ae1fc595cd2c9d1ee644f Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Thu, 17 Sep 2015 17:12:03 +0200 Subject: Resolves: tdf#85979 TextToColumns is overwriting, so set at ScImportExport Change-Id: Id0fec512b53aab47f9951056e8726af0cce45708 (cherry picked from commit 624ab2e5a52e9b8aa139bae4cd1436d23b80bf8c) Reviewed-on: https://gerrit.libreoffice.org/18666 Reviewed-by: Christian Lohmaier Tested-by: Christian Lohmaier --- sc/source/ui/view/cellsh2.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx index b65677172bd0..3092e064f4e2 100644 --- a/sc/source/ui/view/cellsh2.cxx +++ b/sc/source/ui/view/cellsh2.cxx @@ -979,6 +979,7 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq ) aImport.SetExtOptions( aOptions ); aImport.SetApi( false ); aImport.SetImportBroadcast( true ); + aImport.SetOverwriting( true ); aStream.Seek( 0 ); aImport.ImportStream( aStream, OUString(), FORMAT_STRING ); -- cgit v1.2.3