WaE: C6011 Dereferencing NULL pointer warnings
Change-Id: Ic67e884555517620acb6d43bafc28e8291720913 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167770 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Jenkins
This commit is contained in:
parent
cb4e9a7bf2
commit
7c25b9c2a0
1 changed files with 2 additions and 2 deletions
|
@ -5113,8 +5113,8 @@ void LibLibreOffice_Impl::dumpState(rtl::OStringBuffer &rState)
|
|||
rState.append("\n\tCallbackData:\t0x");
|
||||
rState.append(reinterpret_cast<sal_Int64>(mpCallback), 16);
|
||||
rState.append("\n\tIsModified:\t");
|
||||
if (SfxObjectShell::Current())
|
||||
rState.append(SfxObjectShell::Current()->IsModified() ? "modified" : "unmodified");
|
||||
if (const SfxObjectShell* pObjSh = SfxObjectShell::Current())
|
||||
rState.append(pObjSh->IsModified() ? "modified" : "unmodified");
|
||||
else
|
||||
rState.append("noshell");
|
||||
// TODO: dump mInteractionMap
|
||||
|
|
Loading…
Reference in a new issue