From 9804cc4eff4c5899abdc5309eeb019eb6ec1bf46 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Wed, 9 May 2018 18:30:15 +0900 Subject: 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 Reviewed-by: Eike Rathke --- sc/source/ui/inc/printfun.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/ui/inc/printfun.hxx') diff --git a/sc/source/ui/inc/printfun.hxx b/sc/source/ui/inc/printfun.hxx index 2df47432c89a..d96fb277b788 100644 --- a/sc/source/ui/inc/printfun.hxx +++ b/sc/source/ui/inc/printfun.hxx @@ -303,7 +303,7 @@ public: void SetOffset( const Point& rOfs ); void SetManualZoom( sal_uInt16 nNewZoom ); - void SetDateTime( const Date& rDate, const tools::Time& rTime ); + void SetDateTime( const DateTime& ); void SetClearFlag( bool bFlag ); void SetUseStyleColor( bool bFlag ); -- cgit