Bugzilla – Attachment 53904 Details for
Bug 39950
Libreoffice Base crashes when trying to drag and drop or copy/paste controls in report builder.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
demo
copy.shape.type.patch (text/plain), 1.47 KB, created by
Caolán McNamara
on 2011-11-28 07:24:16 UTC
(
hide
)
Description:
demo
Filename:
MIME Type:
Creator:
Caolán McNamara
Created:
2011-11-28 07:24:16 UTC
Size:
1.47 KB
patch
obsolete
>diff --git a/reportdesign/source/core/sdr/RptObject.cxx b/reportdesign/source/core/sdr/RptObject.cxx >index f1c6e4d..4c07a41 100644 >--- a/reportdesign/source/core/sdr/RptObject.cxx >+++ b/reportdesign/source/core/sdr/RptObject.cxx >@@ -950,7 +952,12 @@ OUnoObject& OUnoObject::operator=(const OUnoObject& rObj) > Reference<XPropertySet> xSource(const_cast<OUnoObject&>(rObj).getUnoShape(), uno::UNO_QUERY); > Reference<XPropertySet> xDest(getUnoShape(), uno::UNO_QUERY); > if ( xSource.is() && xDest.is() ) >+ { >+ SvxShape* pSourceShape = SvxShape::getImplementation( xSource ); >+ SvxShape* pDestShape = SvxShape::getImplementation( xDest ); >+ pDestShape->SetShapeType(pSourceShape->getShapeType()); > comphelper::copyProperties(xSource.get(), xDest.get()); >+ } > > return *this; > } >@@ -1173,7 +1180,12 @@ OOle2Obj& OOle2Obj::operator=(const OOle2Obj& rObj) > uno::Reference< chart2::data::XDatabaseDataProvider > xSource( lcl_getDataProvider(rObj.GetObjRef()) ); > uno::Reference< chart2::data::XDatabaseDataProvider > xDest( lcl_getDataProvider(GetObjRef()) ); > if ( xSource.is() && xDest.is() ) >+ { >+ SvxShape* pSourceShape = SvxShape::getImplementation( xSource ); >+ SvxShape* pDestShape = SvxShape::getImplementation( xDest ); >+ pDestShape->SetShapeType(pSourceShape->getShapeType()); > comphelper::copyProperties(xSource.get(),xDest.get()); >+ } > > initializeChart(pRptModel->getReportDefinition().get()); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 39950
:
50055
|
50056
|
50484
|
53841
|
53851
| 53904 |
54182