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

loplugin:stringcopy: filter

Change-Id: Ibaf85db278f27506baf26ff23a40ede888f55ed2
üst d0a91cf2
......@@ -1139,7 +1139,7 @@ void ImplEESdrObject::Init( ImplEESdrWriter& rEx )
if( mXPropSet.is() )
{
// detect name first to make below test (is group) work
mType = OUString( mXShape->getShapeType() );
mType = mXShape->getShapeType();
(void)mType.startsWith( "com.sun.star.", &mType ); // strip "com.sun.star."
(void)mType.endsWith( "Shape", &mType ); // strip "Shape"
......
......@@ -195,7 +195,7 @@ void SvxMSExportOLEObjects::ExportOLEObject( svt::EmbeddedObjectRef& rObj, SotSt
::uno::Reference < io::XOutputStream > xOut = new ::utl::OOutputStreamWrapper( *pStream );
aSeq[0].Value <<= xOut;
aSeq[1].Name = "FilterName";
aSeq[1].Value <<= OUString( pExpFilter->GetName() );
aSeq[1].Value <<= pExpFilter->GetName();
uno::Reference < frame::XStorable > xStor( rObj->getComponent(), uno::UNO_QUERY );
try
{
......
......@@ -2047,7 +2047,7 @@ void SVGFilter::implCreateObjectsFromBackground( const Reference< XDrawPage >& r
aDescriptor[0].Name = "FilterName";
aDescriptor[0].Value <<= OUString( "SVM" );
aDescriptor[1].Name = "URL";
aDescriptor[1].Value <<= OUString( aFile.GetURL() );
aDescriptor[1].Value <<= aFile.GetURL();
aDescriptor[2].Name = "ExportOnlyBackground";
aDescriptor[2].Value <<= true;
......
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