[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - svx/source
Stephan Bergmann
sbergman at redhat.com
Thu Apr 3 11:01:21 PDT 2014
svx/source/smarttags/SmartTagMgr.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2e075ecb7111d83b2f7748fd31d1d9ef11e9845e
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Apr 3 12:59:21 2014 +0200
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 at collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos at collabora.co.uk>
diff --git a/svx/source/smarttags/SmartTagMgr.cxx b/svx/source/smarttags/SmartTagMgr.cxx
index ebd6733..3204ef4 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;
More information about the Libreoffice-commits
mailing list