Kaydet (Commit) 85c6b88e authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:stringconstant: handle OUString+=OUString(literal)

Change-Id: I0d1d7f598a0c61d36d72f9d51cccdcd1071c30b6
üst cf029c12
......@@ -112,7 +112,8 @@ void InsertBookmarkAsPage_FindDuplicateLayouts::operator()( SdDrawDocument& rDoc
// about this
if( bRenameDuplicates && aTest != OUString( SdResId( STR_LAYOUT_DEFAULT_NAME ) ) && pTestPage->getHash() != pBMMPage->getHash() )
{
pBookmarkDoc->RenameLayoutTemplate( pBMMPage->GetLayoutName(), OUString(pBMMPage->GetName())+=OUString("_") );
pBookmarkDoc->RenameLayoutTemplate(
pBMMPage->GetLayoutName(), pBMMPage->GetName() + "_");
aLayout = pBMMPage->GetName();
break;
......
......@@ -520,8 +520,7 @@ void CustomAnimationPane::updateControls()
if( !aUIName.isEmpty() )
{
aTemp += OUString( (sal_Unicode)' ' );
aTemp += aUIName;
aTemp += " " + aUIName;
mpFTEffect->SetText( aTemp );
}
......
......@@ -517,9 +517,9 @@ BitmapEx AnnotationTag::CreateAnnotationBitmap( bool bSelected )
{
ScopedVclPtrInstance< VirtualDevice > pVDev;
OUString sAuthor( getInitials( mxAnnotation->getAuthor() ) );
sAuthor += OUString( ' ' );
sAuthor += OUString::number( mnIndex );
OUString sAuthor(
getInitials(mxAnnotation->getAuthor()) + " "
+ OUString::number(mnIndex));
pVDev->SetFont( mrFont );
......
......@@ -844,8 +844,7 @@ OUString SdTPAction::GetEditText( bool bFullDocDestination )
OUString aTmpStr( m_pLbTreeDocument->GetSelectEntry() );
if( !aTmpStr.isEmpty() )
{
aStr += OUString(DOCUMENT_TOKEN);
aStr += aTmpStr;
aStr += OUStringLiteral1<DOCUMENT_TOKEN>() + aTmpStr;
}
}
......
......@@ -127,9 +127,8 @@ void FuPresentationObjects::DoExecute( SfxRequest& )
else
{
ePO = (PresentationObjects) ( PO_OUTLINE_1 + nDepth - 1 );
aStyleName += SD_RESSTR(STR_LAYOUT_OUTLINE);
aStyleName += OUString(' ') ;
aStyleName += OUString::number( nDepth ) ;
aStyleName += SD_RESSTR(STR_LAYOUT_OUTLINE) + " "
+ OUString::number(nDepth);
}
SfxStyleSheetBasePool* pStyleSheetPool = mpDocSh->GetStyleSheetPool();
......
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