diff options
Diffstat (limited to 'sw/source/core/unocore/unoframe.cxx')
-rw-r--r-- | sw/source/core/unocore/unoframe.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx index 85d8baf4e59e..1c532f20e302 100644 --- a/sw/source/core/unocore/unoframe.cxx +++ b/sw/source/core/unocore/unoframe.cxx @@ -739,7 +739,6 @@ bool SwGraphicProperties_Impl::AnyToItemSet( lcl_FillMirror ( rGrSet, *pItemSet, pHEvenMirror, pHOddMirror, pVMirror, bRet ); } - static const :: sal_uInt16 nIDs[] = { RES_GRFATR_CROPGRF, @@ -789,11 +788,10 @@ bool SwOLEProperties_Impl::AnyToItemSet( && !GetProperty(FN_EMBEDDED_OBJECT, 0, pTemp) ) return false; SwFrameProperties_Impl::AnyToItemSet( pDoc, rFrmSet, rSet, rSizeFound); - // + return true; } - class SwXFrame::Impl { private: @@ -805,7 +803,6 @@ public: Impl() : m_EventListeners(m_Mutex) { } }; - namespace { class theSwXFrameUnoTunnelId : public rtl::Static< UnoTunnelIdInit, theSwXFrameUnoTunnelId > {}; @@ -1371,7 +1368,6 @@ void SwXFrame::setPropertyValue(const :: OUString& rPropertyName, const :: uno:: aSet.SetParent(&pFmt->GetAttrSet()); SwFmtAnchor aAnchor = (const :: SwFmtAnchor&)aSet.Get(pEntry->nWID); - SwPosition aPos(*pFrame->GetFrmFmt()->GetCntnt().GetCntntIdx()); aAnchor.SetAnchor(&aPos); aAnchor.SetType(FLY_AT_FLY); @@ -3174,9 +3170,7 @@ uno::Reference< graphic::XGraphic > SAL_CALL SwXTextEmbeddedObject::getReplaceme return uno::Reference< graphic::XGraphic >(); } - OUString SwXTextEmbeddedObject::getImplementationName(void) throw( uno::RuntimeException, std::exception ) - { return OUString("SwXTextEmbeddedObject"); } @@ -3263,7 +3257,6 @@ void SwXOLEListener::disposing( const lang::EventObject& rEvent ) uno::Reference< util::XModifyListener > xListener( this ); - uno::Reference< frame::XModel > xModel( rEvent.Source, uno::UNO_QUERY ); uno::Reference< util::XModifyBroadcaster > xBrdcst(xModel, uno::UNO_QUERY); |