diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-05-06 12:10:31 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-05-06 12:13:01 +0100 |
commit | 0a6012912f76a6fca7c6aac081b4b2940b8d055c (patch) | |
tree | 64b626c483b6a66f2069fcd593221886b71bab60 | |
parent | 98b5f1164b11ee7b84bf7efc16256afc5c58fcb8 (diff) |
tdf#91015 - CSV dialog crasher.
Failed to initialize the VclPtr<VirtualDevice> with an instance.
Change-Id: I6df2cbc1176ad74e3d8b5249b579ba424810c701
-rw-r--r-- | sc/source/ui/inc/csvruler.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/inc/csvruler.hxx b/sc/source/ui/inc/csvruler.hxx index 8a93f9f614e2..6fc719db43f4 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. |