Kaydet (Commit) 8948b137 authored tarafından Michael Meeks's avatar Michael Meeks

lame_OUString_valueOf_sal_Int32_casts += 6;

üst 004c7233
......@@ -194,7 +194,7 @@ uno::Reference< text::XAutoTextGroup > SwXAutoTextContainer::insertNewByName(
if(STRING_NOTFOUND == sGroup.Search(GLOS_DELIM))
{
sGroup += GLOS_DELIM;
sGroup += OUString::valueOf(0);
sGroup += OUString::valueOf(sal_Int32(0));
}
pGlossaries->NewGroupDoc(sGroup, sGroup.GetToken(0, GLOS_DELIM));
......@@ -494,7 +494,7 @@ void SwXAutoTextGroup::setName(const OUString& rName) throw( uno::RuntimeExcepti
if(STRING_NOTFOUND == sNewGroup.Search(GLOS_DELIM))
{
sNewGroup += GLOS_DELIM;
sNewGroup += OUString::valueOf(0);
sNewGroup += OUString::valueOf(sal_Int32(0));
}
//the name must be saved, the group may be invalidated while in RenameGroupDoc()
......
......@@ -1095,7 +1095,7 @@ SfxItemPresentation SwRotationGrf::GetPresentation(
rText = SW_RESSTR( STR_ROTATION );
else if( rText.Len() )
rText.Erase();
( rText += OUString::valueOf( GetValue() )) += '\xB0';
( rText += OUString::valueOf( static_cast<sal_Int32>( GetValue() ) )) += '\xB0';
break;
default:
......@@ -1118,7 +1118,7 @@ SfxItemPresentation SwLuminanceGrf::GetPresentation(
rText = SW_RESSTR( STR_LUMINANCE );
else if( rText.Len() )
rText.Erase();
( rText += OUString::valueOf( GetValue() )) += '%';
( rText += OUString::valueOf( static_cast<sal_Int32>( GetValue() ) )) += '%';
break;
default:
......@@ -1141,7 +1141,7 @@ SfxItemPresentation SwContrastGrf::GetPresentation(
rText = SW_RESSTR( STR_CONTRAST );
else if( rText.Len() )
rText.Erase();
( rText += OUString::valueOf( GetValue() )) += '%';
( rText += OUString::valueOf( static_cast<sal_Int32>( GetValue() ) )) += '%';
break;
default:
......@@ -1177,7 +1177,7 @@ SfxItemPresentation SwChannelGrf::GetPresentation(
}
else if( rText.Len() )
rText.Erase();
( rText += OUString::valueOf( GetValue() )) += '%';
( rText += OUString::valueOf( static_cast<sal_Int32>( GetValue() ) )) += '%';
break;
default:
......@@ -1245,7 +1245,7 @@ SfxItemPresentation SwTransparencyGrf::GetPresentation(
rText = SW_RESSTR( STR_TRANSPARENCY );
else if( rText.Len() )
rText.Erase();
( rText += OUString::valueOf( GetValue() )) += '%';
( rText += OUString::valueOf( static_cast<sal_Int32>( GetValue() ) )) += '%';
break;
default:
......
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