summaryrefslogtreecommitdiff
path: root/sc/inc/scopetools.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/scopetools.hxx')
-rw-r--r--sc/inc/scopetools.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/scopetools.hxx b/sc/inc/scopetools.hxx
index f0b7bf60e2e9..c246fa9171b8 100644
--- a/sc/inc/scopetools.hxx
+++ b/sc/inc/scopetools.hxx
@@ -11,6 +11,7 @@
#define INCLUDED_SC_INC_SCOPETOOLS_HXX
#include "scdllapi.h"
+#include <vcl/vclptr.hxx>
class ScDocument;
namespace vcl { class Window; }
@@ -58,7 +59,7 @@ public:
class WaitPointerSwitch
{
- vcl::Window* mpFrameWin;
+ VclPtr<vcl::Window> mpFrameWin;
public:
WaitPointerSwitch(vcl::Window* pWin);
~WaitPointerSwitch();