summaryrefslogtreecommitdiff
path: root/slideshow/source/inc/screenupdater.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/inc/screenupdater.hxx')
-rw-r--r--slideshow/source/inc/screenupdater.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/slideshow/source/inc/screenupdater.hxx b/slideshow/source/inc/screenupdater.hxx
index 15ed1e26f3fe..c779efc144fc 100644
--- a/slideshow/source/inc/screenupdater.hxx
+++ b/slideshow/source/inc/screenupdater.hxx
@@ -109,7 +109,13 @@ namespace slideshow
*/
void requestImmediateUpdate();
- class UpdateLock {public: virtual void Activate (void) = 0; };
+ class UpdateLock {
+ public:
+ virtual void Activate (void) = 0;
+
+ protected:
+ ~UpdateLock() {}
+ };
/** Call this method to create a lock instead of calling
lockUpdates() and unlockUpdates() directly.