From 09bff9c44d900b791d7427d91031565f866560da Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 13 Jun 2011 14:27:52 +0100 Subject: add a cast for reported build breakage --- editeng/source/editeng/impedit4.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'editeng') diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx index d6906b1fc7b2..56ca2b80ad2c 100644 --- a/editeng/source/editeng/impedit4.cxx +++ b/editeng/source/editeng/impedit4.cxx @@ -462,11 +462,11 @@ sal_uInt32 ImpEditEngine::WriteRTF( SvStream& rOutput, EditSelection aSel ) if ( !j || ( pColorItem->GetValue() != COL_AUTO ) ) { rOutput << OOO_STRING_SVTOOLS_RTF_RED; - rOutput.WriteNumber( pColorItem->GetValue().GetRed() ); + rOutput.WriteNumber( static_cast(pColorItem->GetValue().GetRed()) ); rOutput << OOO_STRING_SVTOOLS_RTF_GREEN; - rOutput.WriteNumber( pColorItem->GetValue().GetGreen() ); + rOutput.WriteNumber( static_cast(pColorItem->GetValue().GetGreen()) ); rOutput << OOO_STRING_SVTOOLS_RTF_BLUE; - rOutput.WriteNumber( pColorItem->GetValue().GetBlue() ); + rOutput.WriteNumber( static_cast(pColorItem->GetValue().GetBlue()) ); } rOutput << ';'; } -- cgit