summaryrefslogtreecommitdiff
path: root/tools/inc
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@gmx.com>2012-12-25 15:18:26 +0100
committerMichael Stahl <mstahl@redhat.com>2013-01-07 13:14:57 +0000
commita4c7ded1fd2a879e66760a8fc3846af538da4b9d (patch)
tree128cbfa620ba4de837f78d7f831951a73c1f7b25 /tools/inc
parent07969f6effe89b8cdc65764135337054751f280e (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 'tools/inc')
-rw-r--r--tools/inc/poly.h4
-rw-r--r--tools/inc/tools/svborder.hxx16
2 files changed, 16 insertions, 4 deletions
diff --git a/tools/inc/poly.h b/tools/inc/poly.h
index a925f9b42739..9f05dcc2b3e4 100644
--- a/tools/inc/poly.h
+++ b/tools/inc/poly.h
@@ -19,7 +19,9 @@
#ifndef _POLY_H
#define _POLY_H
-#include <tools/gen.hxx>
+#include <sal/types.h>
+
+class Point;
class SAL_WARN_UNUSED ImplPolygonData
{
diff --git a/tools/inc/tools/svborder.hxx b/tools/inc/tools/svborder.hxx
index 0aebbfecdd47..de4a8666cbd8 100644
--- a/tools/inc/tools/svborder.hxx
+++ b/tools/inc/tools/svborder.hxx
@@ -29,11 +29,21 @@ class TOOLS_DLLPUBLIC SvBorder
public:
SvBorder()
- { nTop = nRight = nBottom = nLeft = 0; }
+ {
+ nTop = nRight = nBottom = nLeft = 0;
+ }
SvBorder( const Size & rSz )
- { nTop = nBottom = rSz.Height(); nRight = nLeft = rSz.Width(); }
+ {
+ nTop = nBottom = rSz.Height();
+ nRight = nLeft = rSz.Width();
+ }
SvBorder( long nLeftP, long nTopP, long nRightP, long nBottomP )
- { nLeft = nLeftP; nTop = nTopP; nRight = nRightP; nBottom = nBottomP; }
+ {
+ nLeft = nLeftP;
+ nTop = nTopP;
+ nRight = nRightP;
+ nBottom = nBottomP;
+ }
sal_Bool operator == ( const SvBorder & rObj ) const
{
return nTop == rObj.nTop && nRight == rObj.nRight &&