• David Tardon's avatar
    fdo#64279 do not crash opening report for editing · 02d03eb4
    David Tardon yazdı
    There are two problems:
    
    1) The classes derived from SdrObject cache their SvxShape, but do not
       implement impl_setUnoShape().
    
    2) There is a lifetime issue in association of a SdrObject and its
       SvxShape. SvxDrawPage::CreateSdrObject not only creates a new SdrObject
       for a shape, but also inserts it into the page. At this point, the shape
       has not been attached to the object yet. That means that the object
       creates another shape at one point during the InsertObject call,
       which is then destroyed again. But reportdesign shapes own their
       objects, which means that destuction of the shape causes destruction
       of the object too...
    
       My first idea was to disable the insertion in
       SvxDrawPage::CreateSdrObject, but it has been there since the dawn of
       time, so I did not gather the courage to do that. Instead, I put in a
       hack to allow to skip the insertion.
    
    Change-Id: I888a54067be1934578434d8b476a13a7ff8d02b3
    02d03eb4
Adı
Son kayıt (commit)
Son güncelleme
..
animations Loading commit data...
apple_remote Loading commit data...
avmedia Loading commit data...
basebmp Loading commit data...
basegfx Loading commit data...
basic Loading commit data...
canvas Loading commit data...
codemaker Loading commit data...
com/sun/star/uno Loading commit data...
comphelper Loading commit data...
connectivity Loading commit data...
cosv Loading commit data...
cppcanvas Loading commit data...
cppu Loading commit data...
cppuhelper Loading commit data...
cppunittester Loading commit data...
dbaccess Loading commit data...
drawinglayer Loading commit data...
editeng Loading commit data...
filter Loading commit data...
formula Loading commit data...
framework Loading commit data...
helpcompiler Loading commit data...
i18nlangtag Loading commit data...
i18nutil Loading commit data...
jvmaccess Loading commit data...
jvmfwk Loading commit data...
linguistic Loading commit data...
o3tl Loading commit data...
oox Loading commit data...
osl Loading commit data...
package Loading commit data...
registry Loading commit data...
rsc Loading commit data...
rtl Loading commit data...
sal Loading commit data...
salhelper Loading commit data...
sax Loading commit data...
sfx2 Loading commit data...
shell Loading commit data...
sot Loading commit data...
store Loading commit data...
svl Loading commit data...
svtools Loading commit data...
svx Loading commit data...
systools/win32 Loading commit data...
test Loading commit data...
toolkit Loading commit data...
tools Loading commit data...
touch Loading commit data...
tubes Loading commit data...
typelib Loading commit data...
ucbhelper Loading commit data...
udm Loading commit data...
uno Loading commit data...
unoidl Loading commit data...
unotest Loading commit data...
unotools Loading commit data...
vbahelper Loading commit data...
vcl Loading commit data...
wntgcci Loading commit data...
xmloff Loading commit data...
xmlreader Loading commit data...
xmlscript Loading commit data...
default.rc Loading commit data...
postmac.h Loading commit data...
postwin.h Loading commit data...
postx.h Loading commit data...
premac.h Loading commit data...
prewin.h Loading commit data...
prex.h Loading commit data...
version.hrc Loading commit data...