summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-06-10 18:13:46 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-06-17 07:43:57 +0200
commit1c8babfdb0808318bbaa94e911c819456a65337e (patch)
tree8307dc4d79fe724852bdba8f1934fe47daf9cd41 /sc
parent3594780d3329c41f2800027dbb61b68767fb78b9 (diff)
document must be set modified when range name is defined, fdo#79451
Change-Id: I382bef9b95d40a1abac993795e8da540b5aa5d18
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/namedlg/namedefdlg.cxx1
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