summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-12-08 12:45:18 +0100
committerMichael Stahl <mstahl@redhat.com>2015-12-08 22:11:44 +0100
commit8d2c9a60b2dca069dedb08cac38c26afea0a562d (patch)
treec49d60728cd4953b88e6f1e78672615d5051b868 /sw/source
parent1a18c92a527cd53abfb0919246935a4fd4ef421d (diff)
sw: redundant condition, was checked previously
Change-Id: I7934bc993e049169a08b835f922da8ef50ea05ee
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/unocore/unoframe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx
index ba315f55e6ce..15ad17d8b62d 100644
--- a/sw/source/core/unocore/unoframe.cxx
+++ b/sw/source/core/unocore/unoframe.cxx
@@ -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;