diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-06-19 17:40:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-06-23 12:50:52 +0200 |
commit | 501c8d64b5831ccbf943db9342f337ed89ff0652 (patch) | |
tree | ebe0e2a011031970250efe68534d7076d3539794 | |
parent | e2341bb8a43b9d6443a90e745b699f662550c64c (diff) |
move ListBox to toolkit-only headers
Change-Id: I6266dedb17cd7c3b730fc69804695536fef37cfc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96751
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
21 files changed, 28 insertions, 21 deletions
diff --git a/accessibility/inc/pch/precompiled_acc.hxx b/accessibility/inc/pch/precompiled_acc.hxx index 839b881744c0..108cdf397c28 100644 --- a/accessibility/inc/pch/precompiled_acc.hxx +++ b/accessibility/inc/pch/precompiled_acc.hxx @@ -13,7 +13,7 @@ manual changes will be rewritten by the next run of update_pch.sh (which presumably also fixes all possible problems, so it's usually better to use it). - Generated on 2020-04-25 20:54:48 using: + Generated on 2020-06-19 17:39:54 using: ./bin/update_pch accessibility acc --cutoff=4 --exclude:system --include:module --include:local If after updating build fails, use the following command to locate conflicting headers: @@ -49,6 +49,7 @@ #include <typeinfo> #include <utility> #include <vector> +#include <boost/property_tree/json_parser.hpp> #endif // PCH_LEVEL >= 1 #if PCH_LEVEL >= 2 #include <osl/diagnose.h> @@ -113,7 +114,6 @@ #include <vcl/image.hxx> #include <vcl/keycod.hxx> #include <vcl/keycodes.hxx> -#include <vcl/lstbox.hxx> #include <vcl/mapmod.hxx> #include <vcl/menu.hxx> #include <vcl/metaactiontypes.hxx> @@ -133,6 +133,7 @@ #include <vcl/textfilter.hxx> #include <vcl/timer.hxx> #include <vcl/toolbox.hxx> +#include <vcl/toolkit/lstbox.hxx> #include <vcl/transfer.hxx> #include <vcl/treelist.hxx> #include <vcl/treelistbox.hxx> @@ -167,6 +168,7 @@ #include <com/sun/star/accessibility/AccessibleEventId.hpp> #include <com/sun/star/accessibility/AccessibleRelationType.hpp> #include <com/sun/star/accessibility/AccessibleRole.hpp> +#include <com/sun/star/accessibility/AccessibleScrollType.hpp> #include <com/sun/star/accessibility/AccessibleStateType.hpp> #include <com/sun/star/accessibility/TextSegment.hpp> #include <com/sun/star/accessibility/XAccessible.hpp> @@ -306,6 +308,7 @@ #include <toolkit/awt/vclxwindows.hxx> #include <toolkit/dllapi.h> #include <toolkit/helper/convert.hxx> +#include <tools/UnitConversion.hxx> #include <tools/color.hxx> #include <tools/contnr.hxx> #include <tools/fldunit.hxx> diff --git a/accessibility/source/helper/acc_factory.cxx b/accessibility/source/helper/acc_factory.cxx index 3ede3d7157df..a4648485c2dc 100644 --- a/accessibility/source/helper/acc_factory.cxx +++ b/accessibility/source/helper/acc_factory.cxx @@ -53,7 +53,7 @@ #include <extended/AccessibleBrowseBoxCheckBoxCell.hxx> #include <extended/accessibleeditbrowseboxcell.hxx> #include <com/sun/star/accessibility/AccessibleRole.hpp> -#include <vcl/lstbox.hxx> +#include <vcl/toolkit/lstbox.hxx> #include <vcl/toolkit/combobox.hxx> #include <extended/AccessibleGridControl.hxx> #include <vcl/accessibletable.hxx> diff --git a/accessibility/source/standard/vclxaccessiblebox.cxx b/accessibility/source/standard/vclxaccessiblebox.cxx index fd382ff5b06b..d8edd7e206bf 100644 --- a/accessibility/source/standard/vclxaccessiblebox.cxx +++ b/accessibility/source/standard/vclxaccessiblebox.cxx @@ -29,7 +29,7 @@ #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <vcl/svapp.hxx> #include <vcl/toolkit/combobox.hxx> -#include <vcl/lstbox.hxx> +#include <vcl/toolkit/lstbox.hxx> #include <strings.hxx> using namespace ::com::sun::star; diff --git a/accessibility/source/standard/vclxaccessiblelist.cxx b/accessibility/source/standard/vclxaccessiblelist.cxx index e405b30fb4c3..b64b10bb8cb9 100644 --- a/accessibility/source/standard/vclxaccessiblelist.cxx +++ b/accessibility/source/standard/vclxaccessiblelist.cxx @@ -31,7 +31,7 @@ #include <o3tl/safeint.hxx> #include <vcl/svapp.hxx> #include <vcl/toolkit/combobox.hxx> -#include <vcl/lstbox.hxx> +#include <vcl/toolkit/lstbox.hxx> #include <toolkit/helper/convert.hxx> using namespace ::com::sun::star; diff --git a/accessibility/source/standard/vclxaccessiblelistitem.cxx b/accessibility/source/standard/vclxaccessiblelistitem.cxx index 9615c43eff54..7f807c5e7240 100644 --- a/accessibility/source/standard/vclxaccessiblelistitem.cxx +++ b/accessibility/source/standard/vclxaccessiblelistitem.cxx @@ -30,7 +30,7 @@ #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <cppuhelper/supportsservice.hxx> #include <vcl/svapp.hxx> -#include <vcl/lstbox.hxx> +#include <vcl/toolkit/lstbox.hxx> #include <vcl/unohelp2.hxx> #include <vcl/settings.hxx> #include <unotools/accessiblestatesethelper.hxx> diff --git a/accessibility/source/standard/vclxaccessibletextfield.cxx b/accessibility/source/standard/vclxaccessibletextfield.cxx index b0527d049bb2..c94e46e3d5ed 100644 --- a/accessibility/source/standard/vclxaccessibletextfield.cxx +++ b/accessibility/source/standard/vclxaccessibletextfield.cxx @@ -18,7 +18,7 @@ */ #include <standard/vclxaccessibletextfield.hxx> -#include <vcl/lstbox.hxx> +#include <vcl/toolkit/lstbox.hxx> #include <com/sun/star/accessibility/AccessibleRole.hpp> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> diff --git a/include/vcl/toolkit/combobox.hxx b/include/vcl/toolkit/combobox.hxx index d81e70fbb610..a3c4e1cee5b3 100644 --- a/include/vcl/toolkit/combobox.hxx +++ b/include/vcl/toolkit/combobox.hxx @@ -20,7 +20,7 @@ #ifndef INCLUDED_VCL_COMBOBOX_HXX #define INCLUDED_VCL_COMBOBOX_HXX -#if !defined(VCL_DLLIMPLEMENTATION) && !defined(TOOLKIT_DLLIMPLEMENTATION) && !defined(VCL_INTERNALS) && !defined(DESKTOP_DLLIMPLEMENTATION) +#if !defined(VCL_DLLIMPLEMENTATION) && !defined(TOOLKIT_DLLIMPLEMENTATION) && !defined(VCL_INTERNALS) #error "don't use this in new code" #endif diff --git a/include/vcl/lstbox.hxx b/include/vcl/toolkit/lstbox.hxx index b5c495aacfff..a9f636f6000a 100644 --- a/include/vcl/lstbox.hxx +++ b/include/vcl/toolkit/lstbox.hxx @@ -20,6 +20,10 @@ #ifndef INCLUDED_VCL_LSTBOX_HXX #define INCLUDED_VCL_LSTBOX_HXX +#if !defined(VCL_DLLIMPLEMENTATION) && !defined(TOOLKIT_DLLIMPLEMENTATION) && !defined(VCL_INTERNALS) +#error "don't use this in new code" +#endif + #include <config_options.h> #include <sal/types.h> #include <o3tl/typed_flags_set.hxx> diff --git a/solenv/clang-format/blacklist b/solenv/clang-format/blacklist index 60739ddcfd9c..4bbd268faa57 100644 --- a/solenv/clang-format/blacklist +++ b/solenv/clang-format/blacklist @@ -7389,7 +7389,6 @@ include/vcl/layout.hxx include/vcl/lazydelete.hxx include/vcl/lineinfo.hxx include/vcl/longcurr.hxx -include/vcl/lstbox.hxx include/vcl/mapmod.hxx include/vcl/menu.hxx include/vcl/menubtn.hxx @@ -7457,6 +7456,7 @@ include/vcl/toolkit/fixed.hxx include/vcl/toolkit/fixedhyper.hxx include/vcl/toolkit/group.hxx include/vcl/toolkit/imgctrl.hxx +include/vcl/toolkit/lstbox.hxx include/vcl/toolkit/morebtn.hxx include/vcl/toolkit/prgsbar.hxx include/vcl/toolkit/roadmap.hxx diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index 540eba56a57c..4b4efaece266 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -96,7 +96,7 @@ #include <vcl/toolkit/prgsbar.hxx> #include <vcl/scheduler.hxx> #include <vcl/longcurr.hxx> -#include <vcl/lstbox.hxx> +#include <vcl/toolkit/lstbox.hxx> #include <vcl/menubtn.hxx> #include <vcl/stdtext.hxx> #include <vcl/scrbar.hxx> diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index e0d14698ab62..719ee7e56056 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -45,7 +45,7 @@ #include <vcl/button.hxx> #include <vcl/fmtfield.hxx> #include <vcl/graph.hxx> -#include <vcl/lstbox.hxx> +#include <vcl/toolkit/lstbox.hxx> #include <vcl/toolkit/combobox.hxx> #include <vcl/toolkit/field.hxx> #include <vcl/toolkit/fixedhyper.hxx> diff --git a/vcl/inc/pch/precompiled_vcl.hxx b/vcl/inc/pch/precompiled_vcl.hxx index fca4ccecb24b..acb3b205cfab 100644 --- a/vcl/inc/pch/precompiled_vcl.hxx +++ b/vcl/inc/pch/precompiled_vcl.hxx @@ -297,7 +297,6 @@ #include <vcl/image.hxx> #include <vcl/layout.hxx> #include <vcl/lineinfo.hxx> -#include <vcl/lstbox.hxx> #include <vcl/menu.hxx> #include <vcl/metaact.hxx> #include <vcl/mnemonic.hxx> @@ -319,6 +318,7 @@ #include <vcl/toolkit/button.hxx> #include <vcl/toolkit/dialog.hxx> #include <vcl/toolkit/fixed.hxx> +#include <vcl/toolkit/lstbox.hxx> #include <vcl/toolkit/unowrap.hxx> #include <vcl/transfer.hxx> #include <vcl/treelist.hxx> diff --git a/vcl/inc/salvtables.hxx b/vcl/inc/salvtables.hxx index 57cb006b7a38..c95c4fb05187 100644 --- a/vcl/inc/salvtables.hxx +++ b/vcl/inc/salvtables.hxx @@ -17,7 +17,7 @@ #include <vcl/edit.hxx> #include <vcl/spinfld.hxx> #include <vcl/toolkit/fixed.hxx> -#include <vcl/lstbox.hxx> +#include <vcl/toolkit/lstbox.hxx> #include <vcl/menubtn.hxx> #include <vcl/toolkit/combobox.hxx> #include <vcl/tabctrl.hxx> diff --git a/vcl/qa/cppunit/dndtest.cxx b/vcl/qa/cppunit/dndtest.cxx index 37629239b83c..9120c19c0e9c 100644 --- a/vcl/qa/cppunit/dndtest.cxx +++ b/vcl/qa/cppunit/dndtest.cxx @@ -23,7 +23,7 @@ #include <vcl/event.hxx> #include <vcl/svapp.hxx> #include <vcl/wrkwin.hxx> -#include <vcl/lstbox.hxx> +#include <vcl/toolkit/lstbox.hxx> #include <cppuhelper/implbase.hxx> diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx index 13a3bc8dfeaa..5cfbb85d4810 100644 --- a/vcl/source/control/combobox.cxx +++ b/vcl/source/control/combobox.cxx @@ -22,7 +22,7 @@ #include <set> #include <comphelper/string.hxx> -#include <vcl/lstbox.hxx> +#include <vcl/toolkit/lstbox.hxx> #include <vcl/commandevent.hxx> #include <vcl/event.hxx> #include <vcl/settings.hxx> diff --git a/vcl/source/control/imp_listbox.cxx b/vcl/source/control/imp_listbox.cxx index 4ca534e1d7a3..0a04c7df9830 100644 --- a/vcl/source/control/imp_listbox.cxx +++ b/vcl/source/control/imp_listbox.cxx @@ -23,7 +23,7 @@ #include <vcl/settings.hxx> #include <vcl/event.hxx> #include <vcl/scrbar.hxx> -#include <vcl/lstbox.hxx> +#include <vcl/toolkit/lstbox.hxx> #include <vcl/i18nhelp.hxx> #include <vcl/naturalsort.hxx> diff --git a/vcl/source/control/listbox.cxx b/vcl/source/control/listbox.cxx index 2e5e51e77fa9..c30d24704da1 100644 --- a/vcl/source/control/listbox.cxx +++ b/vcl/source/control/listbox.cxx @@ -20,7 +20,7 @@ #include <vcl/commandevent.hxx> #include <vcl/event.hxx> -#include <vcl/lstbox.hxx> +#include <vcl/toolkit/lstbox.hxx> #include <vcl/settings.hxx> #include <vcl/uitest/uiobject.hxx> #include <sal/log.hxx> diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx index 484b457574bd..020944346515 100644 --- a/vcl/source/control/tabctrl.cxx +++ b/vcl/source/control/tabctrl.cxx @@ -30,7 +30,7 @@ #include <vcl/tabctrl.hxx> #include <vcl/toolkit/controllayout.hxx> #include <vcl/layout.hxx> -#include <vcl/lstbox.hxx> +#include <vcl/toolkit/lstbox.hxx> #include <vcl/settings.hxx> #include <vcl/uitest/uiobject.hxx> #include <bitmaps.hlst> diff --git a/vcl/source/uitest/uiobject.cxx b/vcl/source/uitest/uiobject.cxx index e2474e4bdd6a..56d09ddebb0a 100644 --- a/vcl/source/uitest/uiobject.cxx +++ b/vcl/source/uitest/uiobject.cxx @@ -17,7 +17,7 @@ #include <vcl/floatwin.hxx> #include <vcl/tabpage.hxx> #include <vcl/tabctrl.hxx> -#include <vcl/lstbox.hxx> +#include <vcl/toolkit/lstbox.hxx> #include <vcl/toolkit/spin.hxx> #include <vcl/fmtfield.hxx> #include <vcl/spinfld.hxx> diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 328c8ca024f0..fd603fec5ee1 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -34,7 +34,7 @@ #include <vcl/IPrioritable.hxx> #include <vcl/ivctrl.hxx> #include <vcl/layout.hxx> -#include <vcl/lstbox.hxx> +#include <vcl/toolkit/lstbox.hxx> #include <vcl/menubtn.hxx> #include <vcl/mnemonic.hxx> #include <vcl/toolkit/prgsbar.hxx> diff --git a/vcl/workben/svpclient.cxx b/vcl/workben/svpclient.cxx index 23bfcf37911e..78c6687b75d3 100644 --- a/vcl/workben/svpclient.cxx +++ b/vcl/workben/svpclient.cxx @@ -30,8 +30,8 @@ #include <vcl/svapp.hxx> #include <vcl/wrkwin.hxx> #include <vcl/button.hxx> -#include <vcl/lstbox.hxx> #include <vcl/toolkit/fixed.hxx> +#include <vcl/toolkit/lstbox.hxx> #include <vcl/bitmapex.hxx> #include <vcl/graphicfilter.hxx> #include <vcl/graph.hxx> |