diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-08-07 18:42:35 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-08-07 18:42:35 +0200 |
commit | 1579d8ed79fb70308599b2329803b3d679718ec8 (patch) | |
tree | 4163215c37653e7420a6e9a6640b601bfdd12a0e /toolkit | |
parent | 5b9c8241ea3a536cd0652bddbca110d86e09dcf9 (diff) |
Avoid incomplete type in fn sig to keep ubsan's RTTI-based checks happy
Change-Id: I536353b86ee023eb630ea89786d2205a628d95e3
Diffstat (limited to 'toolkit')
19 files changed, 19 insertions, 1 deletions
diff --git a/toolkit/source/awt/asynccallback.cxx b/toolkit/source/awt/asynccallback.cxx index b8cb52eff2e1..41109f66617b 100644 --- a/toolkit/source/awt/asynccallback.cxx +++ b/toolkit/source/awt/asynccallback.cxx @@ -28,6 +28,7 @@ #include "cppuhelper/implbase2.hxx" #include <cppuhelper/supportsservice.hxx> #include "com/sun/star/lang/XServiceInfo.hpp" +#include <com/sun/star/uno/XComponentContext.hpp> #include "com/sun/star/awt/XRequestCallback.hpp" /// anonymous implementation namespace diff --git a/toolkit/source/awt/vclxmenu.cxx b/toolkit/source/awt/vclxmenu.cxx index 8bcc7d3a65d6..9f82e2949d63 100644 --- a/toolkit/source/awt/vclxmenu.cxx +++ b/toolkit/source/awt/vclxmenu.cxx @@ -23,6 +23,7 @@ #include <toolkit/helper/servicenames.hxx> #include <toolkit/helper/vclunohelper.hxx> +#include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/supportsservice.hxx> #include <cppuhelper/typeprovider.hxx> #include <rtl/uuid.h> diff --git a/toolkit/source/awt/vclxprinter.cxx b/toolkit/source/awt/vclxprinter.cxx index 206201f40a44..a9c632c98223 100644 --- a/toolkit/source/awt/vclxprinter.cxx +++ b/toolkit/source/awt/vclxprinter.cxx @@ -17,6 +17,7 @@ * 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/helper/macros.hxx> #include <cppuhelper/typeprovider.hxx> diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index 88aa88ff2fa6..be5ee82bca9e 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -36,6 +36,7 @@ #include <com/sun/star/lang/EventObject.hpp> #include <com/sun/star/uno/Reference.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/beans/NamedValue.hpp> #include <com/sun/star/datatransfer/clipboard/SystemClipboard.hpp> diff --git a/toolkit/source/controls/dialogcontrol.cxx b/toolkit/source/controls/dialogcontrol.cxx index 0da0984fc12d..8e3d5b16040c 100644 --- a/toolkit/source/controls/dialogcontrol.cxx +++ b/toolkit/source/controls/dialogcontrol.cxx @@ -29,6 +29,7 @@ #include <com/sun/star/awt/PosSize.hpp> #include <com/sun/star/awt/WindowAttribute.hpp> #include <com/sun/star/resource/XStringResourceResolver.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/graphic/XGraphicProvider.hpp> #include <cppuhelper/typeprovider.hxx> #include <tools/debug.hxx> diff --git a/toolkit/source/controls/formattedcontrol.cxx b/toolkit/source/controls/formattedcontrol.cxx index 38f2d37092ad..ba3374ffcfa0 100644 --- a/toolkit/source/controls/formattedcontrol.cxx +++ b/toolkit/source/controls/formattedcontrol.cxx @@ -21,6 +21,7 @@ #include <toolkit/helper/property.hxx> #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/NumberFormatsSupplier.hpp> diff --git a/toolkit/source/controls/grid/gridcontrol.cxx b/toolkit/source/controls/grid/gridcontrol.cxx index 0500ee4b385e..18736fe8acc2 100644 --- a/toolkit/source/controls/grid/gridcontrol.cxx +++ b/toolkit/source/controls/grid/gridcontrol.cxx @@ -21,6 +21,7 @@ #include "gridcontrol.hxx" #include "grideventforwarder.hxx" +#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/view/SelectionType.hpp> #include <com/sun/star/awt/grid/XGridControl.hpp> #include <com/sun/star/awt/grid/XGridDataModel.hpp> diff --git a/toolkit/source/controls/grid/sortablegriddatamodel.cxx b/toolkit/source/controls/grid/sortablegriddatamodel.cxx index a1c8077a0464..2123598fe2a4 100644 --- a/toolkit/source/controls/grid/sortablegriddatamodel.cxx +++ b/toolkit/source/controls/grid/sortablegriddatamodel.cxx @@ -25,6 +25,7 @@ #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/lang/XServiceInfo.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/XSortableMutableGridDataModel.hpp> diff --git a/toolkit/source/controls/roadmapcontrol.cxx b/toolkit/source/controls/roadmapcontrol.cxx index b5eb6a7a8aa9..6976acddadde 100644 --- a/toolkit/source/controls/roadmapcontrol.cxx +++ b/toolkit/source/controls/roadmapcontrol.cxx @@ -21,6 +21,7 @@ #include <toolkit/controls/roadmapcontrol.hxx> #include <toolkit/helper/property.hxx> #include <com/sun/star/awt/XVclWindowPeer.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> #include <osl/diagnose.h> #include "helper/unopropertyarrayhelper.hxx" diff --git a/toolkit/source/controls/spinningprogress.cxx b/toolkit/source/controls/spinningprogress.cxx index b394cbf0a38c..7511f0755305 100644 --- a/toolkit/source/controls/spinningprogress.cxx +++ b/toolkit/source/controls/spinningprogress.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <com/sun/star/uno/XComponentContext.hpp> #include <rtl/ustrbuf.hxx> #include <toolkit/controls/animatedimages.hxx> #include <tools/diagnose_ex.h> diff --git a/toolkit/source/controls/stdtabcontroller.cxx b/toolkit/source/controls/stdtabcontroller.cxx index 104d0b80e8ec..b6e28539e77f 100644 --- a/toolkit/source/controls/stdtabcontroller.cxx +++ b/toolkit/source/controls/stdtabcontroller.cxx @@ -18,6 +18,7 @@ */ #include <com/sun/star/beans/XPropertySet.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/awt/XVclContainerPeer.hpp> #include <toolkit/controls/stdtabcontroller.hxx> diff --git a/toolkit/source/controls/tabpagecontainer.cxx b/toolkit/source/controls/tabpagecontainer.cxx index b0e7b3babda6..fac6cc0a6a4b 100644 --- a/toolkit/source/controls/tabpagecontainer.cxx +++ b/toolkit/source/controls/tabpagecontainer.cxx @@ -26,6 +26,7 @@ #include <com/sun/star/awt/XControlModel.hpp> #include <com/sun/star/awt/XVclWindowPeer.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> #include <osl/diagnose.h> #include <tools/diagnose_ex.h> diff --git a/toolkit/source/controls/tabpagemodel.cxx b/toolkit/source/controls/tabpagemodel.cxx index eed81b0c0763..5a0c4f822498 100644 --- a/toolkit/source/controls/tabpagemodel.cxx +++ b/toolkit/source/controls/tabpagemodel.cxx @@ -27,6 +27,7 @@ #include <com/sun/star/awt/UnoControlDialogModelProvider.hpp> #include <com/sun/star/awt/tab/XTabPage.hpp> #include <com/sun/star/beans/XPropertySet.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/supportsservice.hxx> #include <cppuhelper/typeprovider.hxx> #include <tools/debug.hxx> diff --git a/toolkit/source/controls/tkscrollbar.cxx b/toolkit/source/controls/tkscrollbar.cxx index 04d8c5bde437..ab3a006c5ff1 100644 --- a/toolkit/source/controls/tkscrollbar.cxx +++ b/toolkit/source/controls/tkscrollbar.cxx @@ -19,6 +19,7 @@ #include "toolkit/controls/tkscrollbar.hxx" #include "toolkit/helper/property.hxx" +#include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/typeprovider.hxx> #include <toolkit/awt/vclxwindows.hxx> diff --git a/toolkit/source/controls/tkspinbutton.cxx b/toolkit/source/controls/tkspinbutton.cxx index b1baacd6ab4c..9635eb328e4b 100644 --- a/toolkit/source/controls/tkspinbutton.cxx +++ b/toolkit/source/controls/tkspinbutton.cxx @@ -20,6 +20,7 @@ #include <com/sun/star/awt/ScrollBarOrientation.hpp> #include <com/sun/star/awt/XSpinValue.hpp> #include <com/sun/star/awt/XAdjustmentListener.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> #include <comphelper/uno3.hxx> #include <cppuhelper/implbase2.hxx> diff --git a/toolkit/source/controls/tree/treecontrol.cxx b/toolkit/source/controls/tree/treecontrol.cxx index b1c79405bb0a..b5af991c644f 100644 --- a/toolkit/source/controls/tree/treecontrol.cxx +++ b/toolkit/source/controls/tree/treecontrol.cxx @@ -22,6 +22,7 @@ #include <com/sun/star/awt/tree/XTreeControl.hpp> #include <com/sun/star/awt/tree/XTreeDataModel.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/view/SelectionType.hpp> #include <toolkit/helper/property.hxx> #include <osl/diagnose.h> diff --git a/toolkit/source/controls/unocontrolcontainer.cxx b/toolkit/source/controls/unocontrolcontainer.cxx index d8ff558bc3dc..6d121ac706ea 100644 --- a/toolkit/source/controls/unocontrolcontainer.cxx +++ b/toolkit/source/controls/unocontrolcontainer.cxx @@ -19,6 +19,7 @@ #include <com/sun/star/awt/XVclContainerPeer.hpp> #include <com/sun/star/beans/XPropertyChangeListener.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/typeprovider.hxx> #include <cppuhelper/implbase1.hxx> diff --git a/toolkit/source/controls/unocontrolcontainermodel.cxx b/toolkit/source/controls/unocontrolcontainermodel.cxx index 09b6d31e6972..eabc7467c4d3 100644 --- a/toolkit/source/controls/unocontrolcontainermodel.cxx +++ b/toolkit/source/controls/unocontrolcontainermodel.cxx @@ -17,7 +17,7 @@ * 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/helper/property.hxx> #include <toolkit/helper/servicenames.hxx> diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx index 46c1d492c033..be64e34366ae 100644 --- a/toolkit/source/controls/unocontrols.cxx +++ b/toolkit/source/controls/unocontrols.cxx @@ -20,6 +20,7 @@ #include <com/sun/star/awt/XTextArea.hpp> #include <com/sun/star/awt/XVclWindowPeer.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/VisualEffect.hpp> #include <com/sun/star/awt/LineEndFormat.hpp> |