diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-03 12:59:21 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2014-04-08 14:46:51 +0200 |
commit | f11b7e26c79f9660ec0348819f0db3f0a211f1be (patch) | |
tree | 3974d1f7d27996f2d40bb2ab370835e1cf2911dc | |
parent | d1b5da74d394e098194b0bb9a3f047df05e554d6 (diff) |
Support SmartTagRecognizers again
The XContentEnumerationAccess is at the service manager, not the component
context. Regression introduced in LO 4.0 with
4381f3dd5ae9e042840a16f69d07267208160420 "fdo#46808, Use BreakIterator ::create
method."
Change-Id: Idb7d38b9c14beea9a9ad347e6cbc8190d7248b2d
(cherry picked from commit d4c8325ea9cbffeff91de49d5e1f1f026be319de)
Reviewed-on: https://gerrit.libreoffice.org/8826
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
-rw-r--r-- | svx/source/smarttags/SmartTagMgr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/smarttags/SmartTagMgr.cxx b/svx/source/smarttags/SmartTagMgr.cxx index ebd67334e16e..3204ef454bd8 100644 --- a/svx/source/smarttags/SmartTagMgr.cxx +++ b/svx/source/smarttags/SmartTagMgr.cxx @@ -309,7 +309,7 @@ void SmartTagMgr::changesOccurred( const util::ChangesEvent& rEvent ) throw( Run */ void SmartTagMgr::LoadLibraries() { - Reference< container::XContentEnumerationAccess > rContent( mxContext , UNO_QUERY ); + Reference< container::XContentEnumerationAccess > rContent( mxContext->getServiceManager(), UNO_QUERY ); if ( !rContent.is() ) return; |