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

New commits:
commit 9ff625d06374620d3cb950e5ee4027c782644835
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)

diff --git a/sc/source/ui/namedlg/namedefdlg.cxx 
b/sc/source/ui/namedlg/namedefdlg.cxx
index 3ab5d2f..b05d69b 100644
--- a/sc/source/ui/namedlg/namedefdlg.cxx
+++ b/sc/source/ui/namedlg/namedefdlg.cxx
@@ -245,6 +245,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