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

loplugin:stringcopy: editeng

Change-Id: I3d5b7673b2403bf670d85fa3c65f67aefcea48ff
üst 97d5293c
...@@ -758,7 +758,7 @@ namespace accessibility ...@@ -758,7 +758,7 @@ namespace accessibility
} }
} }
return OUString( sStr ) + aLine; return sStr + aLine;
} }
OUString SAL_CALL AccessibleEditableTextPara::getAccessibleName() OUString SAL_CALL AccessibleEditableTextPara::getAccessibleName()
......
...@@ -1204,7 +1204,7 @@ bool SvxPageModelItem::QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId ) co ...@@ -1204,7 +1204,7 @@ bool SvxPageModelItem::QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId ) co
switch ( nMemberId ) switch ( nMemberId )
{ {
case MID_AUTO: rVal <<= bAuto; break; case MID_AUTO: rVal <<= bAuto; break;
case MID_NAME: rVal <<= OUString( GetValue() ); break; case MID_NAME: rVal <<= GetValue(); break;
default: OSL_FAIL("Wrong MemberId!"); return false; default: OSL_FAIL("Wrong MemberId!"); return false;
} }
......
...@@ -58,10 +58,10 @@ sal_uInt32 SvXMLAutoCorrectExport::exportDoc(enum XMLTokenEnum /*eClass*/) ...@@ -58,10 +58,10 @@ sal_uInt32 SvXMLAutoCorrectExport::exportDoc(enum XMLTokenEnum /*eClass*/)
AddAttribute( XML_NAMESPACE_BLOCKLIST, AddAttribute( XML_NAMESPACE_BLOCKLIST,
XML_ABBREVIATED_NAME, XML_ABBREVIATED_NAME,
OUString(p->GetShort())); p->GetShort());
AddAttribute( XML_NAMESPACE_BLOCKLIST, AddAttribute( XML_NAMESPACE_BLOCKLIST,
XML_NAME, XML_NAME,
OUString(p->IsTextOnly() ? p->GetLong() : p->GetShort())); p->IsTextOnly() ? p->GetLong() : p->GetShort());
SvXMLElementExport aBlock( *this, XML_NAMESPACE_BLOCKLIST, XML_BLOCK, true, true); SvXMLElementExport aBlock( *this, XML_NAMESPACE_BLOCKLIST, XML_BLOCK, true, true);
} }
......
...@@ -529,7 +529,7 @@ void SvxSwAutoCorrCfg::ImplCommit() ...@@ -529,7 +529,7 @@ void SvxSwAutoCorrCfg::ImplCommit()
// "Format/Option/ChangeToBullets/Enable" // "Format/Option/ChangeToBullets/Enable"
css::uno::Any(sal_Int32(rSwFlags.cBullet)), css::uno::Any(sal_Int32(rSwFlags.cBullet)),
// "Format/Option/ChangeToBullets/SpecialCharacter/Char" // "Format/Option/ChangeToBullets/SpecialCharacter/Char"
css::uno::Any(OUString(rSwFlags.aBulletFont.GetFamilyName())), css::uno::Any(rSwFlags.aBulletFont.GetFamilyName()),
// "Format/Option/ChangeToBullets/SpecialCharacter/Font" // "Format/Option/ChangeToBullets/SpecialCharacter/Font"
css::uno::Any(sal_Int32(rSwFlags.aBulletFont.GetFamilyType())), css::uno::Any(sal_Int32(rSwFlags.aBulletFont.GetFamilyType())),
// "Format/Option/ChangeToBullets/SpecialCharacter/FontFamily" // "Format/Option/ChangeToBullets/SpecialCharacter/FontFamily"
...@@ -573,7 +573,7 @@ void SvxSwAutoCorrCfg::ImplCommit() ...@@ -573,7 +573,7 @@ void SvxSwAutoCorrCfg::ImplCommit()
css::uno::Any(rSwFlags.bAutoCmpltKeepList), // "Completion/KeepList" css::uno::Any(rSwFlags.bAutoCmpltKeepList), // "Completion/KeepList"
css::uno::Any(sal_Int32(rSwFlags.cByInputBullet)), css::uno::Any(sal_Int32(rSwFlags.cByInputBullet)),
// "Format/ByInput/ApplyNumbering/SpecialCharacter/Char" // "Format/ByInput/ApplyNumbering/SpecialCharacter/Char"
css::uno::Any(OUString(rSwFlags.aByInputBulletFont.GetFamilyName())), css::uno::Any(rSwFlags.aByInputBulletFont.GetFamilyName()),
// "Format/ByInput/ApplyNumbering/SpecialCharacter/Font" // "Format/ByInput/ApplyNumbering/SpecialCharacter/Font"
css::uno::Any(sal_Int32(rSwFlags.aByInputBulletFont.GetFamilyType())), css::uno::Any(sal_Int32(rSwFlags.aByInputBulletFont.GetFamilyType())),
// "Format/ByInput/ApplyNumbering/SpecialCharacter/FontFamily" // "Format/ByInput/ApplyNumbering/SpecialCharacter/FontFamily"
......
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