http://openoffice.org/bugzilla/show_bug.cgi?id=100953





--- Comment #13 from [email protected]  2011-06-14 04:25:07 ---
Technical notes

If you are implementing this patch for the upcoming version of OpenOffice.org 
or its siblings, you might find that use of "ByteString aBytePic" in the 
same fashion as "String aPic" was better than current code in the patch.

basic/inc/basic/sbxvar.hxx
class SbxValue : public SbxBase
{
    SbxValues aData;         // Daten
    String    aPic;            // Picture-String
//    ByteString aBytePic;        // Picture-ByteString

There were restriction during development of the patch. The patch aimed 
at providing a single shared library file to our clients, not several 
shared library files. Under the circumstances where "class SbxValue" is 
used by other modules outside of "basic," adding a member variable to 
the class results in increasing the size of its instance. Consequently, 
OpenOffice.org will crash unless its relevant shared libraries are also 
replaced at the same time.

To avoid such a crash problem, I knew that addition of "ByteString 
aBytePic" to the class SbxValue was an appropriate way, I did a tricky 
implementation without use of it. No need to exactly follow the patch.

-- 
Configure bugmail: http://openoffice.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification
from Bugzilla. Please log into the website and enter your comments.
---------------------------------------------------------------------
-- 
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help
-- 
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help

Reply via email to