diff options
author | Matthew J. Francis <mjay.francis@gmail.com> | 2014-08-25 18:36:39 +0800 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-09-06 15:30:16 -0500 |
commit | e7c5c58177e96635bc89679d191d9e9e2f16f8c6 (patch) | |
tree | 944bc283a139de6e4d01d95e59691e312eec5782 | |
parent | 321d7ec2071472b3765a00806715e7ad9f8a306f (diff) |
fdo#56562 OSX: Update URL in Writer title bar when saving .doc
Change-Id: I839ee3fd76d9c5666dd7f82cba26596c80ff2602
Reviewed-on: https://gerrit.libreoffice.org/11106
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
-rw-r--r-- | sfx2/source/doc/objstor.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index a79ea8c53585..d534b6b958c0 100644 --- a/sfx2/source/doc/objstor.cxx +++ b/sfx2/source/doc/objstor.cxx @@ -1977,8 +1977,10 @@ bool SfxObjectShell::DoSaveCompleted( SfxMedium* pNewMed ) if (!pNewMed->GetName().isEmpty()) bHasName = true; Broadcast( SfxSimpleHint(SFX_HINT_NAMECHANGED) ); + EnableSetModified(false); getDocProperties()->setGenerator( ::utl::DocInfoHelper::GetGeneratorString() ); + EnableSetModified(true); } uno::Reference< embed::XStorage > xStorage; |