[Libreoffice-commits] core.git: offapi/com

Tor Lillqvist tml at collabora.com
Wed Dec 17 01:41:37 PST 2014


 offapi/com/sun/star/awt/XToolkitExperimental.idl |   14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

New commits:
commit d4a953e57475234f1a07c40bb07899a1677fcabe
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Dec 17 11:36:33 2014 +0200

    Tell people not to use createScreenCompatibleDeviceUsingBuffer()
    
    I would have liked to kill this whole interface but it turns out that despite
    it being not published it is already being used for essential functionality by
    3rd parties. Oh well, that is of course exactly what to expect with something
    explicitly marked as "experimental".
    
    Change-Id: I38716a23580313d955ae6bf09dfbcac519a7fb4e

diff --git a/offapi/com/sun/star/awt/XToolkitExperimental.idl b/offapi/com/sun/star/awt/XToolkitExperimental.idl
index 349c205..7114446 100644
--- a/offapi/com/sun/star/awt/XToolkitExperimental.idl
+++ b/offapi/com/sun/star/awt/XToolkitExperimental.idl
@@ -19,19 +19,7 @@ module com {  module sun {  module star {  module awt {
 
 interface XToolkitExperimental : XToolkit2
 {
-  /** Create a bitmap device using a byte buffer allocated outside of UNO territory.
-   *
-   *  @returns the device
-   *
-   *  @param AddressOfMemoryBufferForSharedArrayWrapper is the address of a
-   *  (C++) object the exact type of which is to be determined, but the point
-   *  is that it will then be rewrapped into a boost::shared_array of bytes to
-   *  be passed to the basebmp code. shared_array has its own style of
-   *  reference counting, naturally not related to UNO's or Java's, so lots of
-   *  fun stuff to take care of. I won't bother complicating stuff with
-   *  XUnoTunnel here (if it would even be possible to use it), this isn't in
-   *  any way intended to be "generic" anyway, but is experimental work in
-   *  progress, indented just for Android so far, and probably for iOS, too.
+  /** Don't use this.
    */
 
   com::sun::star::awt::XDevice createScreenCompatibleDeviceUsingBuffer( [in] long Width,


More information about the Libreoffice-commits mailing list