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

Avoid incomplete type in fn sig to keep ubsan's RTTI-based checks happy

Change-Id: I536353b86ee023eb630ea89786d2205a628d95e3
üst 5b9c8241
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include "cppuhelper/implbase2.hxx" #include "cppuhelper/implbase2.hxx"
#include <cppuhelper/supportsservice.hxx> #include <cppuhelper/supportsservice.hxx>
#include "com/sun/star/lang/XServiceInfo.hpp" #include "com/sun/star/lang/XServiceInfo.hpp"
#include <com/sun/star/uno/XComponentContext.hpp>
#include "com/sun/star/awt/XRequestCallback.hpp" #include "com/sun/star/awt/XRequestCallback.hpp"
/// anonymous implementation namespace /// anonymous implementation namespace
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include <toolkit/helper/servicenames.hxx> #include <toolkit/helper/servicenames.hxx>
#include <toolkit/helper/vclunohelper.hxx> #include <toolkit/helper/vclunohelper.hxx>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/supportsservice.hxx> #include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/typeprovider.hxx> #include <cppuhelper/typeprovider.hxx>
#include <rtl/uuid.h> #include <rtl/uuid.h>
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#include <com/sun/star/uno/XComponentContext.hpp>
#include <toolkit/awt/vclxprinter.hxx> #include <toolkit/awt/vclxprinter.hxx>
#include <toolkit/helper/macros.hxx> #include <toolkit/helper/macros.hxx>
#include <cppuhelper/typeprovider.hxx> #include <cppuhelper/typeprovider.hxx>
......
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
#include <com/sun/star/lang/EventObject.hpp> #include <com/sun/star/lang/EventObject.hpp>
#include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/uno/XInterface.hpp> #include <com/sun/star/uno/XInterface.hpp>
#include <com/sun/star/beans/NamedValue.hpp> #include <com/sun/star/beans/NamedValue.hpp>
#include <com/sun/star/datatransfer/clipboard/SystemClipboard.hpp> #include <com/sun/star/datatransfer/clipboard/SystemClipboard.hpp>
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include <com/sun/star/awt/PosSize.hpp> #include <com/sun/star/awt/PosSize.hpp>
#include <com/sun/star/awt/WindowAttribute.hpp> #include <com/sun/star/awt/WindowAttribute.hpp>
#include <com/sun/star/resource/XStringResourceResolver.hpp> #include <com/sun/star/resource/XStringResourceResolver.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/graphic/XGraphicProvider.hpp> #include <com/sun/star/graphic/XGraphicProvider.hpp>
#include <cppuhelper/typeprovider.hxx> #include <cppuhelper/typeprovider.hxx>
#include <tools/debug.hxx> #include <tools/debug.hxx>
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <toolkit/helper/property.hxx> #include <toolkit/helper/property.hxx>
#include <com/sun/star/awt/XVclWindowPeer.hpp> #include <com/sun/star/awt/XVclWindowPeer.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/util/NumberFormatter.hpp> #include <com/sun/star/util/NumberFormatter.hpp>
#include <com/sun/star/util/NumberFormatsSupplier.hpp> #include <com/sun/star/util/NumberFormatsSupplier.hpp>
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include "gridcontrol.hxx" #include "gridcontrol.hxx"
#include "grideventforwarder.hxx" #include "grideventforwarder.hxx"
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/view/SelectionType.hpp> #include <com/sun/star/view/SelectionType.hpp>
#include <com/sun/star/awt/grid/XGridControl.hpp> #include <com/sun/star/awt/grid/XGridControl.hpp>
#include <com/sun/star/awt/grid/XGridDataModel.hpp> #include <com/sun/star/awt/grid/XGridDataModel.hpp>
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/ucb/AlreadyInitializedException.hpp> #include <com/sun/star/ucb/AlreadyInitializedException.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/awt/grid/XGridDataListener.hpp> #include <com/sun/star/awt/grid/XGridDataListener.hpp>
#include <com/sun/star/awt/grid/XSortableMutableGridDataModel.hpp> #include <com/sun/star/awt/grid/XSortableMutableGridDataModel.hpp>
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <toolkit/controls/roadmapcontrol.hxx> #include <toolkit/controls/roadmapcontrol.hxx>
#include <toolkit/helper/property.hxx> #include <toolkit/helper/property.hxx>
#include <com/sun/star/awt/XVclWindowPeer.hpp> #include <com/sun/star/awt/XVclWindowPeer.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <osl/diagnose.h> #include <osl/diagnose.h>
#include "helper/unopropertyarrayhelper.hxx" #include "helper/unopropertyarrayhelper.hxx"
......
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#include <com/sun/star/uno/XComponentContext.hpp>
#include <rtl/ustrbuf.hxx> #include <rtl/ustrbuf.hxx>
#include <toolkit/controls/animatedimages.hxx> #include <toolkit/controls/animatedimages.hxx>
#include <tools/diagnose_ex.h> #include <tools/diagnose_ex.h>
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
*/ */
#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/awt/XVclContainerPeer.hpp> #include <com/sun/star/awt/XVclContainerPeer.hpp>
#include <toolkit/controls/stdtabcontroller.hxx> #include <toolkit/controls/stdtabcontroller.hxx>
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <com/sun/star/awt/XControlModel.hpp> #include <com/sun/star/awt/XControlModel.hpp>
#include <com/sun/star/awt/XVclWindowPeer.hpp> #include <com/sun/star/awt/XVclWindowPeer.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <osl/diagnose.h> #include <osl/diagnose.h>
#include <tools/diagnose_ex.h> #include <tools/diagnose_ex.h>
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include <com/sun/star/awt/UnoControlDialogModelProvider.hpp> #include <com/sun/star/awt/UnoControlDialogModelProvider.hpp>
#include <com/sun/star/awt/tab/XTabPage.hpp> #include <com/sun/star/awt/tab/XTabPage.hpp>
#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/supportsservice.hxx> #include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/typeprovider.hxx> #include <cppuhelper/typeprovider.hxx>
#include <tools/debug.hxx> #include <tools/debug.hxx>
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include "toolkit/controls/tkscrollbar.hxx" #include "toolkit/controls/tkscrollbar.hxx"
#include "toolkit/helper/property.hxx" #include "toolkit/helper/property.hxx"
#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/typeprovider.hxx> #include <cppuhelper/typeprovider.hxx>
#include <toolkit/awt/vclxwindows.hxx> #include <toolkit/awt/vclxwindows.hxx>
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include <com/sun/star/awt/ScrollBarOrientation.hpp> #include <com/sun/star/awt/ScrollBarOrientation.hpp>
#include <com/sun/star/awt/XSpinValue.hpp> #include <com/sun/star/awt/XSpinValue.hpp>
#include <com/sun/star/awt/XAdjustmentListener.hpp> #include <com/sun/star/awt/XAdjustmentListener.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <comphelper/uno3.hxx> #include <comphelper/uno3.hxx>
#include <cppuhelper/implbase2.hxx> #include <cppuhelper/implbase2.hxx>
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <com/sun/star/awt/tree/XTreeControl.hpp> #include <com/sun/star/awt/tree/XTreeControl.hpp>
#include <com/sun/star/awt/tree/XTreeDataModel.hpp> #include <com/sun/star/awt/tree/XTreeDataModel.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/view/SelectionType.hpp> #include <com/sun/star/view/SelectionType.hpp>
#include <toolkit/helper/property.hxx> #include <toolkit/helper/property.hxx>
#include <osl/diagnose.h> #include <osl/diagnose.h>
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <com/sun/star/awt/XVclContainerPeer.hpp> #include <com/sun/star/awt/XVclContainerPeer.hpp>
#include <com/sun/star/beans/XPropertyChangeListener.hpp> #include <com/sun/star/beans/XPropertyChangeListener.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/typeprovider.hxx> #include <cppuhelper/typeprovider.hxx>
#include <cppuhelper/implbase1.hxx> #include <cppuhelper/implbase1.hxx>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#include <com/sun/star/uno/XComponentContext.hpp>
#include <toolkit/controls/unocontrolcontainermodel.hxx> #include <toolkit/controls/unocontrolcontainermodel.hxx>
#include <toolkit/helper/property.hxx> #include <toolkit/helper/property.hxx>
#include <toolkit/helper/servicenames.hxx> #include <toolkit/helper/servicenames.hxx>
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include <com/sun/star/awt/XTextArea.hpp> #include <com/sun/star/awt/XTextArea.hpp>
#include <com/sun/star/awt/XVclWindowPeer.hpp> #include <com/sun/star/awt/XVclWindowPeer.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/awt/PosSize.hpp> #include <com/sun/star/awt/PosSize.hpp>
#include <com/sun/star/awt/VisualEffect.hpp> #include <com/sun/star/awt/VisualEffect.hpp>
#include <com/sun/star/awt/LineEndFormat.hpp> #include <com/sun/star/awt/LineEndFormat.hpp>
......
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