sw/qa/extras/uiwriter/uiwriter.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit fe1104e515b4798b477debab6b6da8b6785c7fa6 Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Apr 21 20:45:09 2015 +0200 loplugin:cstylecast Change-Id: I9dfde74fa7e5e3a651ea014e6cc335bac780cb4b diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx index ffd281b..f0a1449 100644 --- a/sw/qa/extras/uiwriter/uiwriter.cxx +++ b/sw/qa/extras/uiwriter/uiwriter.cxx @@ -935,7 +935,7 @@ void SwUiWriterTest::testUndoCharAttribute() SfxItemSet aSet( pDoc->GetAttrPool(), RES_CHRATR_WEIGHT, RES_CHRATR_WEIGHT); // Adds selected text's attributes to aSet pCrsr->GetNode().GetTxtNode()->GetAttr(aSet, 10, 19); - SfxPoolItem* aPoolItem = (SfxPoolItem*) aSet.GetItem(RES_CHRATR_WEIGHT); + SfxPoolItem const * aPoolItem = aSet.GetItem(RES_CHRATR_WEIGHT); SfxPoolItem& ampPoolItem = aWeightItem; // Check that bold is active on the selection; checks if it's in aSet CPPUNIT_ASSERT_EQUAL((*aPoolItem == ampPoolItem), true); @@ -944,7 +944,7 @@ void SwUiWriterTest::testUndoCharAttribute() // Check that bold is no longer active aSet.ClearItem(RES_CHRATR_WEIGHT); pCrsr->GetNode().GetTxtNode()->GetAttr(aSet, 10, 19); - aPoolItem = (SfxPoolItem*) aSet.GetItem(RES_CHRATR_WEIGHT); + aPoolItem = aSet.GetItem(RES_CHRATR_WEIGHT); CPPUNIT_ASSERT_EQUAL((*aPoolItem == ampPoolItem), false); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits