diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-23 16:10:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-23 17:07:25 +0000 |
commit | dd8fa7c25af9614dbee5a7795b95d8583093f65b (patch) | |
tree | 633e4ab5aab3eef11b5752890d018b47009ad185 /framework/source/inc/accelerators | |
parent | ba26ed19d82638f3bda7039edaa37addf274e95f (diff) |
fix more lifecycle problems
Diffstat (limited to 'framework/source/inc/accelerators')
-rwxr-xr-x | framework/source/inc/accelerators/globalacceleratorconfiguration.hxx | 3 | ||||
-rwxr-xr-x | framework/source/inc/accelerators/moduleacceleratorconfiguration.hxx | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/framework/source/inc/accelerators/globalacceleratorconfiguration.hxx b/framework/source/inc/accelerators/globalacceleratorconfiguration.hxx index 5cb106aab66c..28c7ba4eb12b 100755 --- a/framework/source/inc/accelerators/globalacceleratorconfiguration.hxx +++ b/framework/source/inc/accelerators/globalacceleratorconfiguration.hxx @@ -96,6 +96,9 @@ class GlobalAcceleratorConfiguration : public XCUBasedAcceleratorConfiguration ::rtl::OUString m_sLocale; + /** helper to listen for configuration changes without ownership cycle problems */ + css::uno::Reference< css::util::XChangesListener > m_xCfgListener; + //---------------------------------- /** read all data into the cache. */ void impl_ts_fillCache(); diff --git a/framework/source/inc/accelerators/moduleacceleratorconfiguration.hxx b/framework/source/inc/accelerators/moduleacceleratorconfiguration.hxx index 7feeea3b10b9..05588598ebf8 100755 --- a/framework/source/inc/accelerators/moduleacceleratorconfiguration.hxx +++ b/framework/source/inc/accelerators/moduleacceleratorconfiguration.hxx @@ -103,6 +103,8 @@ class ModuleAcceleratorConfiguration : public XCUBasedAcceleratorConfiguration // helper private: + /** helper to listen for configuration changes without ownership cycle problems */ + css::uno::Reference< css::util::XChangesListener > m_xCfgListener; //---------------------------------- /** read all data into the cache. */ |