diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-03-24 16:45:19 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-03-24 18:00:44 +0100 |
commit | 14189f6db434724954cd1b85659d460c7b39be83 (patch) | |
tree | 98032387455d5016c4640678e0da23c26908e288 /sw | |
parent | 8cae63caf04e4ba555af13c022dab9dfe9c79dcf (diff) |
sw: fix incorrect static_cast in ~SwAccessibleMap
Change-Id: I43aef41cee96f69b0bbd540b832780c4002219e3
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/access/accmap.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx index 1c51ac6fbc05..6986a7260fc0 100644 --- a/sw/source/core/access/accmap.cxx +++ b/sw/source/core/access/accmap.cxx @@ -1668,7 +1668,8 @@ SwAccessibleMap::~SwAccessibleMap() if(xAcc.is()) { - SwAccessibleDocument *pAcc = static_cast< SwAccessibleDocument * >( xAcc.get() ); + SwAccessibleDocumentBase *const pAcc = + static_cast<SwAccessibleDocumentBase *>(xAcc.get()); pAcc->Dispose( true ); } #if OSL_DEBUG_LEVEL > 0 |