diff options
author | Eike Rathke <erack@redhat.com> | 2015-09-17 17:12:03 +0200 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2015-09-27 09:19:04 +0000 |
commit | b37eda64cfdad7d60319b08fc8307a2237a724f6 (patch) | |
tree | 2b17362e92d4c0446b43387b6dc73f4f9c68e0d4 | |
parent | 2cc040878ce816b0353224910333e33a20983359 (diff) |
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 <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
-rw-r--r-- | sc/source/ui/view/cellsh2.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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 ); |