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

Markus Mohrhard markus.mohrhard at collabora.co.uk
Tue Jun 17 11:51:37 PDT 2014


 sc/source/ui/namedlg/namedefdlg.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 5767cac0c1647908e091724df2de246d9caca3b4
Author: Markus Mohrhard <markus.mohrhard at collabora.co.uk>
Date:   Tue Jun 10 18:13:46 2014 +0200

    document must be set modified when range name is defined, fdo#79451
    
    Change-Id: I382bef9b95d40a1abac993795e8da540b5aa5d18
    (cherry picked from commit 1c8babfdb0808318bbaa94e911c819456a65337e)
    Reviewed-on: https://gerrit.libreoffice.org/9804
    Reviewed-by: Muthu Subramanian K <muthusuba at gmail.com>
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

diff --git a/sc/source/ui/namedlg/namedefdlg.cxx b/sc/source/ui/namedlg/namedefdlg.cxx
index 62e13fd..c97605d 100644
--- a/sc/source/ui/namedlg/namedefdlg.cxx
+++ b/sc/source/ui/namedlg/namedefdlg.cxx
@@ -243,6 +243,7 @@ void ScNameDefDlg::AddPushed()
                     if (nTab != -1)
                         mpDoc->SetStreamValid(nTab, false);
                     SFX_APP()->Broadcast( SfxSimpleHint( SC_HINT_AREAS_CHANGED ) );
+                    mpDocShell->SetDocumentModified();
                     Close();
                 }
                 else


More information about the Libreoffice-commits mailing list