Kaydet (Commit) d4c8325e authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Support SmartTagRecognizers again

The XContentEnumerationAccess is at the service manager, not the component
context.  Regression introduced in LO 4.0 with
4381f3dd "fdo#46808, Use BreakIterator ::create
method."

Change-Id: Idb7d38b9c14beea9a9ad347e6cbc8190d7248b2d
üst 8302e122
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment