summaryrefslogtreecommitdiff
path: root/include/tools/date.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-19 13:23:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-20 07:41:29 +0100
commite725836ec19858be83bf6f7f251dd52dbcdf31d6 (patch)
treeec8aafe6e546a35dff6c3349e9644a6d6b94eea9 /include/tools/date.hxx
parent73139fe600fc1399ae828077981a2498cb0a0b0c (diff)
loplugin:unused-returns in filter,tools,xmloff
Change-Id: I7a57be7e241883adac4417baa699a97d6304a631 Reviewed-on: https://gerrit.libreoffice.org/48188 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/tools/date.hxx')
-rw-r--r--include/tools/date.hxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/tools/date.hxx b/include/tools/date.hxx
index 071b3c3b765c..c70d3450399c 100644
--- a/include/tools/date.hxx
+++ b/include/tools/date.hxx
@@ -194,10 +194,8 @@ public:
This may be necessary after Date ctors or if the SetDate(), SetDay(),
SetMonth(), SetYear() methods set individual non-matching values.
Adding/subtracting to/from dates never produces invalid dates.
-
- @returns TRUE if the date was normalized, i.e. not valid before.
*/
- bool Normalize();
+ void Normalize();
bool IsBetween( const Date& rFrom, const Date& rTo ) const
{ return ((mnDate >= rFrom.mnDate) &&