diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-20 09:39:07 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-20 12:17:01 +0000 |
commit | 9ab408277b8c68f3d987a36744171fc0ef1de2f6 (patch) | |
tree | 9b3a8866e2e61a86be84cd77b03e9ccbabbdc80b /sw/source/uibase/docvw/PostItMgr.cxx | |
parent | 35a48ceb1d92021aa9ce1d17509cd72acc84c718 (diff) |
loplugin:expandablemethodds in sw(part1)
Change-Id: Ic3a558e6b646b6b6bc4cb7e09a00695553023534
Reviewed-on: https://gerrit.libreoffice.org/30073
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/docvw/PostItMgr.cxx')
-rw-r--r-- | sw/source/uibase/docvw/PostItMgr.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sw/source/uibase/docvw/PostItMgr.cxx b/sw/source/uibase/docvw/PostItMgr.cxx index 757c1f57f442..f4fd1bbb44f0 100644 --- a/sw/source/uibase/docvw/PostItMgr.cxx +++ b/sw/source/uibase/docvw/PostItMgr.cxx @@ -673,7 +673,7 @@ void SwPostItMgr::LayoutPostIts() + pPostIt->GetMetaHeight(); pPostIt->SetPosSizePixelRect( mlPageBorder , Y - GetInitialAnchorDistance(), - GetNoteWidth() , + GetSidebarWidth(true), aPostItHeight, pItem->maLayoutInfo.mPosition, mlPageEnd ); @@ -1890,11 +1890,6 @@ unsigned long SwPostItMgr::GetSidebarBorderWidth(bool bPx) const return mpWrtShell->GetOut()->PixelToLogic(Size(2,0)).Width(); } -unsigned long SwPostItMgr::GetNoteWidth() -{ - return GetSidebarWidth(true); -} - Color SwPostItMgr::GetColorDark(sal_uInt16 aAuthorIndex) { if (!Application::GetSettings().GetStyleSettings().GetHighContrastMode()) |