[Libreoffice-commits] core.git: sfx2/source

Matthew J. Francis mjay.francis at gmail.com
Sat Sep 6 13:30:42 PDT 2014


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

New commits:
commit e7c5c58177e96635bc89679d191d9e9e2f16f8c6
Author: Matthew J. Francis <mjay.francis at 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 <tml at collabora.com>
    Tested-by: Tor Lillqvist <tml at collabora.com>
    Reviewed-by: Norbert Thiebaud <nthiebaud at 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;


More information about the Libreoffice-commits mailing list