[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - sc/source

Eike Rathke erack at redhat.com
Sun Sep 27 13:13:33 PDT 2015


 sc/source/ui/view/cellsh2.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 00adc13618d7957da43318a69559da82fbbb53a7
Author: Eike Rathke <erack at redhat.com>
Date:   Thu Sep 17 17:12:03 2015 +0200

    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 at googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx
index 0ba2224..aeca622 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 );
 


More information about the Libreoffice-commits mailing list