[Libreoffice-commits] core.git: svx/source sw/qa
Caolán McNamara
caolanm at redhat.com
Tue Aug 29 20:01:08 UTC 2017
svx/source/unodraw/unoshape.cxx | 3 ++-
sw/qa/core/data/odt/pass/tdf112017.odt |binary
2 files changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 79cfd48dae2b986b691bb00a8400c7e9cc2cdda7
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Aug 29 11:43:42 2017 +0100
Resolves: tdf#112017 crash on particular odt
Change-Id: I6ba2e73562a16afecb6abdfe4f1a40b1e316379e
Reviewed-on: https://gerrit.libreoffice.org/41685
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index 161bf34b1d8a..3c5b88860df4 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -3034,7 +3034,8 @@ void SvxShape::setAllPropertiesToDefault()
mpObj->SetMergedItem(Svx3DCharacterModeItem(true));
}
- mpModel->SetChanged();
+ if (mpModel)
+ mpModel->SetChanged();
}
void SvxShape::setPropertiesToDefault(
diff --git a/sw/qa/core/data/odt/pass/tdf112017.odt b/sw/qa/core/data/odt/pass/tdf112017.odt
new file mode 100644
index 000000000000..02a24d9db146
Binary files /dev/null and b/sw/qa/core/data/odt/pass/tdf112017.odt differ
More information about the Libreoffice-commits
mailing list