[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - sc/source
Markus Mohrhard
markus.mohrhard at collabora.co.uk
Mon Jun 16 23:00:01 PDT 2014
sc/source/ui/namedlg/namedefdlg.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 9ff625d06374620d3cb950e5ee4027c782644835
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)
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
More information about the Libreoffice-commits
mailing list