From 3fd0889013f0ae6b91a363a979bd64dd2eefe317 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 28 Oct 2012 12:04:15 +0000 Subject: add SAL_WARN_UNUSED to some classes Change-Id: Ibcc3ea7ebd60c46930f0c2419c8286fed9671061 --- basegfx/inc/basegfx/color/bcolor.hxx | 2 +- basegfx/inc/basegfx/color/bcolormodifier.hxx | 2 +- basegfx/inc/basegfx/point/b2dpoint.hxx | 2 +- basegfx/inc/basegfx/point/b2ipoint.hxx | 2 +- basegfx/inc/basegfx/point/b3dpoint.hxx | 2 +- basegfx/inc/basegfx/point/b3ipoint.hxx | 2 +- basegfx/inc/basegfx/tuple/b2dtuple.hxx | 2 +- basegfx/inc/basegfx/tuple/b2i64tuple.hxx | 2 +- basegfx/inc/basegfx/tuple/b2ituple.hxx | 2 +- basegfx/inc/basegfx/tuple/b3dtuple.hxx | 2 +- basegfx/inc/basegfx/tuple/b3i64tuple.hxx | 2 +- basegfx/inc/basegfx/tuple/b3ituple.hxx | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) (limited to 'basegfx/inc') diff --git a/basegfx/inc/basegfx/color/bcolor.hxx b/basegfx/inc/basegfx/color/bcolor.hxx index b5179933ae25..c94288830c76 100644 --- a/basegfx/inc/basegfx/color/bcolor.hxx +++ b/basegfx/inc/basegfx/color/bcolor.hxx @@ -54,7 +54,7 @@ namespace basegfx @see B3DTuple */ - class BASEGFX_DLLPUBLIC BColor : public B3DTuple + class BASEGFX_DLLPUBLIC SAL_WARN_UNUSED BColor : public B3DTuple { public: /** Create a Color with red, green and blue components from [0.0 to 1.0] diff --git a/basegfx/inc/basegfx/color/bcolormodifier.hxx b/basegfx/inc/basegfx/color/bcolormodifier.hxx index 3d1453e564ee..d522d4a17cdd 100644 --- a/basegfx/inc/basegfx/color/bcolormodifier.hxx +++ b/basegfx/inc/basegfx/color/bcolormodifier.hxx @@ -50,7 +50,7 @@ namespace basegfx /** Class to hold a color, value and mode for a color modification. Color modification is done calling the getModifiedColor() method */ - class BASEGFX_DLLPUBLIC BColorModifier + class BASEGFX_DLLPUBLIC SAL_WARN_UNUSED BColorModifier { protected: ::basegfx::BColor maBColor; diff --git a/basegfx/inc/basegfx/point/b2dpoint.hxx b/basegfx/inc/basegfx/point/b2dpoint.hxx index 9c8056abe7d9..38d3fc851968 100644 --- a/basegfx/inc/basegfx/point/b2dpoint.hxx +++ b/basegfx/inc/basegfx/point/b2dpoint.hxx @@ -48,7 +48,7 @@ namespace basegfx @see B2DTuple */ - class B2DPoint : public ::basegfx::B2DTuple + class SAL_WARN_UNUSED B2DPoint : public ::basegfx::B2DTuple { public: /** Create a 2D Point diff --git a/basegfx/inc/basegfx/point/b2ipoint.hxx b/basegfx/inc/basegfx/point/b2ipoint.hxx index c356e1c5855b..7facdf4bfa6b 100644 --- a/basegfx/inc/basegfx/point/b2ipoint.hxx +++ b/basegfx/inc/basegfx/point/b2ipoint.hxx @@ -45,7 +45,7 @@ namespace basegfx @see B2ITuple */ - class BASEGFX_DLLPUBLIC B2IPoint : public ::basegfx::B2ITuple + class BASEGFX_DLLPUBLIC SAL_WARN_UNUSED B2IPoint : public ::basegfx::B2ITuple { public: /** Create a 2D Point diff --git a/basegfx/inc/basegfx/point/b3dpoint.hxx b/basegfx/inc/basegfx/point/b3dpoint.hxx index 569bf2d7dab0..bc793b6df9b9 100644 --- a/basegfx/inc/basegfx/point/b3dpoint.hxx +++ b/basegfx/inc/basegfx/point/b3dpoint.hxx @@ -45,7 +45,7 @@ namespace basegfx @see B3DTuple */ - class BASEGFX_DLLPUBLIC B3DPoint : public ::basegfx::B3DTuple + class BASEGFX_DLLPUBLIC SAL_WARN_UNUSED B3DPoint : public ::basegfx::B3DTuple { public: /** Create a 3D Point diff --git a/basegfx/inc/basegfx/point/b3ipoint.hxx b/basegfx/inc/basegfx/point/b3ipoint.hxx index f773994728fe..a6291a4d4263 100644 --- a/basegfx/inc/basegfx/point/b3ipoint.hxx +++ b/basegfx/inc/basegfx/point/b3ipoint.hxx @@ -45,7 +45,7 @@ namespace basegfx @see B3ITuple */ - class BASEGFX_DLLPUBLIC B3IPoint : public ::basegfx::B3ITuple + class BASEGFX_DLLPUBLIC SAL_WARN_UNUSED B3IPoint : public ::basegfx::B3ITuple { public: /** Create a 3D Point diff --git a/basegfx/inc/basegfx/tuple/b2dtuple.hxx b/basegfx/inc/basegfx/tuple/b2dtuple.hxx index 19ec58d106a7..f3df7c3b1236 100644 --- a/basegfx/inc/basegfx/tuple/b2dtuple.hxx +++ b/basegfx/inc/basegfx/tuple/b2dtuple.hxx @@ -46,7 +46,7 @@ namespace basegfx @derive Use this class to implement Points or Vectors which are based on two double values */ - class B2DTuple + class SAL_WARN_UNUSED B2DTuple { protected: double mfX; diff --git a/basegfx/inc/basegfx/tuple/b2i64tuple.hxx b/basegfx/inc/basegfx/tuple/b2i64tuple.hxx index 7af092b04601..ce04832fd97b 100644 --- a/basegfx/inc/basegfx/tuple/b2i64tuple.hxx +++ b/basegfx/inc/basegfx/tuple/b2i64tuple.hxx @@ -44,7 +44,7 @@ namespace basegfx @derive Use this class to implement Points or Vectors which are based on two sal_Int64 values */ - class BASEGFX_DLLPUBLIC B2I64Tuple + class BASEGFX_DLLPUBLIC SAL_WARN_UNUSED B2I64Tuple { protected: sal_Int64 mnX; diff --git a/basegfx/inc/basegfx/tuple/b2ituple.hxx b/basegfx/inc/basegfx/tuple/b2ituple.hxx index 12459e0d5765..fd71639db446 100644 --- a/basegfx/inc/basegfx/tuple/b2ituple.hxx +++ b/basegfx/inc/basegfx/tuple/b2ituple.hxx @@ -42,7 +42,7 @@ namespace basegfx @derive Use this class to implement Points or Vectors which are based on two sal_Int32 values */ - class BASEGFX_DLLPUBLIC B2ITuple + class BASEGFX_DLLPUBLIC SAL_WARN_UNUSED B2ITuple { protected: sal_Int32 mnX; diff --git a/basegfx/inc/basegfx/tuple/b3dtuple.hxx b/basegfx/inc/basegfx/tuple/b3dtuple.hxx index 0ed99431da2f..ded4ae330b05 100644 --- a/basegfx/inc/basegfx/tuple/b3dtuple.hxx +++ b/basegfx/inc/basegfx/tuple/b3dtuple.hxx @@ -46,7 +46,7 @@ namespace basegfx @derive Use this class to implement Points or Vectors which are based on three double values */ - class BASEGFX_DLLPUBLIC B3DTuple + class BASEGFX_DLLPUBLIC SAL_WARN_UNUSED B3DTuple { protected: double mfX; diff --git a/basegfx/inc/basegfx/tuple/b3i64tuple.hxx b/basegfx/inc/basegfx/tuple/b3i64tuple.hxx index 9e8fa7f3fbd7..deba4b93912f 100644 --- a/basegfx/inc/basegfx/tuple/b3i64tuple.hxx +++ b/basegfx/inc/basegfx/tuple/b3i64tuple.hxx @@ -44,7 +44,7 @@ namespace basegfx @derive Use this class to implement Points or Vectors which are based on three sal_Int64 values */ - class BASEGFX_DLLPUBLIC B3I64Tuple + class BASEGFX_DLLPUBLIC SAL_WARN_UNUSED B3I64Tuple { protected: sal_Int64 mnX; diff --git a/basegfx/inc/basegfx/tuple/b3ituple.hxx b/basegfx/inc/basegfx/tuple/b3ituple.hxx index da3dc231dfc6..13e3a59c9b0b 100644 --- a/basegfx/inc/basegfx/tuple/b3ituple.hxx +++ b/basegfx/inc/basegfx/tuple/b3ituple.hxx @@ -43,7 +43,7 @@ namespace basegfx @derive Use this class to implement Points or Vectors which are based on three sal_Int32 values */ - class BASEGFX_DLLPUBLIC B3ITuple + class BASEGFX_DLLPUBLIC SAL_WARN_UNUSED B3ITuple { protected: sal_Int32 mnX; -- cgit