[Libreoffice-commits] core.git: Branch 'libreoffice-4-2-3' - svx/source
Stephan Bergmann
sbergman at redhat.com
Thu Apr 3 07:16:54 PDT 2014
svx/source/smarttags/SmartTagMgr.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7189601d7f1177e560f9e88dbfe580c8eba5278f
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/8825
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Reviewed-by: Eike Rathke <erack at redhat.com>
Tested-by: Eike Rathke <erack at redhat.com>
diff --git a/svx/source/smarttags/SmartTagMgr.cxx b/svx/source/smarttags/SmartTagMgr.cxx
index 218406c..6a97d3c 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;
More information about the Libreoffice-commits
mailing list