summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-12 15:16:05 +0200
committerMichael Meeks <michael.meeks@collabora.com>2015-04-09 20:33:46 +0100
commitce8cfbd3b90f11c3f2edc88a0dab625aabb6293d (patch)
tree7128c82bf9c71332342de974fd1f0ab32ee0bc72 /desktop
parent1f59e2cec3f4a22d612ca6cff06930c3d4bb77ca (diff)
svtools: apply vcl::window refcounting changes
Change-Id: I308f045eaf5c50de26175a2f00f8b0791cdd8ab9 Conflicts: svtools/source/control/tabbar.cxx
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/splash/splash.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/desktop/source/splash/splash.cxx b/desktop/source/splash/splash.cxx
index f2303725b71c..a9460132562a 100644
--- a/desktop/source/splash/splash.cxx
+++ b/desktop/source/splash/splash.cxx
@@ -55,6 +55,7 @@ private:
DECL_LINK( AppEventListenerHdl, VclWindowEvent * );
virtual ~SplashScreen();
+ virtual void dispose() SAL_OVERRIDE;
void loadConfig();
void updateStatus();
void SetScreenBitmap(BitmapEx &rBitmap);
@@ -154,10 +155,15 @@ SplashScreen::SplashScreen()
SplashScreen::~SplashScreen()
{
+ dispose();
+}
+
+void SplashScreen::dispose()
+{
Application::RemoveEventListener(
LINK( this, SplashScreen, AppEventListenerHdl ) );
Hide();
-
+ IntroWindow::dispose();
}
void SAL_CALL SplashScreen::start(const OUString&, sal_Int32 nRange)