[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - reportdesign/source
David Tardon
dtardon at redhat.com
Tue Jul 9 06:38:16 PDT 2013
reportdesign/source/core/sdr/RptObject.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ddd9d8f5f853c88d7753fda890de5b3f52589f4d
Author: David Tardon <dtardon at redhat.com>
Date: Tue Jul 9 10:40:21 2013 +0200
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 at redhat.com>
Reviewed-on: https://gerrit.libreoffice.org/4781
Reviewed-by: Fridrich Strba <fridrich at documentfoundation.org>
Tested-by: Fridrich Strba <fridrich at documentfoundation.org>
diff --git a/reportdesign/source/core/sdr/RptObject.cxx b/reportdesign/source/core/sdr/RptObject.cxx
index d6b20c7..278664c 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&)
{
More information about the Libreoffice-commits
mailing list