summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/csvruler.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/csvruler.hxx')
-rw-r--r--sc/source/ui/inc/csvruler.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/inc/csvruler.hxx b/sc/source/ui/inc/csvruler.hxx
index ef73cae674c4..991111525b02 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:
- VirtualDevice maBackgrDev; /// Ruler background, scaling.
- VirtualDevice maRulerDev; /// Ruler with splits and cursor.
+ ScopedVclPtr<VirtualDevice> maBackgrDev; /// Ruler background, scaling.
+ ScopedVclPtr<VirtualDevice> maRulerDev; /// Ruler with splits and cursor.
Color maBackColor; /// Background color.
Color maActiveColor; /// Color for active part of ruler.
@@ -55,6 +55,7 @@ private:
public:
explicit ScCsvRuler( ScCsvControl& rParent );
virtual ~ScCsvRuler();
+ virtual void dispose() SAL_OVERRIDE;
// common ruler handling --------------------------------------------------
public: