summaryrefslogtreecommitdiff
path: root/sfx2/source/control/recentdocsview.cxx
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2016-05-04 01:07:23 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2016-05-04 01:14:55 +0300
commita4eba3762a01c1b686cf7de19b9391d56606e08d (patch)
treea5842fb1ec7e38a3a05a638c4e5a3193e560afe3 /sfx2/source/control/recentdocsview.cxx
parentcc679439593d4da7b7abf7b456b3feed6e68268b (diff)
tdf#82160 Reset mouse pointer if doc loading failed
Change-Id: Ib05226345c4b83d9190839de5cc04068ce1879d8
Diffstat (limited to 'sfx2/source/control/recentdocsview.cxx')
-rw-r--r--sfx2/source/control/recentdocsview.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sfx2/source/control/recentdocsview.cxx b/sfx2/source/control/recentdocsview.cxx
index c0ec243c184a..1d6e0c12b67b 100644
--- a/sfx2/source/control/recentdocsview.cxx
+++ b/sfx2/source/control/recentdocsview.cxx
@@ -327,6 +327,9 @@ IMPL_STATIC_LINK_TYPED( RecentDocsView, ExecuteHdl_Impl, void*, p, void )
{
}
+ if ( !pLoadRecentFile->pView->IsDisposed() )
+ pLoadRecentFile->pView->SetPointer( PointerStyle::Arrow );
+
delete pLoadRecentFile;
}