be32cb9210
In this case it should be guaranteed that pField is a pointer to SwGetRefField by: else if (pField->GetTypeId() == SwFieldTypesEnum::GetRef) To follow best practice to allow some diagnostic in debug mode, assert(dynamic_cast) before using static_cast to downcast. Change-Id: Ib2c6fb4259b66d5059f1886e23d05fc1c2aa3682 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137578 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> |
||
---|---|---|
.. | ||
app | ||
chrdlg | ||
config | ||
dbui | ||
dialog | ||
dochdl | ||
docvw | ||
envelp | ||
fldui | ||
frmdlg | ||
globdoc | ||
inc | ||
index | ||
lingu | ||
misc | ||
ribbar | ||
shells | ||
sidebar | ||
table | ||
uitest | ||
uiview | ||
uno | ||
utlui | ||
web | ||
wrtsh |