diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index ffd5413eced8..0dec05a7bf38 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -826,7 +826,7 @@ void SmCmdBoxWindow::StateChanged( StateChangedType nStateChange ) Resize(); // avoid SmEditWindow not being painted correctly // set initial position of window in floating mode - if (true == IsFloatingMode()) + if (IsFloatingMode()) AdjustPosition(); //! don't change pos in docking-mode ! aInitialFocusTimer.Start();