Kaydet (Commit) ceaf6f7a authored tarafından Xisco Fauli's avatar Xisco Fauli Kaydeden (comit) Xisco Faulí

tdf#120703 (PVS): Recurring check.

V571 The 'pNew' condition was already verified in line 47.

Change-Id: Ib6b6a48f8c565ee28bbbaa8846f549639b6291be
Reviewed-on: https://gerrit.libreoffice.org/62159
Tested-by: Jenkins
Reviewed-by: 's avatarXisco Faulí <xiscofauli@libreoffice.org>
üst a8712656
......@@ -46,7 +46,7 @@ void SwUndoFormatCreate::UndoImpl(::sw::UndoRedoContext &)
{
if (pNew)
{
if (sNewName.isEmpty() && pNew)
if (sNewName.isEmpty())
sNewName = pNew->GetName();
if (!sNewName.isEmpty())
......
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