diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-07-24 09:31:41 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-07-24 09:31:41 +0200 |
commit | 570fe620e9d573cfc9fc260e6518563c6a6c1a3c (patch) | |
tree | 414ea7b7f09999aa1ca8edb7d8180d08afd3db0e /fpicker | |
parent | look for find-requires-gnome.sh in the right path (diff) | |
download | core-570fe620e9d573cfc9fc260e6518563c6a6c1a3c.tar.gz core-570fe620e9d573cfc9fc260e6518563c6a6c1a3c.zip |
Keep passing XComponentContext into officecfg:: wrapper fns, where available
Change-Id: I10448edd04c6c7e7f03c539bf85aba4e00c7e311
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/win32/filepicker/VistaFilePicker.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fpicker/source/win32/filepicker/VistaFilePicker.cxx b/fpicker/source/win32/filepicker/VistaFilePicker.cxx index b7f7d8332dda..20eff44549e3 100644 --- a/fpicker/source/win32/filepicker/VistaFilePicker.cxx +++ b/fpicker/source/win32/filepicker/VistaFilePicker.cxx @@ -218,12 +218,13 @@ void SAL_CALL VistaFilePicker::setDisplayDirectory(const OUString& sDirectory) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException ) { - bool bChanged = officecfg::Office::Common::Path::Info::WorkPathChanged::get(); - + bool bChanged = officecfg::Office::Common::Path::Info::WorkPathChanged::get( + comphelper::getComponentContext(m_xSMGR)); if (bChanged ) { boost::shared_ptr< comphelper::ConfigurationChanges > batch( - comphelper::ConfigurationChanges::create()); + comphelper::ConfigurationChanges::create( + comphelper::getComponentContext(m_xSMGR))); officecfg::Office::Common::Path::Info::WorkPathChanged::set( false, batch); batch->commit(); |