diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:03:41 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:03:41 +0100 |
commit | 83922317915f06561e621caddc91512829609ec1 (patch) | |
tree | 790761ad43fce305bc8d4b94afb0fc42814acdc6 /sc/source/ui/dbgui/pfiltdlg.cxx | |
parent | e1bdc38a0b8861281f4111fa78b39f76be6e14e7 (diff) |
More loplugin:cstylecast: sc
Change-Id: Iaaa5b99cdff49bc1e88443ee23d98c005ff84911
Diffstat (limited to 'sc/source/ui/dbgui/pfiltdlg.cxx')
-rw-r--r-- | sc/source/ui/dbgui/pfiltdlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/dbgui/pfiltdlg.cxx b/sc/source/ui/dbgui/pfiltdlg.cxx index 6de3a16d1759..331b607df22a 100644 --- a/sc/source/ui/dbgui/pfiltdlg.cxx +++ b/sc/source/ui/dbgui/pfiltdlg.cxx @@ -358,7 +358,7 @@ const ScQueryItem& ScPivotFilterDlg::GetOutputItem() for ( SCSIZE i=0; i<3; i++ ) { const sal_Int32 nField = aFieldLbArr[i]->GetSelectedEntryPos(); - ScQueryOp eOp = (ScQueryOp)aCondLbArr[i]->GetSelectedEntryPos(); + ScQueryOp eOp = static_cast<ScQueryOp>(aCondLbArr[i]->GetSelectedEntryPos()); bool bDoThis = (aFieldLbArr[i]->GetSelectedEntryPos() != 0); theParam.GetEntry(i).bDoQuery = bDoThis; @@ -399,10 +399,10 @@ const ScQueryItem& ScPivotFilterDlg::GetOutputItem() } theParam.GetEntry(1).eConnect = (nConnect1 != LISTBOX_ENTRY_NOTFOUND) - ? (ScQueryConnect)nConnect1 + ? static_cast<ScQueryConnect>(nConnect1) : SC_AND; theParam.GetEntry(2).eConnect = (nConnect2 != LISTBOX_ENTRY_NOTFOUND) - ? (ScQueryConnect)nConnect2 + ? static_cast<ScQueryConnect>(nConnect2) : SC_AND; theParam.bInplace = false; |