sfx2/source/doc/objstor.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit e7c5c58177e96635bc89679d191d9e9e2f16f8c6
Author: Matthew J. Francis <mjay.fran...@gmail.com>
Date:   Mon Aug 25 18:36:39 2014 +0800

    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 <t...@collabora.com>
    Tested-by: Tor Lillqvist <t...@collabora.com>
    Reviewed-by: Norbert Thiebaud <nthieb...@gmail.com>

diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index a79ea8c..d534b6b 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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to