sw: redundant condition, was checked previously

Change-Id: I7934bc993e049169a08b835f922da8ef50ea05ee
This commit is contained in:
Michael Stahl
2015-12-08 12:45:18 +01:00
parent 1a18c92a52
commit 8d2c9a60b2

View File

@@ -2994,7 +2994,7 @@ void SwXFrame::attachToRange(const uno::Reference< text::XTextRange > & xTextRan
if(!m_sName.isEmpty())
pDoc->SetFlyName((SwFlyFrameFormat&)*pFrameFormat, m_sName);
}
else if( pEmbeddedObject || pStreamName )
else if (pEmbeddedObject)
{
uno::Reference< embed::XEmbeddedObject > obj;
(*pEmbeddedObject) >>= obj;