summaryrefslogtreecommitdiff
path: root/sc/inc/address.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-11 11:46:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-12 10:10:46 +0200
commit4b57c28302def4dd56b2dc8ffb73f21b688a6534 (patch)
tree7e6ecddbcea60ec39e0525c4902783f6a97dd8ee /sc/inc/address.hxx
parent9e4d84daf279a63052cfd0aeebd2d67dfaf07c67 (diff)
tag ScAddress and friends with SAL_WARN_UNUSED
Change-Id: I4ed6b1e8b4225a87fbcb863a47c84e30228b5352 Reviewed-on: https://gerrit.libreoffice.org/36407 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/address.hxx')
-rw-r--r--sc/inc/address.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx
index 8a7512678bd2..f2ac3595b6c7 100644
--- a/sc/inc/address.hxx
+++ b/sc/inc/address.hxx
@@ -180,7 +180,7 @@ inline void applyStartToEndFlags(ScRefFlags &target)
}
// ScAddress
-class ScAddress
+class SAL_WARN_UNUSED ScAddress
{
private:
SCROW nRow;
@@ -459,7 +459,7 @@ inline bool ValidAddress( const ScAddress& rAddress )
}
// ScRange
-class ScRange
+class SAL_WARN_UNUSED ScRange
{
public:
ScAddress aStart;
@@ -720,7 +720,7 @@ inline bool ValidRange( const ScRange& rRange )
}
// ScRangePair
-class ScRangePair
+class SAL_WARN_UNUSED ScRangePair
{
private:
ScRange aRange[2];
@@ -756,7 +756,7 @@ inline ScRangePair& ScRangePair::operator= ( const ScRangePair& rRange )
}
// ScRefAddress
-class ScRefAddress
+class SAL_WARN_UNUSED ScRefAddress
{
private:
ScAddress aAdr;