Kaydet (Commit) d75a96d5 authored tarafından Jochen Nitschke's avatar Jochen Nitschke

cppcheck: knownConditionTrueFalse

Change-Id: I245a353b69af7dcedf4c0f3f1271f1fdf86fd09c
Reviewed-on: https://gerrit.libreoffice.org/61523
Tested-by: Jenkins
Reviewed-by: 's avatarJochen Nitschke <j.nitschke+logerrit@ok.de>
üst 2f74b684
...@@ -269,11 +269,8 @@ void ModulWindow::CheckCompileBasic() ...@@ -269,11 +269,8 @@ void ModulWindow::CheckCompileBasic()
GetShell()->GetViewFrame()->GetWindow().EnterWait(); GetShell()->GetViewFrame()->GetWindow().EnterWait();
if( bModified ) AssertValidEditEngine();
{ GetEditorWindow().SetSourceInBasic();
AssertValidEditEngine();
GetEditorWindow().SetSourceInBasic();
}
bool bWasModified = GetBasic()->IsModified(); bool bWasModified = GetBasic()->IsModified();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment