From 8d2c9a60b2dca069dedb08cac38c26afea0a562d Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 8 Dec 2015 12:45:18 +0100 Subject: sw: redundant condition, was checked previously Change-Id: I7934bc993e049169a08b835f922da8ef50ea05ee --- sw/source/core/unocore/unoframe.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw') 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; -- cgit