summaryrefslogtreecommitdiff
path: root/sc/inc/rowheightcontext.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-20 13:49:00 +0200
committerMichael Meeks <michael.meeks@collabora.com>2015-04-10 12:38:09 +0100
commit11e83bc770af8a274ff08c7162677e7d6987bcd4 (patch)
tree34fc412a59f00e6a3be47c312b2bb70921b310c6 /sc/inc/rowheightcontext.hxx
parent61b224f392eb856bf4cfa0c04c68202a463cbdbf (diff)
wrap some more OutputDevice in VclPtr
Change-Id: I6f4a74bf56543e4d31d3b84a0cd2830d4f4d669a
Diffstat (limited to 'sc/inc/rowheightcontext.hxx')
-rw-r--r--sc/inc/rowheightcontext.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/rowheightcontext.hxx b/sc/inc/rowheightcontext.hxx
index a077bd0d3361..f801ee466f29 100644
--- a/sc/inc/rowheightcontext.hxx
+++ b/sc/inc/rowheightcontext.hxx
@@ -13,11 +13,11 @@
#include "scdllapi.h"
#include <tools/fract.hxx>
+#include <vcl/vclptr.hxx>
+#include <vcl/outdev.hxx>
#include <vector>
-class OutputDevice;
-
namespace sc {
class SC_DLLPUBLIC RowHeightContext
@@ -28,7 +28,7 @@ class SC_DLLPUBLIC RowHeightContext
double mfPPTY;
Fraction maZoomX;
Fraction maZoomY;
- OutputDevice* mpOutDev;
+ VclPtr<OutputDevice> mpOutDev;
sal_uInt16 mnExtraHeight;
bool mbForceAutoSize; /// whether to set height to optimal even when the manual height flag is set.