summaryrefslogtreecommitdiff
path: root/sc/source/ui/miscdlgs/highred.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-15 09:03:41 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-15 09:03:41 +0100
commit83922317915f06561e621caddc91512829609ec1 (patch)
tree790761ad43fce305bc8d4b94afb0fc42814acdc6 /sc/source/ui/miscdlgs/highred.cxx
parente1bdc38a0b8861281f4111fa78b39f76be6e14e7 (diff)
More loplugin:cstylecast: sc
Change-Id: Iaaa5b99cdff49bc1e88443ee23d98c005ff84911
Diffstat (limited to 'sc/source/ui/miscdlgs/highred.cxx')
-rw-r--r--sc/source/ui/miscdlgs/highred.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/miscdlgs/highred.cxx b/sc/source/ui/miscdlgs/highred.cxx
index 0a1d7f537f35..9601a7c68195 100644
--- a/sc/source/ui/miscdlgs/highred.cxx
+++ b/sc/source/ui/miscdlgs/highred.cxx
@@ -101,7 +101,7 @@ void ScHighlightChgDlg::Init()
m_pFilterCtr->SetFirstTime(aChangeViewSet.GetTheFirstDateTime());
m_pFilterCtr->SetLastDate(aChangeViewSet.GetTheLastDateTime());
m_pFilterCtr->SetLastTime(aChangeViewSet.GetTheLastDateTime());
- m_pFilterCtr->SetDateMode((sal_uInt16)aChangeViewSet.GetTheDateMode());
+ m_pFilterCtr->SetDateMode(static_cast<sal_uInt16>(aChangeViewSet.GetTheDateMode()));
m_pFilterCtr->CheckAuthor(aChangeViewSet.HasAuthor());
m_pFilterCtr->CheckComment(aChangeViewSet.HasComment());
m_pFilterCtr->SetComment(aChangeViewSet.GetTheComment());