summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/dlg/CondFormat.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/ui/dlg/CondFormat.cxx b/reportdesign/source/ui/dlg/CondFormat.cxx
index 32d81f7fa689..0a3b665085f5 100644
--- a/reportdesign/source/ui/dlg/CondFormat.cxx
+++ b/reportdesign/source/ui/dlg/CondFormat.cxx
@@ -515,7 +515,7 @@ namespace rptui
// determine whether the new focus window is part of an (currently invisible) condition
const vcl::Window* pConditionCandidate = pGetFocusWindow->GetParent();
const vcl::Window* pPlaygroundCandidate = pConditionCandidate ? pConditionCandidate->GetParent() : nullptr;
- while ( ( pPlaygroundCandidate )
+ while ( pPlaygroundCandidate
&& ( pPlaygroundCandidate != this )
&& ( pPlaygroundCandidate != m_pConditionPlayground )
)