Kaydet (Commit) bb90189d authored tarafından Caolán McNamara's avatar Caolán McNamara

sprinkle some more SAL_WARN_UNUSED around

Change-Id: Iaa1508584f005cba6e2ab63d4053cde4ce8637df
üst 2914d52f
......@@ -21,7 +21,7 @@
#include <tools/gen.hxx>
class ImplPolygonData
class SAL_WARN_UNUSED ImplPolygonData
{
public:
Point* mpPointAry;
......@@ -30,7 +30,7 @@ public:
sal_uIntPtr mnRefCount;
};
class ImplPolygon : public ImplPolygonData
class SAL_WARN_UNUSED ImplPolygon : public ImplPolygonData
{
public:
ImplPolygon( sal_uInt16 nInitSize, sal_Bool bFlags = sal_False );
......@@ -48,7 +48,7 @@ public:
class Polygon;
typedef Polygon* SVPPOLYGON;
class ImplPolyPolygon
class SAL_WARN_UNUSED ImplPolyPolygon
{
public:
SVPPOLYGON* mpPolyAry;
......
......@@ -27,7 +27,7 @@ class ResId;
enum DayOfWeek { MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY,
SATURDAY, SUNDAY };
class TOOLS_DLLPUBLIC Date
class TOOLS_DLLPUBLIC SAL_WARN_UNUSED Date
{
private:
sal_uInt32 nDate;
......
......@@ -24,7 +24,7 @@
#include <tools/date.hxx>
#include <tools/time.hxx>
class TOOLS_DLLPUBLIC DateTime : public Date, public Time
class TOOLS_DLLPUBLIC SAL_WARN_UNUSED DateTime : public Date, public Time
{
public:
enum DateTimeInitSystem
......
......@@ -24,7 +24,7 @@
class SvStream;
class TOOLS_DLLPUBLIC Fraction
class TOOLS_DLLPUBLIC SAL_WARN_UNUSED Fraction
{
private:
long nNumerator;
......
......@@ -53,7 +53,7 @@ enum PolyFlags
};
#endif
class PolyOptimizeData
class SAL_WARN_UNUSED PolyOptimizeData
{
private:
......@@ -81,7 +81,7 @@ namespace basegfx
class B2DPolyPolygon;
}
class TOOLS_DLLPUBLIC Polygon
class TOOLS_DLLPUBLIC SAL_WARN_UNUSED Polygon
{
private:
ImplPolygon* mpImplPolygon;
......@@ -194,7 +194,7 @@ public:
explicit Polygon(const ::basegfx::B2DPolygon& rPolygon);
};
class TOOLS_DLLPUBLIC PolyPolygon
class TOOLS_DLLPUBLIC SAL_WARN_UNUSED PolyPolygon
{
private:
ImplPolyPolygon* mpImplPolyPolygon;
......
......@@ -30,7 +30,7 @@ class ResId;
25 hours or 10 minus 20 seconds being (non-negative) 10 seconds.
*/
class TOOLS_DLLPUBLIC Time
class TOOLS_DLLPUBLIC SAL_WARN_UNUSED Time
{
private:
sal_Int32 nTime;
......
......@@ -26,7 +26,7 @@
#define UNIQUEINDEX_ENTRY_NOTFOUND CONTAINER_ENTRY_NOTFOUND
class TOOLS_DLLPUBLIC UniqueIndexImpl : public std::map<sal_uInt32, void*>
class TOOLS_DLLPUBLIC SAL_WARN_UNUSED UniqueIndexImpl : public std::map<sal_uInt32, void*>
{
private:
sal_uIntPtr nStartIndex;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment