[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - svx/source

Stephan Bergmann sbergman at redhat.com
Thu Apr 3 04:13:35 PDT 2014


 svx/source/smarttags/SmartTagMgr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit afb34a6851b81a06f077f18e692944dcd5360767
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/8824
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm 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