diff options
Diffstat (limited to 'sc/source/ui/dbgui/PivotLayoutDialog.cxx')
-rw-r--r-- | sc/source/ui/dbgui/PivotLayoutDialog.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/dbgui/PivotLayoutDialog.cxx b/sc/source/ui/dbgui/PivotLayoutDialog.cxx index e6e2b9890039..83fdfdf91e5f 100644 --- a/sc/source/ui/dbgui/PivotLayoutDialog.cxx +++ b/sc/source/ui/dbgui/PivotLayoutDialog.cxx @@ -661,13 +661,13 @@ IMPL_LINK(ScPivotLayoutDialog, GetFocusHandler, Control*, pCtrl) { mpActiveEdit = NULL; - if (pCtrl == (Control*) mpSourceEdit || - pCtrl == (Control*) mpSourceButton) + if (pCtrl == static_cast<Control*>(mpSourceEdit) || + pCtrl == static_cast<Control*>(mpSourceButton)) { mpActiveEdit = mpSourceEdit; } - else if (pCtrl == (Control*) mpDestinationEdit || - pCtrl == (Control*) mpDestinationButton) + else if (pCtrl == static_cast<Control*>(mpDestinationEdit) || + pCtrl == static_cast<Control*>(mpDestinationButton)) { mpActiveEdit = mpDestinationEdit; } |