summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drtxtob.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/drtxtob.cxx')
-rw-r--r--sd/source/ui/view/drtxtob.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/drtxtob.cxx b/sd/source/ui/view/drtxtob.cxx
index b2e821d7a58e..1eca050e50e3 100644
--- a/sd/source/ui/view/drtxtob.cxx
+++ b/sd/source/ui/view/drtxtob.cxx
@@ -464,7 +464,7 @@ void TextObjectBar::GetAttrState( SfxItemSet& rSet )
{
const SfxItemSet& rItems = pOLV->GetOutliner()->GetParaAttribs( nPara );
const SvxULSpaceItem& rItem = rItems.Get( EE_PARA_ULSPACE );
- nUpper = std::max( nUpper, (long)rItem.GetUpper() );
+ nUpper = std::max( nUpper, static_cast<long>(rItem.GetUpper()) );
}
if( nUpper == 0 )
rSet.DisableItem( SID_PARASPACE_DECREASE );