[Libreoffice-commits] .: basegfx/inc sal/inc sw/inc
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sun Oct 28 05:04:49 PDT 2012
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 +-
sal/inc/osl/mutex.hxx | 2 +-
sal/inc/rtl/byteseq.h | 2 +-
sw/inc/swrect.hxx | 2 +-
15 files changed, 15 insertions(+), 15 deletions(-)
New commits:
commit 3fd0889013f0ae6b91a363a979bd64dd2eefe317
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Oct 28 12:04:15 2012 +0000
add SAL_WARN_UNUSED to some classes
Change-Id: Ibcc3ea7ebd60c46930f0c2419c8286fed9671061
diff --git a/basegfx/inc/basegfx/color/bcolor.hxx b/basegfx/inc/basegfx/color/bcolor.hxx
index b517993..c942888 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 3d1453e..d522d4a 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 9c8056a..38d3fc8 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 c356e1c..7facdf4 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 569bf2d..bc793b6 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 f773994..a6291a4 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 19ec58d..f3df7c3 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 7af092b..ce04832 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 12459e0..fd71639 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 0ed9943..ded4ae3 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 9e8fa7f..deba4b9 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 da3dc23..13e3a59 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;
diff --git a/sal/inc/osl/mutex.hxx b/sal/inc/osl/mutex.hxx
index 8e8945a..98d1480 100644
--- a/sal/inc/osl/mutex.hxx
+++ b/sal/inc/osl/mutex.hxx
@@ -38,7 +38,7 @@ namespace osl
{
/** A mutual exclusion synchronization object
*/
- class Mutex {
+ class SAL_WARN_UNUSED Mutex {
public:
/** Create a thread-local mutex.
diff --git a/sal/inc/rtl/byteseq.h b/sal/inc/rtl/byteseq.h
index e863dff..c152083 100644
--- a/sal/inc/rtl/byteseq.h
+++ b/sal/inc/rtl/byteseq.h
@@ -167,7 +167,7 @@ enum __ByteSequence_NoAcquire
To keep value semantics, copies are only generated if the sequence is to be modified
(new handle).
*/
-class ByteSequence
+class SAL_WARN_UNUSED ByteSequence
{
/** sequence handle
*/
diff --git a/sw/inc/swrect.hxx b/sw/inc/swrect.hxx
index f2b6208..4cebc24 100644
--- a/sw/inc/swrect.hxx
+++ b/sw/inc/swrect.hxx
@@ -31,7 +31,7 @@
#include <tools/gen.hxx>
class SvStream;
-class SwRect
+class SAL_WARN_UNUSED SwRect
{
Point m_Point;
Size m_Size;
More information about the Libreoffice-commits
mailing list