diff options
Diffstat (limited to 'sw/source/uibase/inc/frmmgr.hxx')
-rw-r--r-- | sw/source/uibase/inc/frmmgr.hxx | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/sw/source/uibase/inc/frmmgr.hxx b/sw/source/uibase/inc/frmmgr.hxx index f4b9ac13c659..6ee012fd3727 100644 --- a/sw/source/uibase/inc/frmmgr.hxx +++ b/sw/source/uibase/inc/frmmgr.hxx @@ -71,8 +71,6 @@ public: //CopyCtor for dialogs to check the metrics SwFlyFrmAttrMgr( bool bNew, SwWrtShell *pSh, const SfxItemSet &rSet ); - inline SwWrtShell* GetShell() { return m_pOwnSh; } - void SetAnchor(RndStdIds eId); inline RndStdIds GetAnchor() const; @@ -90,8 +88,6 @@ public: void SetSize(const Size& rLSize); inline const Size& GetSize() const; - inline sal_uInt16 GetHeightPercent() const; - void SetHeightSizeType(SwFrmSize eType); // space to content @@ -129,7 +125,6 @@ public: inline const SwFormatHoriOrient &GetHoriOrient() const; inline const SvxShadowItem &GetShadow() const; inline const SvxBoxItem &GetBox() const; - inline const SwFormatSurround &GetSurround() const; inline const SwFormatFrmSize &GetFrmSize() const; long CalcWidthBorder() { return CalcLeftSpace()+CalcRightSpace(); } @@ -161,26 +156,15 @@ inline const SvxBoxItem &SwFlyFrmAttrMgr::GetBox() const { return static_cast<const SvxBoxItem&>(m_aSet.Get(RES_BOX)); } -inline const SwFormatSurround &SwFlyFrmAttrMgr::GetSurround() const -{ - return static_cast<const SwFormatSurround&>(m_aSet.Get(RES_SURROUND)); -} - inline Point SwFlyFrmAttrMgr::GetPos() const { return Point( GetHoriOrient().GetPos(), GetVertOrient().GetPos() ); } - inline RndStdIds SwFlyFrmAttrMgr::GetAnchor() const { return static_cast<const SwFormatAnchor&>(m_aSet.Get(RES_ANCHOR)).GetAnchorId(); } -inline sal_uInt16 SwFlyFrmAttrMgr::GetHeightPercent() const -{ - return GetFrmSize().GetHeightPercent(); -} - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |