summaryrefslogtreecommitdiff
path: root/reportdesign/source
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign/source')
-rw-r--r--reportdesign/source/ui/report/DesignView.cxx6
-rw-r--r--reportdesign/source/ui/report/ScrollHelper.cxx4
2 files changed, 5 insertions, 5 deletions
diff --git a/reportdesign/source/ui/report/DesignView.cxx b/reportdesign/source/ui/report/DesignView.cxx
index 8c0a7414b724..e74bc17e0913 100644
--- a/reportdesign/source/ui/report/DesignView.cxx
+++ b/reportdesign/source/ui/report/DesignView.cxx
@@ -584,11 +584,11 @@ void ODesignView::alignMarkedObjects(ControlModification _nControlModification,b
bool ODesignView::handleKeyEvent(const KeyEvent& _rEvent)
{
- if ( (m_pPropWin && m_pPropWin->HasChildPathFocus()) )
+ if ( m_pPropWin && m_pPropWin->HasChildPathFocus() )
return false;
- if ( (m_pAddField && m_pAddField->HasChildPathFocus()) )
+ if ( m_pAddField && m_pAddField->HasChildPathFocus() )
return false;
- if ( (m_pReportExplorer && m_pReportExplorer->HasChildPathFocus()) )
+ if ( m_pReportExplorer && m_pReportExplorer->HasChildPathFocus() )
return false;
return m_aScrollWindow->handleKeyEvent(_rEvent);
}
diff --git a/reportdesign/source/ui/report/ScrollHelper.cxx b/reportdesign/source/ui/report/ScrollHelper.cxx
index 9bf691aa4087..d67c94d55909 100644
--- a/reportdesign/source/ui/report/ScrollHelper.cxx
+++ b/reportdesign/source/ui/report/ScrollHelper.cxx
@@ -328,9 +328,9 @@ bool OScrollWindowHelper::EventNotify( NotifyEvent& rNEvt )
{
const CommandEvent* pCommandEvent = rNEvt.GetCommandEvent();
if ( pCommandEvent &&
- ( ((pCommandEvent->GetCommand() == CommandEventId::Wheel) ||
+ ((pCommandEvent->GetCommand() == CommandEventId::Wheel) ||
(pCommandEvent->GetCommand() == CommandEventId::StartAutoScroll) ||
- (pCommandEvent->GetCommand() == CommandEventId::AutoScroll))) )
+ (pCommandEvent->GetCommand() == CommandEventId::AutoScroll)) )
{
ScrollBar* pHScrBar = nullptr;
ScrollBar* pVScrBar = nullptr;