diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-08-01 09:53:23 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-08-01 09:53:23 +0000 |
commit | 37989725139c9863286801c4a5a9813c7be964df (patch) | |
tree | 30f6028e788333bfde3bdd2d4a5f2dd6a9b34fa7 /framework/source | |
parent | cda163aca3111053359b6fb1ee6a29a6a727cf24 (diff) |
INTEGRATION: CWS fwk68 (1.14.96); FILE MERGED
2007/07/11 07:25:11 cd 1.14.96.1: #i79442# Reinitialize cache when configuration files have been changed.
Diffstat (limited to 'framework/source')
-rw-r--r-- | framework/source/uielement/uicommanddescription.cxx | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/framework/source/uielement/uicommanddescription.cxx b/framework/source/uielement/uicommanddescription.cxx index 3ead7c2c4dfe..71c7430a22f6 100644 --- a/framework/source/uielement/uicommanddescription.cxx +++ b/framework/source/uielement/uicommanddescription.cxx @@ -4,9 +4,9 @@ * * $RCSfile: uicommanddescription.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: ihi $ $Date: 2006-12-19 14:02:18 $ + * last change: $Author: hr $ $Date: 2007-08-01 10:53:23 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -726,14 +726,23 @@ sal_Bool ConfigurationAccess_UICommand::initializeConfigAccess() // container.XContainerListener void SAL_CALL ConfigurationAccess_UICommand::elementInserted( const ContainerEvent& ) throw(RuntimeException) { + ResetableGuard aLock( m_aLock ); + m_bCacheFilled = sal_False; + fillCache(); } void SAL_CALL ConfigurationAccess_UICommand::elementRemoved( const ContainerEvent& ) throw(RuntimeException) { + ResetableGuard aLock( m_aLock ); + m_bCacheFilled = sal_False; + fillCache(); } void SAL_CALL ConfigurationAccess_UICommand::elementReplaced( const ContainerEvent& ) throw(RuntimeException) { + ResetableGuard aLock( m_aLock ); + m_bCacheFilled = sal_False; + fillCache(); } // lang.XEventListener |