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

Eike Rathke erack at redhat.com
Sun Sep 27 02:19:34 PDT 2015


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

New commits:
commit b37eda64cfdad7d60319b08fc8307a2237a724f6
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/18666
    Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>
    Tested-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>

diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx
index b656771..3092e06 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 );
 


More information about the Libreoffice-commits mailing list