summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2023-06-23 14:44:44 +0200
committerEike Rathke <erack@redhat.com>2023-06-24 01:20:12 +0200
commitc20337889469e41cec89bd421fab533f16b4b451 (patch)
treeabf23a2be09c283e0c0d415c85f7aa4c40805e7e /include
parent4a92323b54e7d63a8bc0b8e62fdc6b31760dcd05 (diff)
Change LocaleDataWrapper::getDuration() parameter to tools::Duration
... instead of tools::Time Change-Id: I8e49de43a1870541d75add34089eec67b7a8be31 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153533 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'include')
-rw-r--r--include/unotools/localedatawrapper.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/unotools/localedatawrapper.hxx b/include/unotools/localedatawrapper.hxx
index 5fbdcd0782b7..d6eeb174e735 100644
--- a/include/unotools/localedatawrapper.hxx
+++ b/include/unotools/localedatawrapper.hxx
@@ -42,7 +42,11 @@ namespace com::sun::star::i18n { struct FormatElement; }
namespace com::sun::star::i18n { struct CalendarItem2; }
class Date;
-namespace tools { class Time; }
+namespace tools
+{
+class Time;
+class Duration;
+}
class CalendarWrapper;
enum class DateOrder {
@@ -311,7 +315,7 @@ public:
OUString getDate( const Date& rDate ) const;
OUString getTime( const tools::Time& rTime, bool bSec = true,
bool b100Sec = false ) const;
- OUString getDuration( const tools::Time& rTime,
+ OUString getDuration( const tools::Duration& rDuration,
bool bSec = true, bool b100Sec = false ) const;
/** Simple number formatting