diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2018-05-09 18:30:15 +0900 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2018-06-11 12:35:49 +0200 |
commit | 9804cc4eff4c5899abdc5309eeb019eb6ec1bf46 (patch) | |
tree | 0f96d2a0fc5616751131fe28b2476b53f253b678 /sc/inc/editutil.hxx | |
parent | 3f8fdfced059bdec7f28164eb3c0e99974c6780a (diff) |
sc: ScHeaderFieldData always stores a datetime
It does not change only the date part nor the time part
separately, thus holding single DateTime is sufficient.
Change-Id: Ic619608ce7a961287c299698b9a004cbf7038702
Reviewed-on: https://gerrit.libreoffice.org/54058
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/inc/editutil.hxx')
-rw-r--r-- | sc/inc/editutil.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sc/inc/editutil.hxx b/sc/inc/editutil.hxx index 6aac49e77f51..a446b5cb385c 100644 --- a/sc/inc/editutil.hxx +++ b/sc/inc/editutil.hxx @@ -25,8 +25,7 @@ #include "types.hxx" #include <editeng/editeng.hxx> #include <svx/pageitem.hxx> -#include <tools/date.hxx> -#include <tools/time.hxx> +#include <tools/datetime.hxx> #include <tools/gen.hxx> #include <tools/fract.hxx> #include <vcl/outdev.hxx> @@ -190,8 +189,7 @@ struct ScHeaderFieldData OUString aLongDocName; // path and file name OUString aShortDocName; // pure file name OUString aTabName; - Date aDate; - tools::Time aTime; + DateTime aDateTime; long nPageNo; long nTotalPages; SvxNumType eNumType; |