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

Michael Meeks michael.meeks at collabora.com
Wed May 6 04:06:17 PDT 2015


 sc/source/ui/inc/csvruler.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0a6012912f76a6fca7c6aac081b4b2940b8d055c
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Wed May 6 12:10:31 2015 +0100

    tdf#91015 - CSV dialog crasher.
    
    Failed to initialize the VclPtr<VirtualDevice> with an instance.
    
    Change-Id: I6df2cbc1176ad74e3d8b5249b579ba424810c701

diff --git a/sc/source/ui/inc/csvruler.hxx b/sc/source/ui/inc/csvruler.hxx
index 8a93f9f..6fc719d 100644
--- a/sc/source/ui/inc/csvruler.hxx
+++ b/sc/source/ui/inc/csvruler.hxx
@@ -32,8 +32,8 @@ class ScAccessibleCsvControl;
 class SC_DLLPUBLIC ScCsvRuler : public ScCsvControl
 {
 private:
-    ScopedVclPtr<VirtualDevice>  maBackgrDev;        /// Ruler background, scaling.
-    ScopedVclPtr<VirtualDevice>  maRulerDev;         /// Ruler with splits and cursor.
+    ScopedVclPtrInstance<VirtualDevice> maBackgrDev;/// Ruler background, scaling.
+    ScopedVclPtrInstance<VirtualDevice> maRulerDev; /// Ruler with splits and cursor.
 
     Color                       maBackColor;        /// Background color.
     Color                       maActiveColor;      /// Color for active part of ruler.


More information about the Libreoffice-commits mailing list