summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-03 12:59:21 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-03 13:04:03 +0200
commitd4c8325ea9cbffeff91de49d5e1f1f026be319de (patch)
tree8d5e3f415a3b3f944f4bab253d5275b6a603e402 /svx
parent8302e1221ec4b023db319f5048195e45369b9848 (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
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 023a9ff1835f..b812393a254e 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;