diff options
author | Matteo Casalin <matteo.casalin@gmx.com> | 2012-12-25 15:18:26 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-01-07 13:14:57 +0000 |
commit | a4c7ded1fd2a879e66760a8fc3846af538da4b9d (patch) | |
tree | 128cbfa620ba4de837f78d7f831951a73c1f7b25 /svx/source | |
parent | 07969f6effe89b8cdc65764135337054751f280e (diff) |
Cleanup: #include <tools/gen.hxx>
Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530
Reviewed-on: https://gerrit.libreoffice.org/1484
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/dialog/framelink.cxx | 1 | ||||
-rw-r--r-- | svx/source/gallery2/codec.hxx | 2 | ||||
-rw-r--r-- | svx/source/mnuctrls/clipboardctl.cxx | 1 | ||||
-rw-r--r-- | svx/source/sdr/overlay/overlaycrosshair.cxx | 1 | ||||
-rw-r--r-- | svx/source/sdr/overlay/overlayhelpline.cxx | 1 | ||||
-rw-r--r-- | svx/source/sdr/overlay/overlayline.cxx | 1 | ||||
-rw-r--r-- | svx/source/sdr/overlay/overlayobjectlist.cxx | 1 | ||||
-rw-r--r-- | svx/source/sdr/overlay/overlayrollingrectangle.cxx | 1 | ||||
-rw-r--r-- | svx/source/svdraw/gradtrns.hxx | 1 | ||||
-rw-r--r-- | svx/source/table/tablelayouter.cxx | 2 | ||||
-rw-r--r-- | svx/source/table/tablelayouter.hxx | 4 | ||||
-rw-r--r-- | svx/source/table/tablemodel.cxx | 4 | ||||
-rw-r--r-- | svx/source/table/tablemodel.hxx | 4 | ||||
-rw-r--r-- | svx/source/tbxctrls/lboxctrl.cxx | 2 | ||||
-rw-r--r-- | svx/source/unodraw/unoshape.cxx | 1 | ||||
-rw-r--r-- | svx/source/xoutdev/_xpoly.cxx | 1 |
16 files changed, 15 insertions, 13 deletions
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 <math.h> #include <vcl/outdev.hxx> +#include <tools/gen.hxx> #include <editeng/borderline.hxx> #include <svtools/borderhelper.hxx> 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 <tools/gen.hxx> +#include <sal/types.h> // ---------------- // - 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 <sfx2/tbxctrl.hxx> #include <sfx2/bindings.hxx> #include <sfx2/dispatch.hxx> -#include <tools/gen.hxx> #include <svl/intitem.hxx> #include <sot/exchange.hxx> #include <svl/eitem.hxx> 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 <svx/sdr/overlay/overlaycrosshair.hxx> -#include <tools/gen.hxx> #include <vcl/outdev.hxx> #include <svx/sdr/overlay/overlaytools.hxx> #include <svx/sdr/overlay/overlaymanager.hxx> 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 <svx/sdr/overlay/overlayhelpline.hxx> -#include <tools/gen.hxx> #include <vcl/outdev.hxx> #include <basegfx/vector/b2dvector.hxx> #include <svx/sdr/overlay/overlaytools.hxx> 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 <svx/sdr/overlay/overlayline.hxx> -#include <tools/gen.hxx> #include <vcl/outdev.hxx> #include <basegfx/vector/b2dvector.hxx> #include <basegfx/matrix/b2dhommatrix.hxx> 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 <svx/sdr/overlay/overlaymanager.hxx> #include <vcl/outdev.hxx> #include <basegfx/matrix/b2dhommatrix.hxx> +#include <tools/gen.hxx> // 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 <svx/sdr/overlay/overlayrollingrectangle.hxx> -#include <tools/gen.hxx> #include <vcl/outdev.hxx> #include <basegfx/matrix/b2dhommatrix.hxx> #include <svx/sdr/overlay/overlaytools.hxx> 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 <svx/xgrad.hxx> -#include <tools/gen.hxx> #include <basegfx/point/b2dpoint.hxx> 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 <com/sun/star/table/XMergeableCell.hpp> #include <com/sun/star/awt/XLayoutConstrains.hpp> +#include <tools/gen.hxx> + #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 <com/sun/star/container/XIndexAccess.hpp> #include <com/sun/star/text/WritingMode.hpp> #include <com/sun/star/table/XTable.hpp> +#include <sal/types.h> #include <basegfx/range/b2irectangle.hxx> #include <basegfx/tuple/b2ituple.hxx> -#include <tools/gen.hxx> #include <boost/shared_ptr.hpp> #include <vector> #include <map> #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 <sal/types.h> #include <com/sun/star/util/XBroadcaster.hpp> #include <com/sun/star/table/XTable.hpp> #include <basegfx/range/b2irectangle.hxx> @@ -27,7 +28,6 @@ #include <cppuhelper/compbase2.hxx> #include <comphelper/broadcasthelper.hxx> #include <comphelper/listenernotification.hxx> -#include <tools/gen.hxx> #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 <tools/debug.hxx> #endif +#include <sal/types.h> #include <vcl/lstbox.hxx> #include <vcl/toolbox.hxx> #include <vcl/event.hxx> @@ -29,7 +30,6 @@ #include <sfx2/bindings.hxx> #include <sfx2/dispatch.hxx> #include <sfx2/viewsh.hxx> -#include <tools/gen.hxx> #include <svl/intitem.hxx> #include <svl/eitem.hxx> #include <svtools/stdctrl.hxx> 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 <tools/gen.hxx> #include <tools/shl.hxx> // #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 <tools/debug.hxx> #include <tools/poly.hxx> #include <tools/helpers.hxx> +#include <tools/gen.hxx> #include <svx/xpoly.hxx> #include "xpolyimp.hxx" |