[Libreoffice-commits] core.git: Branch 'feature/vclref' - starmath/source

Michael Meeks michael.meeks at collabora.com
Mon Mar 16 14:45:56 PDT 2015


 starmath/source/unomodel.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 599f41b822d1cde14e65f3687ae7f44098a652a7
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Mon Mar 16 21:50:14 2015 +0000

    fix thinko in starmath; time to sleep.
    
    Change-Id: I6846e56062fdde394e4039de7cde42b0560f34b3

diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx
index d47292b..444aa6d 100644
--- a/starmath/source/unomodel.cxx
+++ b/starmath/source/unomodel.cxx
@@ -1037,8 +1037,8 @@ void SAL_CALL SmModel::render(
     if (xRenderDevice.is())
     {
         VCLXDevice*   pDevice = VCLXDevice::GetImplementation( xRenderDevice );
-        VclRef< OutputDevice> pOut = pDevice ? pDevice->GetOutputDevice()
-                                             : VclRef< OutputDevice >();
+        VclPtr< OutputDevice> pOut = pDevice ? pDevice->GetOutputDevice()
+                                             : VclPtr< OutputDevice >();
         if (!pOut)
             throw RuntimeException();
 


More information about the Libreoffice-commits mailing list