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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Oct 8 16:11:58 UTC 2018


 sfx2/source/view/viewfrm.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit ec235750bb30c3b66bd8b642f6abd1f9ea8244df
Author:     Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Fri Oct 5 18:43:49 2018 +0200
Commit:     Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Mon Oct 8 18:11:34 2018 +0200

    tdf#120271 related: Allow finalizing of LastTimeGetInvolvedShown
    
    This avoids abort() on modifying the setting in case it's finalized
    
    Change-Id: I5982a4d7bf867301d7ba0e7e0dbb3f7c87013134
    Reviewed-on: https://gerrit.libreoffice.org/61430
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>

diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index da991c1ee635..3728917d95fc 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -1237,7 +1237,8 @@ void SfxViewFrame::Notify( SfxBroadcaster& /*rBC*/, const SfxHint& rHint )
                     pInfoBar->addButton(xGetInvolvedButton);
                 }
 
-                if (bUpdateLastTimeGetInvolvedShown)
+                if (bUpdateLastTimeGetInvolvedShown
+                    && !officecfg::Setup::Product::LastTimeGetInvolvedShown::isReadOnly())
                 {
                     std::shared_ptr<comphelper::ConfigurationChanges> batch(comphelper::ConfigurationChanges::create());
                     officecfg::Setup::Product::LastTimeGetInvolvedShown::set(nNow, batch);


More information about the Libreoffice-commits mailing list