summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-09-17 17:12:03 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-09-27 20:13:13 +0000
commit00adc13618d7957da43318a69559da82fbbb53a7 (patch)
tree88f92f8a4e854e4352e3645c79579df68781b297
parenta4532151e3ca83488bc8fd255cc64971421b4517 (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/18664 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@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 0ba222434e9d..aeca622c5133 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(), SotClipboardFormatId::STRING );