diff options
author | David Tardon <dtardon@redhat.com> | 2013-07-09 10:40:21 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-07-10 08:57:30 +0000 |
commit | 4015660122e766bf20b6383dce022c6636bc1cca (patch) | |
tree | bc278125206b77eda08a21fd56cffc11c9c15f7f | |
parent | dc5faf7021001777a7127cb88b0d7f32434bf868 (diff) |
fdo#66582 avoid crash because of missing model
The SdrObject is still under construction at this point, so it does not
make sense to broadcast changes, because there are not any listeners
anyway.
Change-Id: Ib05e30843b4b0e125d5cae18a481e16fb7e21ba1
(cherry picked from commit 6e2815a0ffdb5811f220978734354b1033801927)
Signed-off-by: David Tardon <dtardon@redhat.com>
Reviewed-on: https://gerrit.libreoffice.org/4781
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-on: https://gerrit.libreoffice.org/4786
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
-rw-r--r-- | reportdesign/source/core/sdr/RptObject.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/core/sdr/RptObject.cxx b/reportdesign/source/core/sdr/RptObject.cxx index ad81cdc06ff8..ad3b0c2fff32 100644 --- a/reportdesign/source/core/sdr/RptObject.cxx +++ b/reportdesign/source/core/sdr/RptObject.cxx @@ -150,7 +150,7 @@ SdrObject* OObjectBase::createObject(const uno::Reference< report::XReportCompon { sal_Bool bOpaque = sal_False; _xComponent->getPropertyValue(PROPERTY_OPAQUE) >>= bOpaque; - pNewObj->SetLayer(bOpaque ? RPT_LAYER_FRONT : RPT_LAYER_BACK); + pNewObj->NbcSetLayer(bOpaque ? RPT_LAYER_FRONT : RPT_LAYER_BACK); } catch(const uno::Exception&) { |