summaryrefslogtreecommitdiff
path: root/tools/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-10-12 09:42:37 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-10-12 09:42:37 +0100
commit639c256dc5f4694b7204773ea4661084289c8b81 (patch)
treeb8e48e8987a4a7b83648d1c4ba4b9300e3fb3b78 /tools/inc
parent2dd0712a125a8dcdb5510bc36f06d103d6abdf58 (diff)
loplugin: markup some more suitable classes with SAL_WARN_UNUSED
Change-Id: Ia89ef962aed9ecd1e907c9f46e2f05a7018ca8a0
Diffstat (limited to 'tools/inc')
-rw-r--r--tools/inc/tools/bigint.hxx2
-rw-r--r--tools/inc/tools/color.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/inc/tools/bigint.hxx b/tools/inc/tools/bigint.hxx
index 0637ddd9c93b..85708569c3a6 100644
--- a/tools/inc/tools/bigint.hxx
+++ b/tools/inc/tools/bigint.hxx
@@ -36,7 +36,7 @@ namespace binfilter { class SbxINT64Converter; }
class Fraction;
-class TOOLS_DLLPUBLIC BigInt
+class TOOLS_DLLPUBLIC SAL_WARN_UNUSED BigInt
{
#ifdef _TLBIGINT_INT64
friend class ::binfilter::SbxINT64Converter;
diff --git a/tools/inc/tools/color.hxx b/tools/inc/tools/color.hxx
index 59f28d9672ee..823f341e5e67 100644
--- a/tools/inc/tools/color.hxx
+++ b/tools/inc/tools/color.hxx
@@ -89,7 +89,7 @@ typedef sal_uInt32 ColorData;
// Color
-class TOOLS_DLLPUBLIC Color
+class TOOLS_DLLPUBLIC SAL_WARN_UNUSED Color
{
protected:
ColorData mnColor;