[PATCH libreoffice-4-0] fdo#63398 hardcode former list of oneway method

Lionel Elie Mamane (via Code Review) gerrit at gerrit.libreoffice.org
Sat May 11 20:26:09 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3863

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/63/3863/1

fdo#63398 hardcode former list of oneway method

adapt to disappearance of oneway qualifier for method
by hardcoding list of methods that were oneway.

Autogenerated by the following script:
SKIP=1; git log -p -1   90eac3e69749a9227c4b6902b1f3cef1e338c6d1 | while read f0 f1 f2 f3 f4; do if [[ "$f0" == "---" ]]; then if printf '%s' "$f1" | egrep -q '^a/(off|udk)api/.*\.idl$'; then LISTENER=$(printf '%s' "$f1" | sed  -re 's@^a/(udk|off)api/@@' -e 's|/|.|g' -e 's@\.idl$@@'); SKIP=0; else SKIP=1; fi; elif [[ "$SKIP" -eq 0 ]] && [[ "$f1" == '[oneway]' ]]; then printf $'(pair<OUString,OUString>("%s","%s"))
' "$LISTENER" $(echo -n "$f3" | sed -r -e 's@\(.*@@'); fi; done

This is rather atrocious, but ensures the behaviour is exactly the
same as before.

Left to do:

remove methods that are irrelevant here
(that is, impl_allowAsynchronousCall_nothrow will never be called
 with them as argument)

(cherry picked from commit 9dfc3807dbff1a40f487d020446265bb85d0ac16)

Conflicts:
	svx/source/form/fmscriptingenv.cxx

Change-Id: If4fea164a2fe727048645cd853a9850e59469ba5
---
M svx/source/form/fmscriptingenv.cxx
1 file changed, 535 insertions(+), 17 deletions(-)



diff --git a/svx/source/form/fmscriptingenv.cxx b/svx/source/form/fmscriptingenv.cxx
index c6bf945..e8cf061 100644
--- a/svx/source/form/fmscriptingenv.cxx
+++ b/svx/source/form/fmscriptingenv.cxx
@@ -40,6 +40,10 @@
 #include <basic/basmgr.hxx>
 
 #include <boost/shared_ptr.hpp>
+#include <boost/assign/list_of.hpp>
+#include <utility>
+using std::pair;
+#include <set>
 
 //........................................................................
 namespace svxform
@@ -195,24 +199,538 @@
     //--------------------------------------------------------------------
     bool FormScriptListener::impl_allowAsynchronousCall_nothrow( const ::rtl::OUString& _rListenerType, const ::rtl::OUString& _rMethodName ) const
     {
-        bool bAllowAsynchronousCall = false;
-        try
-        {
-            ::comphelper::ComponentContext aContext( ::comphelper::getProcessServiceFactory() );
-            Reference< XHierarchicalNameAccess > xTypeDescriptions( aContext.getSingleton( "com.sun.star.reflection.theTypeDescriptionManager" ), UNO_QUERY_THROW );
+        // This used to be implemented as:
+        // is (_rListenerType + "::" + _rMethodName) a oneway function?
+        // since we got rid of the notion of oneway, this is the list
+        // of oneway methods, autogenerated by postprocessing of
+        // commitdiff 90eac3e69749a9227c4b6902b1f3cef1e338c6d1
+        static std::set< pair< OUString, OUString > > delayed_event_listeners =
+            boost::assign::list_of
+            (pair<OUString,OUString>("com.sun.star.accessibility.XAccessibleComponent","grabFocus"))
+            (pair<OUString,OUString>("com.sun.star.accessibility.XAccessibleEventBroadcaster","addAccessibleEventListener"))
+            (pair<OUString,OUString>("com.sun.star.accessibility.XAccessibleEventBroadcaster","removeAccessibleEventListener"))
+            (pair<OUString,OUString>("com.sun.star.accessibility.XAccessibleSelection","clearAccessibleSelection"))
+            (pair<OUString,OUString>("com.sun.star.accessibility.XAccessibleSelection","selectAllAccessibleChildren"))
+            (pair<OUString,OUString>("com.sun.star.awt.XActionListener","actionPerformed"))
+            (pair<OUString,OUString>("com.sun.star.awt.XActivateListener","windowActivated"))
+            (pair<OUString,OUString>("com.sun.star.awt.XActivateListener","windowDeactivated"))
+            (pair<OUString,OUString>("com.sun.star.awt.XAdjustmentListener","adjustmentValueChanged"))
+            (pair<OUString,OUString>("com.sun.star.awt.XButton","addActionListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XButton","removeActionListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XButton","setLabel"))
+            (pair<OUString,OUString>("com.sun.star.awt.XButton","setActionCommand"))
+            (pair<OUString,OUString>("com.sun.star.awt.XCheckBox","addItemListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XCheckBox","removeItemListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XCheckBox","setState"))
+            (pair<OUString,OUString>("com.sun.star.awt.XCheckBox","setLabel"))
+            (pair<OUString,OUString>("com.sun.star.awt.XCheckBox","enableTriState"))
+            (pair<OUString,OUString>("com.sun.star.awt.XComboBox","addItemListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XComboBox","removeItemListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XComboBox","addActionListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XComboBox","removeActionListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XComboBox","addItem"))
+            (pair<OUString,OUString>("com.sun.star.awt.XComboBox","addItems"))
+            (pair<OUString,OUString>("com.sun.star.awt.XComboBox","removeItems"))
+            (pair<OUString,OUString>("com.sun.star.awt.XComboBox","setDropDownLineCount"))
+            (pair<OUString,OUString>("com.sun.star.awt.XControl","setContext"))
+            (pair<OUString,OUString>("com.sun.star.awt.XControl","createPeer"))
+            (pair<OUString,OUString>("com.sun.star.awt.XControl","setDesignMode"))
+            (pair<OUString,OUString>("com.sun.star.awt.XControlContainer","setStatusText"))
+            (pair<OUString,OUString>("com.sun.star.awt.XControlContainer","addControl"))
+            (pair<OUString,OUString>("com.sun.star.awt.XControlContainer","removeControl"))
+            (pair<OUString,OUString>("com.sun.star.awt.XCurrencyField","setValue"))
+            (pair<OUString,OUString>("com.sun.star.awt.XCurrencyField","setMin"))
+            (pair<OUString,OUString>("com.sun.star.awt.XCurrencyField","setMax"))
+            (pair<OUString,OUString>("com.sun.star.awt.XCurrencyField","setFirst"))
+            (pair<OUString,OUString>("com.sun.star.awt.XCurrencyField","setLast"))
+            (pair<OUString,OUString>("com.sun.star.awt.XCurrencyField","setSpinSize"))
+            (pair<OUString,OUString>("com.sun.star.awt.XCurrencyField","setDecimalDigits"))
+            (pair<OUString,OUString>("com.sun.star.awt.XCurrencyField","setStrictFormat"))
+            (pair<OUString,OUString>("com.sun.star.awt.XDateField","setDate"))
+            (pair<OUString,OUString>("com.sun.star.awt.XDateField","setMin"))
+            (pair<OUString,OUString>("com.sun.star.awt.XDateField","setMax"))
+            (pair<OUString,OUString>("com.sun.star.awt.XDateField","setFirst"))
+            (pair<OUString,OUString>("com.sun.star.awt.XDateField","setLast"))
+            (pair<OUString,OUString>("com.sun.star.awt.XDateField","setLongFormat"))
+            (pair<OUString,OUString>("com.sun.star.awt.XDateField","setStrictFormat"))
+            (pair<OUString,OUString>("com.sun.star.awt.XDialog","setTitle"))
+            (pair<OUString,OUString>("com.sun.star.awt.XDisplayConnection","addEventHandler"))
+            (pair<OUString,OUString>("com.sun.star.awt.XDisplayConnection","removeEventHandler"))
+            (pair<OUString,OUString>("com.sun.star.awt.XDisplayConnection","addErrorHandler"))
+            (pair<OUString,OUString>("com.sun.star.awt.XDisplayConnection","removeErrorHandler"))
+            (pair<OUString,OUString>("com.sun.star.awt.XExtendedToolkit","addTopWindowListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XExtendedToolkit","removeTopWindowListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XExtendedToolkit","addKeyHandler"))
+            (pair<OUString,OUString>("com.sun.star.awt.XExtendedToolkit","removeKeyHandler"))
+            (pair<OUString,OUString>("com.sun.star.awt.XExtendedToolkit","addFocusListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XExtendedToolkit","removeFocusListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XExtendedToolkit","fireFocusGained"))
+            (pair<OUString,OUString>("com.sun.star.awt.XExtendedToolkit","fireFocusLost"))
+            (pair<OUString,OUString>("com.sun.star.awt.XFileDialog","setPath"))
+            (pair<OUString,OUString>("com.sun.star.awt.XFileDialog","setFilters"))
+            (pair<OUString,OUString>("com.sun.star.awt.XFileDialog","setCurrentFilter"))
+            (pair<OUString,OUString>("com.sun.star.awt.XFixedHyperlink","setText"))
+            (pair<OUString,OUString>("com.sun.star.awt.XFixedHyperlink","setURL"))
+            (pair<OUString,OUString>("com.sun.star.awt.XFixedHyperlink","setAlignment"))
+            (pair<OUString,OUString>("com.sun.star.awt.XFixedHyperlink","addActionListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XFixedHyperlink","removeActionListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XFixedText","setText"))
+            (pair<OUString,OUString>("com.sun.star.awt.XFixedText","setAlignment"))
+            (pair<OUString,OUString>("com.sun.star.awt.XFocusListener","focusGained"))
+            (pair<OUString,OUString>("com.sun.star.awt.XFocusListener","focusLost"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","setFont"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","selectFont"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","setTextColor"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","setTextFillColor"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","setLineColor"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","setFillColor"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","setRasterOp"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","setClipRegion"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","intersectClipRegion"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","push"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","pop"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","copy"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","draw"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","drawPixel"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","drawLine"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","drawRect"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","drawRoundedRect"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","drawPolyLine"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","drawPolygon"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","drawPolyPolygon"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","drawEllipse"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","drawArc"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","drawPie"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","drawChord"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","drawGradient"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","drawText"))
+            (pair<OUString,OUString>("com.sun.star.awt.XGraphics","drawTextArray"))
+            (pair<OUString,OUString>("com.sun.star.awt.XImageButton","addActionListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XImageButton","removeActionListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XImageButton","setActionCommand"))
+            (pair<OUString,OUString>("com.sun.star.awt.XImageConsumer","init"))
+            (pair<OUString,OUString>("com.sun.star.awt.XImageConsumer","setColorModel"))
+            (pair<OUString,OUString>("com.sun.star.awt.XImageConsumer","setPixelsByBytes"))
+            (pair<OUString,OUString>("com.sun.star.awt.XImageConsumer","setPixelsByLongs"))
+            (pair<OUString,OUString>("com.sun.star.awt.XImageConsumer","complete"))
+            (pair<OUString,OUString>("com.sun.star.awt.XImageProducer","addConsumer"))
+            (pair<OUString,OUString>("com.sun.star.awt.XImageProducer","removeConsumer"))
+            (pair<OUString,OUString>("com.sun.star.awt.XImageProducer","startProduction"))
+            (pair<OUString,OUString>("com.sun.star.awt.XItemEventBroadcaster","addItemListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XItemEventBroadcaster","removeItemListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XItemListener","itemStateChanged"))
+            (pair<OUString,OUString>("com.sun.star.awt.XKeyListener","keyPressed"))
+            (pair<OUString,OUString>("com.sun.star.awt.XKeyListener","keyReleased"))
+            (pair<OUString,OUString>("com.sun.star.awt.XListBox","addItemListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XListBox","removeItemListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XListBox","addActionListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XListBox","removeActionListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XListBox","addItem"))
+            (pair<OUString,OUString>("com.sun.star.awt.XListBox","addItems"))
+            (pair<OUString,OUString>("com.sun.star.awt.XListBox","removeItems"))
+            (pair<OUString,OUString>("com.sun.star.awt.XListBox","selectItemPos"))
+            (pair<OUString,OUString>("com.sun.star.awt.XListBox","selectItemsPos"))
+            (pair<OUString,OUString>("com.sun.star.awt.XListBox","selectItem"))
+            (pair<OUString,OUString>("com.sun.star.awt.XListBox","setMultipleMode"))
+            (pair<OUString,OUString>("com.sun.star.awt.XListBox","setDropDownLineCount"))
+            (pair<OUString,OUString>("com.sun.star.awt.XListBox","makeVisible"))
+            (pair<OUString,OUString>("com.sun.star.awt.XMenu","addMenuListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XMenu","removeMenuListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XMenu","insertItem"))
+            (pair<OUString,OUString>("com.sun.star.awt.XMenu","removeItem"))
+            (pair<OUString,OUString>("com.sun.star.awt.XMenu","enableItem"))
+            (pair<OUString,OUString>("com.sun.star.awt.XMenu","setItemText"))
+            (pair<OUString,OUString>("com.sun.star.awt.XMenu","setPopupMenu"))
+            (pair<OUString,OUString>("com.sun.star.awt.XMenuListener","highlight"))
+            (pair<OUString,OUString>("com.sun.star.awt.XMenuListener","select"))
+            (pair<OUString,OUString>("com.sun.star.awt.XMenuListener","activate"))
+            (pair<OUString,OUString>("com.sun.star.awt.XMenuListener","deactivate"))
+            (pair<OUString,OUString>("com.sun.star.awt.XMessageBox","setCaptionText"))
+            (pair<OUString,OUString>("com.sun.star.awt.XMessageBox","setMessageText"))
+            (pair<OUString,OUString>("com.sun.star.awt.XMouseListener","mousePressed"))
+            (pair<OUString,OUString>("com.sun.star.awt.XMouseListener","mouseReleased"))
+            (pair<OUString,OUString>("com.sun.star.awt.XMouseListener","mouseEntered"))
+            (pair<OUString,OUString>("com.sun.star.awt.XMouseListener","mouseExited"))
+            (pair<OUString,OUString>("com.sun.star.awt.XNumericField","setValue"))
+            (pair<OUString,OUString>("com.sun.star.awt.XNumericField","setMin"))
+            (pair<OUString,OUString>("com.sun.star.awt.XNumericField","setMax"))
+            (pair<OUString,OUString>("com.sun.star.awt.XNumericField","setFirst"))
+            (pair<OUString,OUString>("com.sun.star.awt.XNumericField","setLast"))
+            (pair<OUString,OUString>("com.sun.star.awt.XNumericField","setSpinSize"))
+            (pair<OUString,OUString>("com.sun.star.awt.XNumericField","setDecimalDigits"))
+            (pair<OUString,OUString>("com.sun.star.awt.XNumericField","setStrictFormat"))
+            (pair<OUString,OUString>("com.sun.star.awt.XPaintListener","windowPaint"))
+            (pair<OUString,OUString>("com.sun.star.awt.XPatternField","setMasks"))
+            (pair<OUString,OUString>("com.sun.star.awt.XPatternField","setString"))
+            (pair<OUString,OUString>("com.sun.star.awt.XPatternField","setStrictFormat"))
+            (pair<OUString,OUString>("com.sun.star.awt.XPointer","setType"))
+            (pair<OUString,OUString>("com.sun.star.awt.XPopupMenu","insertSeparator"))
+            (pair<OUString,OUString>("com.sun.star.awt.XPopupMenu","setDefaultItem"))
+            (pair<OUString,OUString>("com.sun.star.awt.XPopupMenu","checkItem"))
+            (pair<OUString,OUString>("com.sun.star.awt.XProgressBar","setForegroundColor"))
+            (pair<OUString,OUString>("com.sun.star.awt.XProgressBar","setBackgroundColor"))
+            (pair<OUString,OUString>("com.sun.star.awt.XProgressBar","setRange"))
+            (pair<OUString,OUString>("com.sun.star.awt.XProgressBar","setValue"))
+            (pair<OUString,OUString>("com.sun.star.awt.XProgressMonitor","addText"))
+            (pair<OUString,OUString>("com.sun.star.awt.XProgressMonitor","removeText"))
+            (pair<OUString,OUString>("com.sun.star.awt.XProgressMonitor","updateText"))
+            (pair<OUString,OUString>("com.sun.star.awt.XRadioButton","addItemListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XRadioButton","removeItemListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XRadioButton","setState"))
+            (pair<OUString,OUString>("com.sun.star.awt.XRadioButton","setLabel"))
+            (pair<OUString,OUString>("com.sun.star.awt.XRegion","clear"))
+            (pair<OUString,OUString>("com.sun.star.awt.XRegion","move"))
+            (pair<OUString,OUString>("com.sun.star.awt.XRegion","unionRectangle"))
+            (pair<OUString,OUString>("com.sun.star.awt.XRegion","intersectRectangle"))
+            (pair<OUString,OUString>("com.sun.star.awt.XRegion","excludeRectangle"))
+            (pair<OUString,OUString>("com.sun.star.awt.XRegion","xOrRectangle"))
+            (pair<OUString,OUString>("com.sun.star.awt.XRegion","unionRegion"))
+            (pair<OUString,OUString>("com.sun.star.awt.XRegion","intersectRegion"))
+            (pair<OUString,OUString>("com.sun.star.awt.XRegion","excludeRegion"))
+            (pair<OUString,OUString>("com.sun.star.awt.XRegion","xOrRegion"))
+            (pair<OUString,OUString>("com.sun.star.awt.XScrollBar","addAdjustmentListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XScrollBar","removeAdjustmentListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XScrollBar","setValue"))
+            (pair<OUString,OUString>("com.sun.star.awt.XScrollBar","setValues"))
+            (pair<OUString,OUString>("com.sun.star.awt.XScrollBar","setMaximum"))
+            (pair<OUString,OUString>("com.sun.star.awt.XScrollBar","setLineIncrement"))
+            (pair<OUString,OUString>("com.sun.star.awt.XScrollBar","setBlockIncrement"))
+            (pair<OUString,OUString>("com.sun.star.awt.XScrollBar","setVisibleSize"))
+            (pair<OUString,OUString>("com.sun.star.awt.XScrollBar","setOrientation"))
+            (pair<OUString,OUString>("com.sun.star.awt.XSpinField","addSpinListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XSpinField","removeSpinListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XSpinField","up"))
+            (pair<OUString,OUString>("com.sun.star.awt.XSpinField","down"))
+            (pair<OUString,OUString>("com.sun.star.awt.XSpinField","first"))
+            (pair<OUString,OUString>("com.sun.star.awt.XSpinField","last"))
+            (pair<OUString,OUString>("com.sun.star.awt.XSpinField","enableRepeat"))
+            (pair<OUString,OUString>("com.sun.star.awt.XSpinListener","up"))
+            (pair<OUString,OUString>("com.sun.star.awt.XSpinListener","down"))
+            (pair<OUString,OUString>("com.sun.star.awt.XSpinListener","first"))
+            (pair<OUString,OUString>("com.sun.star.awt.XSpinListener","last"))
+            (pair<OUString,OUString>("com.sun.star.awt.XSpinValue","addAdjustmentListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XSpinValue","removeAdjustmentListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XSpinValue","setValue"))
+            (pair<OUString,OUString>("com.sun.star.awt.XSpinValue","setValues"))
+            (pair<OUString,OUString>("com.sun.star.awt.XSpinValue","setMinimum"))
+            (pair<OUString,OUString>("com.sun.star.awt.XSpinValue","setMaximum"))
+            (pair<OUString,OUString>("com.sun.star.awt.XSpinValue","setSpinIncrement"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTabController","setModel"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTabController","setContainer"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTabController","autoTabOrder"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTabController","activateTabOrder"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTabController","activateFirst"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTabController","activateLast"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTabControllerModel","setGroupControl"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTabControllerModel","setControlModels"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTabControllerModel","setGroup"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTextComponent","addTextListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTextComponent","removeTextListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTextComponent","setText"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTextComponent","insertText"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTextComponent","setSelection"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTextComponent","setEditable"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTextComponent","setMaxTextLen"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTextEditField","setEchoChar"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTextListener","textChanged"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTimeField","setTime"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTimeField","setMin"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTimeField","setMax"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTimeField","setFirst"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTimeField","setLast"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTimeField","setStrictFormat"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTopWindow","addTopWindowListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTopWindow","removeTopWindowListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTopWindow","toFront"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTopWindow","toBack"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTopWindow","setMenuBar"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTopWindowListener","windowOpened"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTopWindowListener","windowClosing"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTopWindowListener","windowClosed"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTopWindowListener","windowMinimized"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTopWindowListener","windowNormalized"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTopWindowListener","windowActivated"))
+            (pair<OUString,OUString>("com.sun.star.awt.XTopWindowListener","windowDeactivated"))
+            (pair<OUString,OUString>("com.sun.star.awt.XUnoControlContainer","setTabControllers"))
+            (pair<OUString,OUString>("com.sun.star.awt.XUnoControlContainer","addTabController"))
+            (pair<OUString,OUString>("com.sun.star.awt.XUnoControlContainer","removeTabController"))
+            (pair<OUString,OUString>("com.sun.star.awt.XUserInputInterception","addKeyHandler"))
+            (pair<OUString,OUString>("com.sun.star.awt.XUserInputInterception","removeKeyHandler"))
+            (pair<OUString,OUString>("com.sun.star.awt.XUserInputInterception","addMouseClickHandler"))
+            (pair<OUString,OUString>("com.sun.star.awt.XUserInputInterception","removeMouseClickHandler"))
+            (pair<OUString,OUString>("com.sun.star.awt.XVclContainer","addVclContainerListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XVclContainer","removeVclContainerListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XVclContainerListener","windowAdded"))
+            (pair<OUString,OUString>("com.sun.star.awt.XVclContainerListener","windowRemoved"))
+            (pair<OUString,OUString>("com.sun.star.awt.XVclContainerPeer","enableDialogControl"))
+            (pair<OUString,OUString>("com.sun.star.awt.XVclContainerPeer","setTabOrder"))
+            (pair<OUString,OUString>("com.sun.star.awt.XVclContainerPeer","setGroup"))
+            (pair<OUString,OUString>("com.sun.star.awt.XVclWindowPeer","setDesignMode"))
+            (pair<OUString,OUString>("com.sun.star.awt.XVclWindowPeer","enableClipSiblings"))
+            (pair<OUString,OUString>("com.sun.star.awt.XVclWindowPeer","setForeground"))
+            (pair<OUString,OUString>("com.sun.star.awt.XVclWindowPeer","setControlFont"))
+            (pair<OUString,OUString>("com.sun.star.awt.XView","draw"))
+            (pair<OUString,OUString>("com.sun.star.awt.XView","setZoom"))
+            (pair<OUString,OUString>("com.sun.star.awt.XWindow","setPosSize"))
+            (pair<OUString,OUString>("com.sun.star.awt.XWindow","setVisible"))
+            (pair<OUString,OUString>("com.sun.star.awt.XWindow","setEnable"))
+            (pair<OUString,OUString>("com.sun.star.awt.XWindow","setFocus"))
+            (pair<OUString,OUString>("com.sun.star.awt.XWindow","addWindowListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XWindow","removeWindowListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XWindow","addFocusListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XWindow","removeFocusListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XWindow","addKeyListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XWindow","removeKeyListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XWindow","addMouseListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XWindow","removeMouseListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XWindow","addMouseMotionListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XWindow","removeMouseMotionListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XWindow","addPaintListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XWindow","removePaintListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.XWindowListener","windowResized"))
+            (pair<OUString,OUString>("com.sun.star.awt.XWindowListener","windowMoved"))
+            (pair<OUString,OUString>("com.sun.star.awt.XWindowListener","windowShown"))
+            (pair<OUString,OUString>("com.sun.star.awt.XWindowListener","windowHidden"))
+            (pair<OUString,OUString>("com.sun.star.awt.XWindowListener2","windowEnabled"))
+            (pair<OUString,OUString>("com.sun.star.awt.XWindowListener2","windowDisabled"))
+            (pair<OUString,OUString>("com.sun.star.awt.XWindowPeer","setPointer"))
+            (pair<OUString,OUString>("com.sun.star.awt.XWindowPeer","setBackground"))
+            (pair<OUString,OUString>("com.sun.star.awt.XWindowPeer","invalidate"))
+            (pair<OUString,OUString>("com.sun.star.awt.XWindowPeer","invalidateRect"))
+            (pair<OUString,OUString>("com.sun.star.awt.grid.XGridSelectionListener","selectionChanged"))
+            (pair<OUString,OUString>("com.sun.star.awt.tab.XTabPageContainer","addTabPageContainerListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.tab.XTabPageContainer","removeTabPageContainerListener"))
+            (pair<OUString,OUString>("com.sun.star.awt.tab.XTabPageContainerListener","tabPageActivated"))
+            (pair<OUString,OUString>("com.sun.star.configuration.backend.XBackendChangesNotifier","addChangesListener"))
+            (pair<OUString,OUString>("com.sun.star.configuration.backend.XBackendChangesNotifier","removeChangesListener"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.clipboard.XClipboard","setContents"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.clipboard.XClipboardListener","changedContents"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.clipboard.XClipboardNotifier","addClipboardListener"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.clipboard.XClipboardNotifier","removeClipboardListener"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.clipboard.XClipboardOwner","lostOwnership"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.dnd.XAutoscroll","autoscroll"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.dnd.XDragGestureListener","dragGestureRecognized"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.dnd.XDragGestureRecognizer","addDragGestureListener"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.dnd.XDragGestureRecognizer","removeDragGestureListener"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.dnd.XDragSource","startDrag"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.dnd.XDragSourceContext","setCursor"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.dnd.XDragSourceContext","setImage"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.dnd.XDragSourceContext","transferablesFlavorsChanged"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.dnd.XDragSourceListener","dragDropEnd"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.dnd.XDragSourceListener","dragEnter"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.dnd.XDragSourceListener","dragExit"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.dnd.XDragSourceListener","dragOver"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.dnd.XDragSourceListener","dropActionChanged"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.dnd.XDropTarget","addDropTargetListener"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.dnd.XDropTarget","removeDropTargetListener"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.dnd.XDropTarget","setDefaultActions"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.dnd.XDropTargetDragContext","acceptDrag"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.dnd.XDropTargetDragContext","rejectDrag"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.dnd.XDropTargetDropContext","acceptDrop"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.dnd.XDropTargetDropContext","rejectDrop"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.dnd.XDropTargetDropContext","dropComplete"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.dnd.XDropTargetListener","dragEnter"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.dnd.XDropTargetListener","dragExit"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.dnd.XDropTargetListener","dragOver"))
+            (pair<OUString,OUString>("com.sun.star.datatransfer.dnd.XDropTargetListener","dropActionChanged"))
+            (pair<OUString,OUString>("com.sun.star.document.XEventBroadcaster","addEventListener"))
+            (pair<OUString,OUString>("com.sun.star.document.XEventBroadcaster","removeEventListener"))
+            (pair<OUString,OUString>("com.sun.star.document.XEventListener","notifyEvent"))
+            (pair<OUString,OUString>("com.sun.star.document.XStorageChangeListener","notifyStorageChange"))
+            (pair<OUString,OUString>("com.sun.star.drawing.XControlShape","setControl"))
+            (pair<OUString,OUString>("com.sun.star.form.XApproveActionBroadcaster","addApproveActionListener"))
+            (pair<OUString,OUString>("com.sun.star.form.XApproveActionBroadcaster","removeApproveActionListener"))
+            (pair<OUString,OUString>("com.sun.star.form.XBoundControl","setLock"))
+            (pair<OUString,OUString>("com.sun.star.form.XChangeBroadcaster","addChangeListener"))
+            (pair<OUString,OUString>("com.sun.star.form.XChangeBroadcaster","removeChangeListener"))
+            (pair<OUString,OUString>("com.sun.star.form.XChangeListener","changed"))
+            (pair<OUString,OUString>("com.sun.star.form.XConfirmDeleteBroadcaster","addConfirmDeleteListener"))
+            (pair<OUString,OUString>("com.sun.star.form.XConfirmDeleteBroadcaster","removeConfirmDeleteListener"))
+            (pair<OUString,OUString>("com.sun.star.form.XDatabaseParameterBroadcaster","addParameterListener"))
+            (pair<OUString,OUString>("com.sun.star.form.XDatabaseParameterBroadcaster","removeParameterListener"))
+            (pair<OUString,OUString>("com.sun.star.form.XDatabaseParameterBroadcaster2","addDatabaseParameterListener"))
+            (pair<OUString,OUString>("com.sun.star.form.XDatabaseParameterBroadcaster2","removeDatabaseParameterListener"))
+            (pair<OUString,OUString>("com.sun.star.form.XErrorBroadcaster","addErrorListener"))
+            (pair<OUString,OUString>("com.sun.star.form.XErrorBroadcaster","removeErrorListener"))
+            (pair<OUString,OUString>("com.sun.star.form.XFormController","addActivateListener"))
+            (pair<OUString,OUString>("com.sun.star.form.XFormController","removeActivateListener"))
+            (pair<OUString,OUString>("com.sun.star.form.XFormControllerListener","formActivated"))
+            (pair<OUString,OUString>("com.sun.star.form.XFormControllerListener","formDeactivated"))
+            (pair<OUString,OUString>("com.sun.star.form.XGrid","setCurrentColumnPosition"))
+            (pair<OUString,OUString>("com.sun.star.form.XGridPeer","setColumns"))
+            (pair<OUString,OUString>("com.sun.star.form.XLoadListener","loaded"))
+            (pair<OUString,OUString>("com.sun.star.form.XLoadListener","unloading"))
+            (pair<OUString,OUString>("com.sun.star.form.XLoadListener","unloaded"))
+            (pair<OUString,OUString>("com.sun.star.form.XLoadListener","reloading"))
+            (pair<OUString,OUString>("com.sun.star.form.XLoadListener","reloaded"))
+            (pair<OUString,OUString>("com.sun.star.form.XLoadable","load"))
+            (pair<OUString,OUString>("com.sun.star.form.XLoadable","unload"))
+            (pair<OUString,OUString>("com.sun.star.form.XLoadable","reload"))
+            (pair<OUString,OUString>("com.sun.star.form.XLoadable","addLoadListener"))
+            (pair<OUString,OUString>("com.sun.star.form.XLoadable","removeLoadListener"))
+            (pair<OUString,OUString>("com.sun.star.form.XPositioningListener","positioned"))
+            (pair<OUString,OUString>("com.sun.star.form.XReset","reset"))
+            (pair<OUString,OUString>("com.sun.star.form.XReset","addResetListener"))
+            (pair<OUString,OUString>("com.sun.star.form.XReset","removeResetListener"))
+            (pair<OUString,OUString>("com.sun.star.form.XResetListener","resetted"))
+            (pair<OUString,OUString>("com.sun.star.form.XSubmit","submit"))
+            (pair<OUString,OUString>("com.sun.star.form.XSubmit","addSubmitListener"))
+            (pair<OUString,OUString>("com.sun.star.form.XSubmit","removeSubmitListener"))
+            (pair<OUString,OUString>("com.sun.star.form.XUpdateBroadcaster","addUpdateListener"))
+            (pair<OUString,OUString>("com.sun.star.form.XUpdateBroadcaster","removeUpdateListener"))
+            (pair<OUString,OUString>("com.sun.star.frame.XBrowseHistoryRegistry","updateViewData"))
+            (pair<OUString,OUString>("com.sun.star.frame.XBrowseHistoryRegistry","createNewEntry"))
+            (pair<OUString,OUString>("com.sun.star.frame.XConfigManager","addPropertyChangeListener"))
+            (pair<OUString,OUString>("com.sun.star.frame.XConfigManager","removePropertyChangeListener"))
+            (pair<OUString,OUString>("com.sun.star.frame.XConfigManager","flush"))
+            (pair<OUString,OUString>("com.sun.star.frame.XDesktop","addTerminateListener"))
+            (pair<OUString,OUString>("com.sun.star.frame.XDesktop","removeTerminateListener"))
+            (pair<OUString,OUString>("com.sun.star.frame.XDispatch","dispatch"))
+            (pair<OUString,OUString>("com.sun.star.frame.XDispatch","addStatusListener"))
+            (pair<OUString,OUString>("com.sun.star.frame.XDispatch","removeStatusListener"))
+            (pair<OUString,OUString>("com.sun.star.frame.XDocumentTemplates","update"))
+            (pair<OUString,OUString>("com.sun.star.frame.XFrame","setCreator"))
+            (pair<OUString,OUString>("com.sun.star.frame.XFrame","setName"))
+            (pair<OUString,OUString>("com.sun.star.frame.XFrame","activate"))
+            (pair<OUString,OUString>("com.sun.star.frame.XFrame","deactivate"))
+            (pair<OUString,OUString>("com.sun.star.frame.XFrame","addFrameActionListener"))
+            (pair<OUString,OUString>("com.sun.star.frame.XFrame","removeFrameActionListener"))
+            (pair<OUString,OUString>("com.sun.star.frame.XFrameActionListener","frameAction"))
+            (pair<OUString,OUString>("com.sun.star.frame.XFrameLoader","load"))
+            (pair<OUString,OUString>("com.sun.star.frame.XFrameLoader","cancel"))
+            (pair<OUString,OUString>("com.sun.star.frame.XLoadEventListener","loadFinished"))
+            (pair<OUString,OUString>("com.sun.star.frame.XLoadEventListener","loadCancelled"))
+            (pair<OUString,OUString>("com.sun.star.frame.XModel","connectController"))
+            (pair<OUString,OUString>("com.sun.star.frame.XModel","disconnectController"))
+            (pair<OUString,OUString>("com.sun.star.frame.XModel","lockControllers"))
+            (pair<OUString,OUString>("com.sun.star.frame.XModel","unlockControllers"))
+            (pair<OUString,OUString>("com.sun.star.frame.XNotifyingDispatch","dispatchWithNotification"))
+            (pair<OUString,OUString>("com.sun.star.frame.XRecordableDispatch","dispatchAndRecord"))
+            (pair<OUString,OUString>("com.sun.star.frame.XSessionManagerClient","addSessionManagerListener"))
+            (pair<OUString,OUString>("com.sun.star.frame.XSessionManagerClient","removeSessionManagerListener"))
+            (pair<OUString,OUString>("com.sun.star.frame.XSessionManagerClient","queryInteraction"))
+            (pair<OUString,OUString>("com.sun.star.frame.XSessionManagerClient","interactionDone"))
+            (pair<OUString,OUString>("com.sun.star.frame.XSessionManagerClient","saveDone"))
+            (pair<OUString,OUString>("com.sun.star.frame.XSessionManagerListener","doSave"))
+            (pair<OUString,OUString>("com.sun.star.frame.XSessionManagerListener","approveInteraction"))
+            (pair<OUString,OUString>("com.sun.star.frame.XSessionManagerListener","shutdownCanceled"))
+            (pair<OUString,OUString>("com.sun.star.frame.XSessionManagerListener2","doQuit"))
+            (pair<OUString,OUString>("com.sun.star.frame.XStatusListener","statusChanged"))
+            (pair<OUString,OUString>("com.sun.star.frame.XTask","tileWindows"))
+            (pair<OUString,OUString>("com.sun.star.frame.XTask","arrangeWindowsVertical"))
+            (pair<OUString,OUString>("com.sun.star.frame.XTask","arrangeWindowsHorizontal"))
+            (pair<OUString,OUString>("com.sun.star.frame.XWindowArranger","arrange"))
+            (pair<OUString,OUString>("com.sun.star.inspection.XPropertyControlContext","activateNextControl"))
+            (pair<OUString,OUString>("com.sun.star.inspection.XPropertyControlObserver","focusGained"))
+            (pair<OUString,OUString>("com.sun.star.inspection.XPropertyControlObserver","valueChanged"))
+            (pair<OUString,OUString>("com.sun.star.mozilla.XCloseSessionListener","sessionClosed"))
+            (pair<OUString,OUString>("com.sun.star.mozilla.XMenuProxy","addMenuProxyListener"))
+            (pair<OUString,OUString>("com.sun.star.mozilla.XMenuProxy","removeMenuProxyListener"))
+            (pair<OUString,OUString>("com.sun.star.mozilla.XPluginInstance","start"))
+            (pair<OUString,OUString>("com.sun.star.mozilla.XPluginInstance","stop"))
+            (pair<OUString,OUString>("com.sun.star.mozilla.XPluginInstance","destroy"))
+            (pair<OUString,OUString>("com.sun.star.mozilla.XPluginInstance","createWindow"))
+            (pair<OUString,OUString>("com.sun.star.mozilla.XPluginInstance","newStream"))
+            (pair<OUString,OUString>("com.sun.star.mozilla.XPluginInstance","newURL"))
+            (pair<OUString,OUString>("com.sun.star.mozilla.XPluginInstanceNotifySink","notifyURL"))
+            (pair<OUString,OUString>("com.sun.star.mozilla.XPluginInstancePeer","showStatusMessage"))
+            (pair<OUString,OUString>("com.sun.star.mozilla.XPluginInstancePeer","enableScripting"))
+            (pair<OUString,OUString>("com.sun.star.mozilla.XPluginInstancePeer","newStream"))
+            (pair<OUString,OUString>("com.sun.star.mozilla.XPluginInstancePeer","getURL"))
+            (pair<OUString,OUString>("com.sun.star.mozilla.XPluginInstancePeer","postURL"))
+            (pair<OUString,OUString>("com.sun.star.mozilla.XPluginWindowPeer","setChildWindow"))
+            (pair<OUString,OUString>("com.sun.star.script.vba.XVBACompatibility","addVBAScriptListener"))
+            (pair<OUString,OUString>("com.sun.star.script.vba.XVBACompatibility","removeVBAScriptListener"))
+            (pair<OUString,OUString>("com.sun.star.sdb.XDatabaseAccess","addDatabaseAccessListener"))
+            (pair<OUString,OUString>("com.sun.star.sdb.XDatabaseAccess","removeDatabaseAccessListener"))
+            (pair<OUString,OUString>("com.sun.star.sdb.XDatabaseAccessListener","connectionChanged"))
+            (pair<OUString,OUString>("com.sun.star.sdb.XDatabaseAccessListener","connectionClosing"))
+            (pair<OUString,OUString>("com.sun.star.sdb.XRowSetApproveBroadcaster","addRowSetApproveListener"))
+            (pair<OUString,OUString>("com.sun.star.sdb.XRowSetApproveBroadcaster","removeRowSetApproveListener"))
+            (pair<OUString,OUString>("com.sun.star.sdb.XRowSetChangeListener","onRowSetChanged"))
+            (pair<OUString,OUString>("com.sun.star.sdb.XRowSetSupplier","setRowSet"))
+            (pair<OUString,OUString>("com.sun.star.sdb.XRowsChangeListener","rowsChanged"))
+            (pair<OUString,OUString>("com.sun.star.sdb.XSQLErrorBroadcaster","addSQLErrorListener"))
+            (pair<OUString,OUString>("com.sun.star.sdb.XSQLErrorBroadcaster","removeSQLErrorListener"))
+            (pair<OUString,OUString>("com.sun.star.sdbc.XRowSet","addRowSetListener"))
+            (pair<OUString,OUString>("com.sun.star.sdbc.XRowSet","removeRowSetListener"))
+            (pair<OUString,OUString>("com.sun.star.sdbc.XRowSetListener","cursorMoved"))
+            (pair<OUString,OUString>("com.sun.star.sdbc.XRowSetListener","rowChanged"))
+            (pair<OUString,OUString>("com.sun.star.sdbc.XRowSetListener","rowSetChanged"))
+            (pair<OUString,OUString>("com.sun.star.sheet.XCalculatable","enableAutomaticCalculation"))
+            (pair<OUString,OUString>("com.sun.star.sheet.XVolatileResult","addResultListener"))
+            (pair<OUString,OUString>("com.sun.star.sheet.XVolatileResult","removeResultListener"))
+            (pair<OUString,OUString>("com.sun.star.task.XJobExecutor","trigger"))
+            (pair<OUString,OUString>("com.sun.star.task.XStatusIndicator","start"))
+            (pair<OUString,OUString>("com.sun.star.task.XStatusIndicator","end"))
+            (pair<OUString,OUString>("com.sun.star.task.XStatusIndicator","setText"))
+            (pair<OUString,OUString>("com.sun.star.task.XStatusIndicator","setValue"))
+            (pair<OUString,OUString>("com.sun.star.task.XStatusIndicator","reset"))
+            (pair<OUString,OUString>("com.sun.star.text.XSimpleText","insertString"))
+            (pair<OUString,OUString>("com.sun.star.text.XTextCursor","collapseToStart"))
+            (pair<OUString,OUString>("com.sun.star.text.XTextCursor","collapseToEnd"))
+            (pair<OUString,OUString>("com.sun.star.text.XTextRange","setString"))
+            (pair<OUString,OUString>("com.sun.star.text.XTextViewCursor","setVisible"))
+            (pair<OUString,OUString>("com.sun.star.ucb.XCommandProcessor","abort"))
+            (pair<OUString,OUString>("com.sun.star.ucb.XCommandProcessor2","releaseCommandIdentifier"))
+            (pair<OUString,OUString>("com.sun.star.ucb.XContent","addContentEventListener"))
+            (pair<OUString,OUString>("com.sun.star.ucb.XContent","removeContentEventListener"))
+            (pair<OUString,OUString>("com.sun.star.ucb.XContentProviderManager","deregisterContentProvider"))
+            (pair<OUString,OUString>("com.sun.star.ucb.XContentTransmitter","transmit"))
+            (pair<OUString,OUString>("com.sun.star.ucb.XPropertySetRegistry","removePropertySet"))
+            (pair<OUString,OUString>("com.sun.star.ui.XUIConfigurationListener","elementInserted"))
+            (pair<OUString,OUString>("com.sun.star.ui.XUIConfigurationListener","elementRemoved"))
+            (pair<OUString,OUString>("com.sun.star.ui.XUIConfigurationListener","elementReplaced"))
+            (pair<OUString,OUString>("com.sun.star.ui.dialogs.XFilePickerNotifier","addFilePickerListener"))
+            (pair<OUString,OUString>("com.sun.star.ui.dialogs.XFilePickerNotifier","removeFilePickerListener"))
+            (pair<OUString,OUString>("com.sun.star.util.XBroadcaster","lockBroadcasts"))
+            (pair<OUString,OUString>("com.sun.star.util.XBroadcaster","unlockBroadcasts"))
+            (pair<OUString,OUString>("com.sun.star.util.XChangesListener","changesOccurred"))
+            (pair<OUString,OUString>("com.sun.star.util.XChangesNotifier","addChangesListener"))
+            (pair<OUString,OUString>("com.sun.star.util.XChangesNotifier","removeChangesListener"))
+            (pair<OUString,OUString>("com.sun.star.util.XCloseBroadcaster","addCloseListener"))
+            (pair<OUString,OUString>("com.sun.star.util.XCloseBroadcaster","removeCloseListener"))
+            (pair<OUString,OUString>("com.sun.star.util.XFlushable","addFlushListener"))
+            (pair<OUString,OUString>("com.sun.star.util.XFlushable","removeFlushListener"))
+            (pair<OUString,OUString>("com.sun.star.util.XModeChangeListener","modeChanged"))
+            (pair<OUString,OUString>("com.sun.star.util.XModifyBroadcaster","addModifyListener"))
+            (pair<OUString,OUString>("com.sun.star.util.XModifyBroadcaster","removeModifyListener"))
+            (pair<OUString,OUString>("com.sun.star.util.XRefreshable","addRefreshListener"))
+            (pair<OUString,OUString>("com.sun.star.util.XRefreshable","removeRefreshListener"))
+            (pair<OUString,OUString>("com.sun.star.util.XSearchDescriptor","setSearchString"))
+            (pair<OUString,OUString>("com.sun.star.view.XPrintJobBroadcaster","addPrintJobListener"))
+            (pair<OUString,OUString>("com.sun.star.view.XPrintJobBroadcaster","removePrintJobListener"))
+            (pair<OUString,OUString>("com.sun.star.view.XPrintJobListener","printJobEvent"))
+            (pair<OUString,OUString>("com.sun.star.view.XPrintableBroadcaster","addPrintableListener"))
+            (pair<OUString,OUString>("com.sun.star.view.XPrintableBroadcaster","removePrintableListener"))
+            (pair<OUString,OUString>("com.sun.star.view.XPrintableListener","stateChanged"))
+            (pair<OUString,OUString>("com.sun.star.view.XSelectionChangeListener","selectionChanged"))
+            (pair<OUString,OUString>("com.sun.star.beans.XMultiPropertySet","addPropertiesChangeListener"))
+            (pair<OUString,OUString>("com.sun.star.beans.XMultiPropertySet","removePropertiesChangeListener"))
+            (pair<OUString,OUString>("com.sun.star.beans.XMultiPropertySet","firePropertiesChangeEvent"))
+            (pair<OUString,OUString>("com.sun.star.beans.XPropertiesChangeNotifier","addPropertiesChangeListener"))
+            (pair<OUString,OUString>("com.sun.star.beans.XPropertiesChangeNotifier","removePropertiesChangeListener"))
+            (pair<OUString,OUString>("com.sun.star.container.XContainer","addContainerListener"))
+            (pair<OUString,OUString>("com.sun.star.container.XContainer","removeContainerListener"))
+            (pair<OUString,OUString>("com.sun.star.container.XContainerListener","elementInserted"))
+            (pair<OUString,OUString>("com.sun.star.container.XContainerListener","elementRemoved"))
+            (pair<OUString,OUString>("com.sun.star.container.XContainerListener","elementReplaced"))
+            (pair<OUString,OUString>("com.sun.star.container.XNamed","setName"))
+            (pair<OUString,OUString>("com.sun.star.io.XDataExporter","exportData"))
+            (pair<OUString,OUString>("com.sun.star.io.XDataExporter","cancel"))
+            (pair<OUString,OUString>("com.sun.star.io.XDataImporter","importData"))
+            (pair<OUString,OUString>("com.sun.star.io.XDataImporter","cancel"))
+            (pair<OUString,OUString>("com.sun.star.io.XDataTransferEventListener","finished"))
+            (pair<OUString,OUString>("com.sun.star.io.XDataTransferEventListener","cancelled"))
+            (pair<OUString,OUString>("com.sun.star.lang.XConnectionPointContainer","advise"))
+            (pair<OUString,OUString>("com.sun.star.lang.XConnectionPointContainer","unadvise"))
+            (pair<OUString,OUString>("com.sun.star.script.XAllListener","firing"))
+            (pair<OUString,OUString>("com.sun.star.uno.XInterface","acquire"))
+            (pair<OUString,OUString>("com.sun.star.uno.XInterface","release"))
+            (pair<OUString,OUString>("com.sun.star.uno.XReference","dispose"));
 
-            ::rtl::OUString sMethodDescription( _rListenerType );
-            sMethodDescription += ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "::" ));
-            sMethodDescription += _rMethodName;
-
-            Reference< XInterfaceMethodTypeDescription > xMethod( xTypeDescriptions->getByHierarchicalName( sMethodDescription ), UNO_QUERY_THROW );
-            bAllowAsynchronousCall = xMethod->isOneway();
-        }
-        catch( const Exception& )
-        {
-            DBG_UNHANDLED_EXCEPTION();
-        }
-        return bAllowAsynchronousCall;
+        pair<OUString,OUString> k(_rListenerType, _rMethodName);
+        return delayed_event_listeners.find(k) != delayed_event_listeners.end();
     }
 
     //--------------------------------------------------------------------

-- 
To view, visit https://gerrit.libreoffice.org/3863
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If4fea164a2fe727048645cd853a9850e59469ba5
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Lionel Elie Mamane <lionel at mamane.lu>



More information about the LibreOffice mailing list