diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-05-16 13:57:07 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-05-16 15:05:36 +0100 |
commit | df34ccb01d2f36eafd5a785cbfe4dd86ef78890a (patch) | |
tree | 4ace4ff185495182435506d64a0fd368c2f1be41 | |
parent | d83463931ef511ba1b43984072626345cf765b8a (diff) |
remove unneeded include of boost/bind.hpp
Change-Id: I5a254459a491b9547530d8e312260dceed21f25c
43 files changed, 20 insertions, 57 deletions
diff --git a/basegfx/test/clipstate.cxx b/basegfx/test/clipstate.cxx index ec25438c33a8..be039a99f571 100644 --- a/basegfx/test/clipstate.cxx +++ b/basegfx/test/clipstate.cxx @@ -43,8 +43,6 @@ #include <basegfx/polygon/b2dpolypolygon.hxx> #include <basegfx/numeric/ftools.hxx> -#include <boost/bind.hpp> - using namespace ::basegfx; diff --git a/basegfx/test/genericclipper.cxx b/basegfx/test/genericclipper.cxx index 496f34805d79..a8da22f3cda2 100644 --- a/basegfx/test/genericclipper.cxx +++ b/basegfx/test/genericclipper.cxx @@ -47,8 +47,6 @@ #include <basegfx/polygon/b2dpolypolygon.hxx> #include <basegfx/numeric/ftools.hxx> -#include <boost/bind.hpp> - using namespace ::basegfx; diff --git a/canvas/source/tools/page.cxx b/canvas/source/tools/page.cxx index 78f0572c1cf5..a13d7cb8d0ec 100644 --- a/canvas/source/tools/page.cxx +++ b/canvas/source/tools/page.cxx @@ -26,8 +26,7 @@ * ************************************************************************/ - -#include <boost/bind.hpp> +#include <boost/mem_fn.hpp> #include "page.hxx" namespace canvas diff --git a/canvas/source/tools/pagemanager.cxx b/canvas/source/tools/pagemanager.cxx index 55a54736c6f1..5729a4694329 100644 --- a/canvas/source/tools/pagemanager.cxx +++ b/canvas/source/tools/pagemanager.cxx @@ -27,7 +27,7 @@ ************************************************************************/ -#include <boost/bind.hpp> +#include <boost/mem_fn.hpp> #include "pagemanager.hxx" namespace canvas diff --git a/chart2/source/controller/main/DrawCommandDispatch.cxx b/chart2/source/controller/main/DrawCommandDispatch.cxx index b367245bc331..1477b22841af 100644 --- a/chart2/source/controller/main/DrawCommandDispatch.cxx +++ b/chart2/source/controller/main/DrawCommandDispatch.cxx @@ -53,7 +53,7 @@ #include <svx/xtable.hxx> #include <basegfx/polygon/b2dpolygon.hxx> -#include <boost/bind.hpp> +#include <boost/ref.hpp> using namespace ::com::sun::star; using namespace ::com::sun::star::frame; diff --git a/chart2/source/controller/main/UndoActions.cxx b/chart2/source/controller/main/UndoActions.cxx index f40c8cb57c6d..43c180ce723c 100644 --- a/chart2/source/controller/main/UndoActions.cxx +++ b/chart2/source/controller/main/UndoActions.cxx @@ -41,7 +41,7 @@ #include <tools/diagnose_ex.h> #include <svx/svdundo.hxx> -#include <boost/bind.hpp> +#include <boost/shared_ptr.hpp> #include <algorithm> using namespace ::com::sun::star; diff --git a/dbaccess/source/core/dataaccess/databasecontext.cxx b/dbaccess/source/core/dataaccess/databasecontext.cxx index 48f12121ad13..1444c25daa4a 100644 --- a/dbaccess/source/core/dataaccess/databasecontext.cxx +++ b/dbaccess/source/core/dataaccess/databasecontext.cxx @@ -76,7 +76,6 @@ #include <unotools/pathoptions.hxx> #include <unotools/sharedunocomponent.hxx> #include <list> -#include <boost/bind.hpp> using namespace ::com::sun::star::sdbc; using namespace ::com::sun::star::sdb; diff --git a/desktop/source/deployment/gui/dp_gui_service.cxx b/desktop/source/deployment/gui/dp_gui_service.cxx index d8d31503b1f3..71c6ccd74ff4 100644 --- a/desktop/source/deployment/gui/dp_gui_service.cxx +++ b/desktop/source/deployment/gui/dp_gui_service.cxx @@ -42,7 +42,8 @@ #include "com/sun/star/task/XJobExecutor.hpp" #include "com/sun/star/ui/dialogs/XAsynchronousExecutableDialog.hpp" -#include "boost/bind.hpp" +#include <boost/optional.hpp> +#include <boost/utility.hpp> #include "license_dialog.hxx" #include "dp_gui_dialog2.hxx" #include "dp_gui_extensioncmdqueue.hxx" diff --git a/editeng/source/accessibility/AccessibleStaticTextBase.cxx b/editeng/source/accessibility/AccessibleStaticTextBase.cxx index 734dc1b4a214..45c20de438c7 100644 --- a/editeng/source/accessibility/AccessibleStaticTextBase.cxx +++ b/editeng/source/accessibility/AccessibleStaticTextBase.cxx @@ -36,7 +36,7 @@ #include <limits.h> #include <vector> #include <algorithm> -#include <boost/bind.hpp> +#include <boost/ref.hpp> #include <osl/mutex.hxx> #include <vcl/window.hxx> #include <vcl/svapp.hxx> diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx index ac0cac6aff33..b60f0bfa5d53 100644 --- a/formula/source/ui/dlg/formula.cxx +++ b/formula/source/ui/dlg/formula.cxx @@ -65,7 +65,8 @@ #include <com/sun/star/sheet/FormulaMapGroup.hpp> #include <com/sun/star/sheet/FormulaMapGroupSpecialOffset.hpp> #include <com/sun/star/beans/XPropertySet.hpp> -#include <boost/bind.hpp> +#include <boost/ref.hpp> +#include <boost/shared_ptr.hpp> #include <comphelper/processfactory.hxx> #include <comphelper/string.hxx> #include <map> diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx index 46fef0d8a9e6..f0447a466738 100644 --- a/framework/source/layoutmanager/layoutmanager.cxx +++ b/framework/source/layoutmanager/layoutmanager.cxx @@ -88,7 +88,7 @@ #include <rtl/strbuf.hxx> #include <algorithm> -#include <boost/bind.hpp> +#include <boost/utility.hpp> // using namespace using namespace ::com::sun::star; diff --git a/reportdesign/source/core/api/FixedLine.cxx b/reportdesign/source/core/api/FixedLine.cxx index f1d6798e7e15..4167db82802b 100644 --- a/reportdesign/source/core/api/FixedLine.cxx +++ b/reportdesign/source/core/api/FixedLine.cxx @@ -37,7 +37,6 @@ #include "FormatCondition.hxx" #include <com/sun/star/beans/XPropertyState.hpp> #include <com/sun/star/text/ParagraphVertAlign.hpp> -#include <boost/bind.hpp> #include "ReportHelperImpl.hxx" #define MIN_WIDTH 80 diff --git a/reportdesign/source/core/api/Functions.cxx b/reportdesign/source/core/api/Functions.cxx index 80a06c85ef61..42f61a5abb46 100644 --- a/reportdesign/source/core/api/Functions.cxx +++ b/reportdesign/source/core/api/Functions.cxx @@ -31,7 +31,7 @@ #include "core_resource.hxx" #include "core_resource.hrc" #include <comphelper/property.hxx> -#include <boost/bind.hpp> +#include <boost/mem_fn.hpp> #include <algorithm> // ============================================================================= namespace reportdesign diff --git a/reportdesign/source/core/api/Groups.cxx b/reportdesign/source/core/api/Groups.cxx index b65d8faf75fe..c46d3ec7c71b 100644 --- a/reportdesign/source/core/api/Groups.cxx +++ b/reportdesign/source/core/api/Groups.cxx @@ -30,7 +30,7 @@ #include <tools/debug.hxx> #include "core_resource.hxx" #include "core_resource.hrc" -#include <boost/bind.hpp> +#include <boost/mem_fn.hpp> #include <algorithm> // ============================================================================= namespace reportdesign diff --git a/reportdesign/source/core/api/Shape.cxx b/reportdesign/source/core/api/Shape.cxx index 2f81f3e8eace..8752284934b3 100644 --- a/reportdesign/source/core/api/Shape.cxx +++ b/reportdesign/source/core/api/Shape.cxx @@ -35,7 +35,6 @@ #include <comphelper/sequence.hxx> #include <tools/debug.hxx> #include <tools/diagnose_ex.h> -#include <boost/bind.hpp> #include <svx/unoshape.hxx> #include "corestrings.hrc" diff --git a/reportdesign/source/ui/dlg/GroupsSorting.cxx b/reportdesign/source/ui/dlg/GroupsSorting.cxx index 69f81d99fa6a..e83b0b921b5f 100644 --- a/reportdesign/source/ui/dlg/GroupsSorting.cxx +++ b/reportdesign/source/ui/dlg/GroupsSorting.cxx @@ -53,7 +53,6 @@ #include <vcl/mnemonic.hxx> #include <vcl/msgbox.hxx> #include <algorithm> -#include <boost/bind.hpp> #include <cppuhelper/bootstrap.hxx> diff --git a/reportdesign/source/ui/dlg/Navigator.cxx b/reportdesign/source/ui/dlg/Navigator.cxx index 70fe37859d44..c11544058a40 100644 --- a/reportdesign/source/ui/dlg/Navigator.cxx +++ b/reportdesign/source/ui/dlg/Navigator.cxx @@ -55,7 +55,6 @@ #include "ModuleHelper.hxx" #include <rtl/ref.hxx> -#include <boost/bind.hpp> #include <memory> #include <algorithm> diff --git a/reportdesign/source/ui/misc/RptUndo.cxx b/reportdesign/source/ui/misc/RptUndo.cxx index a57002bc7c2f..0268b97f624a 100644 --- a/reportdesign/source/ui/misc/RptUndo.cxx +++ b/reportdesign/source/ui/misc/RptUndo.cxx @@ -39,7 +39,6 @@ #include <com/sun/star/awt/Point.hpp> #include <com/sun/star/awt/Size.hpp> #include <svx/unoshape.hxx> -#include <boost/bind.hpp> #include <functional> namespace rptui diff --git a/reportdesign/source/ui/report/ReportWindow.cxx b/reportdesign/source/ui/report/ReportWindow.cxx index e7fb015808a3..9b450902e6fc 100644 --- a/reportdesign/source/ui/report/ReportWindow.cxx +++ b/reportdesign/source/ui/report/ReportWindow.cxx @@ -50,7 +50,7 @@ #include "helpids.hrc" #include "dlgedfac.hxx" -#include <boost/bind.hpp> +#include <boost/shared_ptr.hpp> #include <toolkit/helper/vclunohelper.hxx> diff --git a/reportdesign/source/ui/report/SectionWindow.cxx b/reportdesign/source/ui/report/SectionWindow.cxx index 7d2bb649611d..cadea38eafcf 100644 --- a/reportdesign/source/ui/report/SectionWindow.cxx +++ b/reportdesign/source/ui/report/SectionWindow.cxx @@ -42,7 +42,6 @@ #include "ViewsWindow.hxx" #include <svtools/colorcfg.hxx> -#include <boost/bind.hpp> #include <functional> #include <algorithm> #include <vcl/svapp.hxx> diff --git a/sax/source/tools/fastattribs.cxx b/sax/source/tools/fastattribs.cxx index 53fc40350022..241a60de903f 100644 --- a/sax/source/tools/fastattribs.cxx +++ b/sax/source/tools/fastattribs.cxx @@ -27,7 +27,6 @@ ************************************************************************/ #include <algorithm> -#include <boost/bind.hpp> #include <sax/fastattribs.hxx> diff --git a/sc/source/ui/docshell/autostyl.cxx b/sc/source/ui/docshell/autostyl.cxx index 67a78ee81780..c1e6e7823f3a 100644 --- a/sc/source/ui/docshell/autostyl.cxx +++ b/sc/source/ui/docshell/autostyl.cxx @@ -29,8 +29,6 @@ #include <time.h> -#include <boost/bind.hpp> - #include "attrib.hxx" #include "autostyl.hxx" #include "docsh.hxx" diff --git a/sd/source/ui/dlg/PaneDockingWindow.cxx b/sd/source/ui/dlg/PaneDockingWindow.cxx index 7c28dd789bc4..727b66c911b1 100644 --- a/sd/source/ui/dlg/PaneDockingWindow.cxx +++ b/sd/source/ui/dlg/PaneDockingWindow.cxx @@ -39,7 +39,6 @@ #include <vcl/splitwin.hxx> #include <vcl/svapp.hxx> #include <tools/wintypes.hxx> -#include <boost/bind.hpp> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/sd/source/ui/slidesorter/cache/SlsPageCache.cxx b/sd/source/ui/slidesorter/cache/SlsPageCache.cxx index e7b5439151d8..264a8e18358e 100644 --- a/sd/source/ui/slidesorter/cache/SlsPageCache.cxx +++ b/sd/source/ui/slidesorter/cache/SlsPageCache.cxx @@ -31,8 +31,6 @@ #include "SlsRequestFactory.hxx" #include "cache/SlsPageCache.hxx" #include "model/SlideSorterModel.hxx" -#include <boost/bind.hpp> -#include <boost/bind/protect.hpp> using namespace ::com::sun::star; diff --git a/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx b/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx index 7152e2796a8f..901f34a8e3b0 100644 --- a/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx +++ b/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx @@ -47,7 +47,7 @@ #include "ViewShellBase.hxx" #include <com/sun/star/drawing/XDrawView.hpp> #include <com/sun/star/beans/XPropertySet.hpp> -#include <boost/bind.hpp> +#include <boost/shared_ptr.hpp> using namespace ::com::sun::star; diff --git a/sd/source/ui/tools/AsynchronousCall.cxx b/sd/source/ui/tools/AsynchronousCall.cxx index ad8f33a40341..404d0f490168 100644 --- a/sd/source/ui/tools/AsynchronousCall.cxx +++ b/sd/source/ui/tools/AsynchronousCall.cxx @@ -29,7 +29,6 @@ #include "tools/AsynchronousCall.hxx" -#include <boost/bind.hpp> #include "DrawViewShell.hxx" namespace sd { namespace tools { diff --git a/sd/source/ui/tools/PropertySet.cxx b/sd/source/ui/tools/PropertySet.cxx index 5f0b3ba40bd3..2562f871d60a 100644 --- a/sd/source/ui/tools/PropertySet.cxx +++ b/sd/source/ui/tools/PropertySet.cxx @@ -28,7 +28,6 @@ #include "tools/PropertySet.hxx" -#include <boost/bind.hpp> #include <algorithm> #include <o3tl/compat_functional.hxx> diff --git a/sdext/source/pdfimport/wrapper/wrapper.cxx b/sdext/source/pdfimport/wrapper/wrapper.cxx index 27d856767081..71c05384763e 100644 --- a/sdext/source/pdfimport/wrapper/wrapper.cxx +++ b/sdext/source/pdfimport/wrapper/wrapper.cxx @@ -62,10 +62,7 @@ #include "basegfx/tools/canvastools.hxx" #include "basegfx/tools/unopolypolygon.hxx" -#include <boost/bind.hpp> #include <boost/scoped_ptr.hpp> -#include <boost/scoped_array.hpp> - #include <boost/unordered_map.hpp> #include <string.h> #ifdef WNT diff --git a/sdext/source/presenter/PresenterController.cxx b/sdext/source/presenter/PresenterController.cxx index 95fa2887712d..76d0ea43359f 100644 --- a/sdext/source/presenter/PresenterController.cxx +++ b/sdext/source/presenter/PresenterController.cxx @@ -63,7 +63,6 @@ #include <com/sun/star/rendering/TextDirection.hpp> #include <rtl/ustrbuf.hxx> -#include <boost/bind.hpp> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/sdext/source/presenter/PresenterFrameworkObserver.cxx b/sdext/source/presenter/PresenterFrameworkObserver.cxx index 589e86b49075..0921df36f3bc 100644 --- a/sdext/source/presenter/PresenterFrameworkObserver.cxx +++ b/sdext/source/presenter/PresenterFrameworkObserver.cxx @@ -28,7 +28,6 @@ #include "PresenterFrameworkObserver.hxx" #include <com/sun/star/lang/IllegalArgumentException.hpp> -#include <boost/bind.hpp> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/sdext/source/presenter/PresenterProtocolHandler.cxx b/sdext/source/presenter/PresenterProtocolHandler.cxx index 15c99aa28856..8a119dd0bab7 100644 --- a/sdext/source/presenter/PresenterProtocolHandler.cxx +++ b/sdext/source/presenter/PresenterProtocolHandler.cxx @@ -45,7 +45,6 @@ #include <com/sun/star/presentation/XSlideShowView.hpp> #include <com/sun/star/presentation/XPresentationSupplier.hpp> #include <cppuhelper/compbase2.hxx> -#include <boost/bind.hpp> using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/sdext/source/presenter/PresenterWindowManager.cxx b/sdext/source/presenter/PresenterWindowManager.cxx index 730d018e4485..d7f93308de89 100644 --- a/sdext/source/presenter/PresenterWindowManager.cxx +++ b/sdext/source/presenter/PresenterWindowManager.cxx @@ -59,8 +59,6 @@ #include <com/sun/star/rendering/Texture.hpp> #include <com/sun/star/rendering/TexturingMode.hpp> #include <com/sun/star/rendering/XSpriteCanvas.hpp> -#include <boost/bind.hpp> -#include <boost/bind/protect.hpp> #include <math.h> using namespace ::com::sun::star; diff --git a/slideshow/source/engine/activities/activitiesfactory.cxx b/slideshow/source/engine/activities/activitiesfactory.cxx index 47e8464a3c83..f142456b1562 100644 --- a/slideshow/source/engine/activities/activitiesfactory.cxx +++ b/slideshow/source/engine/activities/activitiesfactory.cxx @@ -46,8 +46,8 @@ #include "continuousactivitybase.hxx" #include "continuouskeytimeactivitybase.hxx" -#include <boost/bind.hpp> #include <boost/optional.hpp> +#include <boost/shared_ptr.hpp> #include <cmath> // for modf #include <vector> diff --git a/slideshow/source/engine/activitiesqueue.cxx b/slideshow/source/engine/activitiesqueue.cxx index 2b657b7cf71a..532f2053ee19 100644 --- a/slideshow/source/engine/activitiesqueue.cxx +++ b/slideshow/source/engine/activitiesqueue.cxx @@ -38,7 +38,8 @@ #include "activity.hxx" #include "activitiesqueue.hxx" -#include <boost/bind.hpp> +#include <boost/mem_fn.hpp> +#include <boost/shared_ptr.hpp> #include <algorithm> diff --git a/slideshow/source/engine/animationnodes/animationnodefactory.cxx b/slideshow/source/engine/animationnodes/animationnodefactory.cxx index 0caeee9e3714..5b938e8bfde9 100644 --- a/slideshow/source/engine/animationnodes/animationnodefactory.cxx +++ b/slideshow/source/engine/animationnodes/animationnodefactory.cxx @@ -64,7 +64,7 @@ #include "nodetools.hxx" #include "tools.hxx" -#include <boost/bind.hpp> +#include <boost/shared_ptr.hpp> using namespace ::com::sun::star; diff --git a/slideshow/source/engine/screenupdater.cxx b/slideshow/source/engine/screenupdater.cxx index ff06415ee818..2b92aeaedf94 100644 --- a/slideshow/source/engine/screenupdater.cxx +++ b/slideshow/source/engine/screenupdater.cxx @@ -29,7 +29,8 @@ #include "screenupdater.hxx" #include "listenercontainer.hxx" -#include <boost/bind.hpp> +#include <boost/shared_ptr.hpp> +#include <boost/mem_fn.hpp> #include <vector> #include <algorithm> diff --git a/slideshow/source/engine/transitions/shapetransitionfactory.cxx b/slideshow/source/engine/transitions/shapetransitionfactory.cxx index 4185b37afa18..72accdf9a6f2 100644 --- a/slideshow/source/engine/transitions/shapetransitionfactory.cxx +++ b/slideshow/source/engine/transitions/shapetransitionfactory.cxx @@ -45,9 +45,6 @@ #include "animationfactory.hxx" #include "clippingfunctor.hxx" -#include <boost/bind.hpp> - - using namespace ::com::sun::star; namespace slideshow { diff --git a/svx/source/table/tablelayouter.cxx b/svx/source/table/tablelayouter.cxx index 7cd35560bab3..2a806f0661a2 100644 --- a/svx/source/table/tablelayouter.cxx +++ b/svx/source/table/tablelayouter.cxx @@ -29,7 +29,6 @@ #include <com/sun/star/table/XMergeableCell.hpp> #include <com/sun/star/awt/XLayoutConstrains.hpp> -#include <boost/bind.hpp> #include "cell.hxx" #include "cellrange.hxx" diff --git a/svx/source/table/tablemodel.cxx b/svx/source/table/tablemodel.cxx index f088c66918a4..3554799e43bf 100644 --- a/svx/source/table/tablemodel.cxx +++ b/svx/source/table/tablemodel.cxx @@ -30,7 +30,6 @@ #include <com/sun/star/table/XMergeableCell.hpp> #include <algorithm> -#include <boost/bind.hpp> #include <vcl/svapp.hxx> #include <osl/mutex.hxx> diff --git a/vcl/aqua/source/gdi/salbmp.cxx b/vcl/aqua/source/gdi/salbmp.cxx index 2bc3756e4b53..5323fb7f2930 100644 --- a/vcl/aqua/source/gdi/salbmp.cxx +++ b/vcl/aqua/source/gdi/salbmp.cxx @@ -27,8 +27,6 @@ ************************************************************************/ -#include <boost/bind.hpp> - #include "basebmp/scanlineformats.hxx" #include "basebmp/color.hxx" diff --git a/vcl/aqua/source/gdi/salgdiutils.cxx b/vcl/aqua/source/gdi/salgdiutils.cxx index 5c799e3c7de1..7032fcda1c20 100644 --- a/vcl/aqua/source/gdi/salgdiutils.cxx +++ b/vcl/aqua/source/gdi/salgdiutils.cxx @@ -27,8 +27,6 @@ ************************************************************************/ -#include <boost/bind.hpp> - #include "basebmp/scanlineformats.hxx" #include "basebmp/color.hxx" diff --git a/vcl/ios/source/gdi/salbmp.cxx b/vcl/ios/source/gdi/salbmp.cxx index 55067d78071b..480167281922 100644 --- a/vcl/ios/source/gdi/salbmp.cxx +++ b/vcl/ios/source/gdi/salbmp.cxx @@ -27,8 +27,6 @@ ************************************************************************/ -#include <boost/bind.hpp> - #include "basebmp/scanlineformats.hxx" #include "basebmp/color.hxx" diff --git a/vcl/ios/source/gdi/salgdiutils.cxx b/vcl/ios/source/gdi/salgdiutils.cxx index a9a97c82008d..357c0023d8ca 100644 --- a/vcl/ios/source/gdi/salgdiutils.cxx +++ b/vcl/ios/source/gdi/salgdiutils.cxx @@ -27,8 +27,6 @@ ************************************************************************/ -#include <boost/bind.hpp> - #include "basebmp/scanlineformats.hxx" #include "basebmp/color.hxx" |