Kaydet (Commit) 8d2c9a60 authored tarafından Michael Stahl's avatar Michael Stahl

sw: redundant condition, was checked previously

Change-Id: I7934bc993e049169a08b835f922da8ef50ea05ee
üst 1a18c92a
...@@ -2994,7 +2994,7 @@ void SwXFrame::attachToRange(const uno::Reference< text::XTextRange > & xTextRan ...@@ -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;
......
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