summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMatthew J. Francis <mjay.francis@gmail.com>2014-08-25 18:36:39 +0800
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-09-06 15:30:16 -0500
commite7c5c58177e96635bc89679d191d9e9e2f16f8c6 (patch)
tree944bc283a139de6e4d01d95e59691e312eec5782 /sfx2
parent321d7ec2071472b3765a00806715e7ad9f8a306f (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>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/objstor.cxx2
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;