diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-13 11:30:11 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-13 13:27:53 +0200 |
commit | 19b34c0039c6293f9b37aa70f8055aa2be28ba09 (patch) | |
tree | 04463a78141cd94ee70cd463ba7687993410c276 /include/svtools/calendar.hxx | |
parent | fe8896bab01ccb595c993e54866a01f554b54f4f (diff) |
loplugin:passstuffbyref in svtools
Change-Id: Ie166eaef65e56fafe4e57a5559b587d7558d7aa4
Diffstat (limited to 'include/svtools/calendar.hxx')
-rw-r--r-- | include/svtools/calendar.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svtools/calendar.hxx b/include/svtools/calendar.hxx index 029afb2752cf..12e60cfedc82 100644 --- a/include/svtools/calendar.hxx +++ b/include/svtools/calendar.hxx @@ -276,7 +276,7 @@ public: void SetCurDate( const Date& rNewDate ); void SetFirstDate( const Date& rNewFirstDate ); - Date GetFirstDate() const { return maFirstDate; } + const Date& GetFirstDate() const { return maFirstDate; } Date GetLastDate() const { return GetFirstDate() + mnDayCount; } Date GetFirstMonth() const; Date GetLastMonth() const; |