[Libreoffice-commits] core.git: sw/source
Caolán McNamara
caolanm at redhat.com
Sun Mar 2 13:20:10 PST 2014
sw/source/filter/ww8/ww8atr.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit aee12451d1d99881833b9f6a1a6af5598802801a
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Mar 2 21:02:54 2014 +0000
coverity#704999 Unchecked dynamic_cast
Change-Id: I09b2e3f0b1989249fc49ebc3256dd6fcf5762e75
Reviewed-on: https://gerrit.libreoffice.org/8424
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx
index 5fdd2d0..5263dcf 100644
--- a/sw/source/filter/ww8/ww8atr.cxx
+++ b/sw/source/filter/ww8/ww8atr.cxx
@@ -2869,7 +2869,7 @@ void AttributeOutputBase::TextField( const SwFmtFld& rField )
{
const SwInputField * pInputField = dynamic_cast<const SwInputField *>(pFld);
- if (pInputField->isFormField())
+ if (pInputField && pInputField->isFormField())
GetExport().DoFormText(pInputField);
else
{
More information about the Libreoffice-commits
mailing list