From a4c7ded1fd2a879e66760a8fc3846af538da4b9d Mon Sep 17 00:00:00 2001 From: Matteo Casalin Date: Tue, 25 Dec 2012 15:18:26 +0100 Subject: Cleanup: #include Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530 Reviewed-on: https://gerrit.libreoffice.org/1484 Reviewed-by: Michael Stahl Tested-by: Michael Stahl --- svx/source/dialog/framelink.cxx | 1 + svx/source/gallery2/codec.hxx | 2 +- svx/source/mnuctrls/clipboardctl.cxx | 1 - svx/source/sdr/overlay/overlaycrosshair.cxx | 1 - svx/source/sdr/overlay/overlayhelpline.cxx | 1 - svx/source/sdr/overlay/overlayline.cxx | 1 - svx/source/sdr/overlay/overlayobjectlist.cxx | 1 + svx/source/sdr/overlay/overlayrollingrectangle.cxx | 1 - svx/source/svdraw/gradtrns.hxx | 1 - svx/source/table/tablelayouter.cxx | 2 ++ svx/source/table/tablelayouter.hxx | 4 +++- svx/source/table/tablemodel.cxx | 4 ++-- svx/source/table/tablemodel.hxx | 4 ++-- svx/source/tbxctrls/lboxctrl.cxx | 2 +- svx/source/unodraw/unoshape.cxx | 1 + svx/source/xoutdev/_xpoly.cxx | 1 + 16 files changed, 15 insertions(+), 13 deletions(-) (limited to 'svx/source') diff --git a/svx/source/dialog/framelink.cxx b/svx/source/dialog/framelink.cxx index 8635ad2391b0..d1d49ae265cd 100644 --- a/svx/source/dialog/framelink.cxx +++ b/svx/source/dialog/framelink.cxx @@ -21,6 +21,7 @@ #include #include +#include #include #include diff --git a/svx/source/gallery2/codec.hxx b/svx/source/gallery2/codec.hxx index 99363af0fb79..b7620a3e3799 100644 --- a/svx/source/gallery2/codec.hxx +++ b/svx/source/gallery2/codec.hxx @@ -17,7 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include +#include // ---------------- // - GalleryCodec - diff --git a/svx/source/mnuctrls/clipboardctl.cxx b/svx/source/mnuctrls/clipboardctl.cxx index eb5538534559..c288020bf695 100644 --- a/svx/source/mnuctrls/clipboardctl.cxx +++ b/svx/source/mnuctrls/clipboardctl.cxx @@ -21,7 +21,6 @@ #include #include #include -#include #include #include #include diff --git a/svx/source/sdr/overlay/overlaycrosshair.cxx b/svx/source/sdr/overlay/overlaycrosshair.cxx index ba6df7084035..bb126d9c7818 100644 --- a/svx/source/sdr/overlay/overlaycrosshair.cxx +++ b/svx/source/sdr/overlay/overlaycrosshair.cxx @@ -18,7 +18,6 @@ */ #include -#include #include #include #include diff --git a/svx/source/sdr/overlay/overlayhelpline.cxx b/svx/source/sdr/overlay/overlayhelpline.cxx index 8d0f3a9c682f..f0dee820a8d8 100644 --- a/svx/source/sdr/overlay/overlayhelpline.cxx +++ b/svx/source/sdr/overlay/overlayhelpline.cxx @@ -18,7 +18,6 @@ */ #include -#include #include #include #include diff --git a/svx/source/sdr/overlay/overlayline.cxx b/svx/source/sdr/overlay/overlayline.cxx index e99ee63ce4e3..fa9d2d0c8cc1 100644 --- a/svx/source/sdr/overlay/overlayline.cxx +++ b/svx/source/sdr/overlay/overlayline.cxx @@ -18,7 +18,6 @@ */ #include -#include #include #include #include diff --git a/svx/source/sdr/overlay/overlayobjectlist.cxx b/svx/source/sdr/overlay/overlayobjectlist.cxx index 93560b880930..684dd09caf4d 100644 --- a/svx/source/sdr/overlay/overlayobjectlist.cxx +++ b/svx/source/sdr/overlay/overlayobjectlist.cxx @@ -21,6 +21,7 @@ #include #include #include +#include // for SOLARIS compiler include of algorithm part of _STL is necesary to // get access to basic algos like ::std::find diff --git a/svx/source/sdr/overlay/overlayrollingrectangle.cxx b/svx/source/sdr/overlay/overlayrollingrectangle.cxx index 852e95b8c2c2..977c91e2275f 100644 --- a/svx/source/sdr/overlay/overlayrollingrectangle.cxx +++ b/svx/source/sdr/overlay/overlayrollingrectangle.cxx @@ -18,7 +18,6 @@ */ #include -#include #include #include #include diff --git a/svx/source/svdraw/gradtrns.hxx b/svx/source/svdraw/gradtrns.hxx index 25bd4c778663..23cf3e9ea56e 100644 --- a/svx/source/svdraw/gradtrns.hxx +++ b/svx/source/svdraw/gradtrns.hxx @@ -21,7 +21,6 @@ #define _GRADTRANS_HXX #include -#include #include class SdrObject; diff --git a/svx/source/table/tablelayouter.cxx b/svx/source/table/tablelayouter.cxx index 599bf61a134f..eecf16d80bf3 100644 --- a/svx/source/table/tablelayouter.cxx +++ b/svx/source/table/tablelayouter.cxx @@ -21,6 +21,8 @@ #include #include +#include + #include "cell.hxx" #include "cellrange.hxx" #include "tablemodel.hxx" diff --git a/svx/source/table/tablelayouter.hxx b/svx/source/table/tablelayouter.hxx index 9bd48726ed54..6d2fd9e19af2 100644 --- a/svx/source/table/tablelayouter.hxx +++ b/svx/source/table/tablelayouter.hxx @@ -23,15 +23,17 @@ #include #include #include +#include #include #include -#include #include #include #include #include "svx/svdotable.hxx" +class Rectangle; + // ----------------------------------------------------------------------------- namespace editeng { diff --git a/svx/source/table/tablemodel.cxx b/svx/source/table/tablemodel.cxx index 46b1c9a6f462..5387babf17eb 100644 --- a/svx/source/table/tablemodel.cxx +++ b/svx/source/table/tablemodel.cxx @@ -311,11 +311,11 @@ Reference< XCellCursor > SAL_CALL TableModel::createCursor() throw (RuntimeExcep // ----------------------------------------------------------------------------- -Reference< XCellCursor > SAL_CALL TableModel::createCursorByRange( const Reference< XCellRange >& Range ) throw (IllegalArgumentException, RuntimeException) +Reference< XCellCursor > SAL_CALL TableModel::createCursorByRange( const Reference< XCellRange >& rRange ) throw (IllegalArgumentException, RuntimeException) { ::SolarMutexGuard aGuard; - ICellRange* pRange = dynamic_cast< ICellRange* >( Range.get() ); + ICellRange* pRange = dynamic_cast< ICellRange* >( rRange.get() ); if( (pRange == 0) || (pRange->getTable().get() != this) ) throw IllegalArgumentException(); diff --git a/svx/source/table/tablemodel.hxx b/svx/source/table/tablemodel.hxx index df0bca41317e..9aabdfa8bffa 100644 --- a/svx/source/table/tablemodel.hxx +++ b/svx/source/table/tablemodel.hxx @@ -20,6 +20,7 @@ #ifndef _SVX_TABLE_TABLEMODEL_HXX_ #define _SVX_TABLE_TABLEMODEL_HXX_ +#include #include #include #include @@ -27,7 +28,6 @@ #include #include #include -#include #include "celltypes.hxx" // ----------------------------------------------------------------------------- @@ -100,7 +100,7 @@ public: // XTable virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellCursor > SAL_CALL createCursor( ) throw (::com::sun::star::uno::RuntimeException); - virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellCursor > SAL_CALL createCursorByRange( const ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellRange >& Range ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellCursor > SAL_CALL createCursorByRange( const ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellRange >& rRange ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException); virtual ::sal_Int32 SAL_CALL getRowCount() throw (::com::sun::star::uno::RuntimeException); virtual ::sal_Int32 SAL_CALL getColumnCount() throw (::com::sun::star::uno::RuntimeException); diff --git a/svx/source/tbxctrls/lboxctrl.cxx b/svx/source/tbxctrls/lboxctrl.cxx index efc9ebcf6928..15ee615c1d1f 100644 --- a/svx/source/tbxctrls/lboxctrl.cxx +++ b/svx/source/tbxctrls/lboxctrl.cxx @@ -21,6 +21,7 @@ #ifdef _TOOLS_DEBUG_HXX #include #endif +#include #include #include #include @@ -29,7 +30,6 @@ #include #include #include -#include #include #include #include diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx index 19236eb83341..8ff4a8bc0446 100644 --- a/svx/source/unodraw/unoshape.cxx +++ b/svx/source/unodraw/unoshape.cxx @@ -62,6 +62,7 @@ #include "svx/svdomeas.hxx" #include "svx/svdpagv.hxx" #include "svx/svdpool.hxx" +#include #include // #include "svx/dialmgr.hxx" // not nice, we need our own resources some day #include "svx/dialogs.hrc" // diff --git a/svx/source/xoutdev/_xpoly.cxx b/svx/source/xoutdev/_xpoly.cxx index 169d1b56ade1..4053c11158c6 100644 --- a/svx/source/xoutdev/_xpoly.cxx +++ b/svx/source/xoutdev/_xpoly.cxx @@ -22,6 +22,7 @@ #include #include #include +#include #include #include "xpolyimp.hxx" -- cgit