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

New commits:
commit 5767cac0c1647908e091724df2de246d9caca3b4
Author: Markus Mohrhard <markus.mohrh...@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 <muthus...@gmail.com>
    Reviewed-by: Andras Timar <andras.ti...@collabora.com>
    Tested-by: Andras Timar <andras.ti...@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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to