diff options
-rw-r--r-- | svx/source/svdraw/svdotxat.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdotxat.cxx b/svx/source/svdraw/svdotxat.cxx index da810390717a..ad4c9f6965c1 100644 --- a/svx/source/svdraw/svdotxat.cxx +++ b/svx/source/svdraw/svdotxat.cxx @@ -364,10 +364,10 @@ void SdrTextObj::ImpSetTextStyleSheetListeners() } } // now remove all superfluous stylesheets - sal_uIntPtr nNum=GetBroadcasterCount(); + sal_uInt16 nNum=GetBroadcasterCount(); while (nNum>0) { nNum--; - SfxBroadcaster* pBroadcast=GetBroadcasterJOE(static_cast<sal_uInt16>(nNum)); + SfxBroadcaster* pBroadcast=GetBroadcasterJOE(nNum); SfxStyleSheet* pStyle=dynamic_cast<SfxStyleSheet*>( pBroadcast ); if (pStyle!=nullptr && pStyle!=GetStyleSheet()) { // special case for stylesheet of the object if (aStyleSheets.find(pStyle)==aStyleSheets.end()) { |