Kaydet (Commit) e070b852 authored tarafından Luboš Luňák's avatar Luboš Luňák

lame_OUString_valueOf_sal_Int32_casts += 6;

üst ad4c7b51
......@@ -123,7 +123,7 @@ void CompressGraphicsDialog::Update()
aViewSizeString += String( " x " ) ;
aViewSizeString += GetUnitString( m_aViewSize100mm.Height(), eFieldUnit, cSeparator );
aViewSizeString += ( " at " ) ;
aViewSizeString += OUString::valueOf(aValX);
aViewSizeString += OUString::valueOf( static_cast< sal_Int32 >(aValX));
aViewSizeString += ( " DPI" ) ;
m_pFixedText3->SetText(aViewSizeString);
......@@ -144,13 +144,13 @@ void CompressGraphicsDialog::Update()
void CompressGraphicsDialog::UpdateNewWidthMF()
{
int nPixelX = (sal_Int32)( GetViewWidthInch() * m_dResolution );
m_pMFNewWidth->SetText( OUString::valueOf( nPixelX ) );
m_pMFNewWidth->SetText( OUString::valueOf( static_cast< sal_Int32 >( nPixelX ) ));
}
void CompressGraphicsDialog::UpdateNewHeightMF()
{
int nPixelY = (sal_Int32)( GetViewHeightInch() * m_dResolution );
m_pMFNewHeight->SetText( OUString::valueOf( nPixelY ) );
m_pMFNewHeight->SetText( OUString::valueOf( static_cast< sal_Int32 >( nPixelY ) ));
}
void CompressGraphicsDialog::UpdateResolutionLB()
......
......@@ -817,7 +817,7 @@ SfxItemPresentation SdrPercentItem::GetPresentation(
SfxItemPresentation ePres, SfxMapUnit /*eCoreMetric*/,
SfxMapUnit /*ePresMetric*/, XubString& rText, const IntlWrapper *) const
{
rText = OUString::valueOf(GetValue());
rText = OUString::valueOf( static_cast< sal_Int32 >(GetValue()));
rText += sal_Unicode('%');
if(ePres == SFX_ITEM_PRESENTATION_COMPLETE)
......@@ -1301,7 +1301,7 @@ SfxItemPresentation SdrTextAniDelayItem::GetPresentation(
SfxItemPresentation ePres, SfxMapUnit /*eCoreMetric*/, SfxMapUnit /*ePresMetric*/,
XubString& rText, const IntlWrapper *) const
{
rText = OUString::valueOf(GetValue());
rText = OUString::valueOf( static_cast< sal_Int32 >( GetValue()));
rText += sal_Unicode('m');
rText += sal_Unicode('s');
......@@ -2058,7 +2058,7 @@ SfxItemPresentation SdrSignedPercentItem::GetPresentation(
SfxItemPresentation ePres, SfxMapUnit /*eCoreMetric*/, SfxMapUnit /*ePresMetric*/,
XubString& rText, const IntlWrapper *) const
{
rText = OUString::valueOf(GetValue());
rText = OUString::valueOf( static_cast< sal_Int32 >( GetValue()));
rText += sal_Unicode('%');
if(ePres == SFX_ITEM_PRESENTATION_COMPLETE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment