summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-03 12:59:21 +0200
committerCaolán McNamara <caolanm@redhat.com>2014-04-03 11:12:58 +0000
commitafb34a6851b81a06f077f18e692944dcd5360767 (patch)
tree7459a26d3c79b868c1d6ad48f156cb5d659ba654 /svx
parent2dd84cf254f28523c3ff7f014fdbc515e9b89daa (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/8824 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/smarttags/SmartTagMgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/smarttags/SmartTagMgr.cxx b/svx/source/smarttags/SmartTagMgr.cxx
index 218406ca8138..6a97d3c0a929 100644
--- a/svx/source/smarttags/SmartTagMgr.cxx
+++ b/svx/source/smarttags/SmartTagMgr.cxx
@@ -345,7 +345,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;