sw: redundant condition, was checked previously
Change-Id: I7934bc993e049169a08b835f922da8ef50ea05ee
This commit is contained in:
@@ -2994,7 +2994,7 @@ void SwXFrame::attachToRange(const uno::Reference< text::XTextRange > & xTextRan
|
|||||||
if(!m_sName.isEmpty())
|
if(!m_sName.isEmpty())
|
||||||
pDoc->SetFlyName((SwFlyFrameFormat&)*pFrameFormat, m_sName);
|
pDoc->SetFlyName((SwFlyFrameFormat&)*pFrameFormat, m_sName);
|
||||||
}
|
}
|
||||||
else if( pEmbeddedObject || pStreamName )
|
else if (pEmbeddedObject)
|
||||||
{
|
{
|
||||||
uno::Reference< embed::XEmbeddedObject > obj;
|
uno::Reference< embed::XEmbeddedObject > obj;
|
||||||
(*pEmbeddedObject) >>= obj;
|
(*pEmbeddedObject) >>= obj;
|
||||||
|
Reference in New Issue
Block a user