[Libreoffice-commits] core.git: vcl/source

Stephan Bergmann sbergman at redhat.com
Fri Jan 9 05:08:15 PST 2015


 vcl/source/gdi/gdimtf.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8912e6dab98eabbdeea870a387d30ef1de938acb
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Jan 9 14:07:01 2015 +0100

    Apparently wants to use pData, not &pData, as source
    
    Change-Id: I22a3aba3266ae8209242cf6e02ca8c66b1be863b

diff --git a/vcl/source/gdi/gdimtf.cxx b/vcl/source/gdi/gdimtf.cxx
index ac83c6d..8cf4747 100644
--- a/vcl/source/gdi/gdimtf.cxx
+++ b/vcl/source/gdi/gdimtf.cxx
@@ -507,7 +507,7 @@ void GDIMetaFile::ImplDelegate2PluggableRenderer( const MetaCommentAction* pAct,
                 // delay intialization of XGraphic, to only expose
                 // XGraphic-generating services to arbitrary binary data
                 uno::Sequence< sal_Int8 > aSeq(
-                    (sal_Int8*)&pData, pEndData-pData );
+                    (sal_Int8*)pData, pEndData-pData );
                 uno::Sequence<uno::Any> aGraphicsArgs(1);
                 aGraphicsArgs[0] = makeAny(aSeq);
                 xInit->initialize(aGraphicsArgs);


More information about the Libreoffice-commits mailing list