diff options
author | Eike Rathke <erack@redhat.com> | 2023-06-23 14:44:44 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2023-06-24 01:20:12 +0200 |
commit | c20337889469e41cec89bd421fab533f16b4b451 (patch) | |
tree | abf23a2be09c283e0c0d415c85f7aa4c40805e7e /sd | |
parent | 4a92323b54e7d63a8bc0b8e62fdc6b31760dcd05 (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 'sd')
-rw-r--r-- | sd/source/ui/slideshow/showwin.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/ui/slideshow/showwin.cxx b/sd/source/ui/slideshow/showwin.cxx index 8e1f8a6d49cd..4bc0d414307c 100644 --- a/sd/source/ui/slideshow/showwin.cxx +++ b/sd/source/ui/slideshow/showwin.cxx @@ -38,6 +38,7 @@ #include <utility> #include <vcl/settings.hxx> #include <vcl/virdev.hxx> +#include <tools/duration.hxx> using namespace ::com::sun::star; @@ -512,7 +513,7 @@ void ShowWindow::DrawPauseScene( bool bTimeoutOnly ) SvtSysLocale aSysLocale; const LocaleDataWrapper& aLocaleData = aSysLocale.GetLocaleData(); - aText += " ( " + aLocaleData.getDuration( ::tools::Time( 0, 0, mnPauseTimeout ) ) + " )"; + aText += " ( " + aLocaleData.getDuration( ::tools::Duration( 0, 0, 0, mnPauseTimeout, 0 )) + " )"; pVDev->DrawText( Point( aOffset.Width(), 0 ), aText ); GetOutDev()->DrawOutDev( Point( aOutOrg.X(), aOffset.Height() ), aVDevSize, Point(), aVDevSize, *pVDev ); bDrawn = true; |