diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-06-10 18:13:46 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-06-17 07:54:51 +0200 |
commit | 9ff625d06374620d3cb950e5ee4027c782644835 (patch) | |
tree | 5f1617993c8a4ed646857d77e95854b1711dcf2b | |
parent | 8f990753138ef4d25a54652cf7cf0f257b35dc0b (diff) |
document must be set modified when range name is defined, fdo#79451
Change-Id: I382bef9b95d40a1abac993795e8da540b5aa5d18
(cherry picked from commit 1c8babfdb0808318bbaa94e911c819456a65337e)
-rw-r--r-- | sc/source/ui/namedlg/namedefdlg.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/namedlg/namedefdlg.cxx b/sc/source/ui/namedlg/namedefdlg.cxx index 3ab5d2fa9b61..b05d69b66352 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 |