summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-09-17 17:12:03 +0200
committerAndras Timar <andras.timar@collabora.com>2015-10-02 14:58:35 +0200
commit14bb5cc67c73d620262ae1fc595cd2c9d1ee644f (patch)
treede26adacc76321e001835b6b2091d888dac90560
parent76e18f2ef89441fccd4990d2de71d7bc1ebe5571 (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.cxx1
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 );