diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-06-10 18:13:46 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2014-06-17 18:51:11 +0000 |
commit | 5767cac0c1647908e091724df2de246d9caca3b4 (patch) | |
tree | 8994d222d29c017ef15e8b0639e0763804e2bae4 | |
parent | 5b606507e4cbb2b579c90461a9d433bfe9c5cdf1 (diff) |
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@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
-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 62e13fd1855a..c97605d5b8e3 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 |