summaryrefslogtreecommitdiff
path: root/sw/source/uibase/docvw/PostItMgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/docvw/PostItMgr.cxx')
-rw-r--r--sw/source/uibase/docvw/PostItMgr.cxx7
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())