summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-10 10:06:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-10 11:36:28 +0000
commit7413ada041357dcdd529da67203339e8427ca694 (patch)
tree3bd86c69626a158c63a54f68085bc3021f8ccf4a /sw
parentb022021ad3c53abd88dbc37431a54f1f0ac96cc4 (diff)
coverity#1130351 Unchecked dynamic_cast
Change-Id: Ib0ae5dcd616c4a579f73fbd26675f8b2f60f0666
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/uibase/app/docstyle.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/uibase/app/docstyle.cxx b/sw/source/core/uibase/app/docstyle.cxx
index b52bcd971f01..7681b3287714 100644
--- a/sw/source/core/uibase/app/docstyle.cxx
+++ b/sw/source/core/uibase/app/docstyle.cxx
@@ -464,7 +464,7 @@ void SwDocStyleSheet::SetGrabBagItem(const uno::Any& rVal)
if (bChg)
{
- dynamic_cast<SwDocStyleSheetPool*>(pPool)->InvalidateIterator();
+ dynamic_cast<SwDocStyleSheetPool&>(*pPool).InvalidateIterator();
pPool->Broadcast(SfxStyleSheetHint(SFX_STYLESHEET_MODIFIED, *this));
SwEditShell* pSh = rDoc.GetEditShell();
if (pSh)