summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-09-17 17:12:03 +0200
committerEike Rathke <erack@redhat.com>2015-09-17 17:15:21 +0200
commit624ab2e5a52e9b8aa139bae4cd1436d23b80bf8c (patch)
treef1b3840632cf9e42810f391d67cd4e5eda770571
parent50ea351929e9d3ba7b9b88d772a11286c59a1f66 (diff)
Resolves: tdf#85979 TextToColumns is overwriting, so set at ScImportExport
Change-Id: Id0fec512b53aab47f9951056e8726af0cce45708
-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 28dd99d6eda6..2e0f7f2f604a 100644
--- a/sc/source/ui/view/cellsh2.cxx
+++ b/sc/source/ui/view/cellsh2.cxx
@@ -994,6 +994,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 );