From 5fb961ad0b5938434777751c9d5c599f7400ab36 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 10 Apr 2017 13:36:50 +0200 Subject: PB_Preview constant in SwSidebarWin is unused which leads to removing various preview stuff in the SwSidebarWin code Last usage seems to have gone with commit c230e962ca2c876187a028fa14426210b5746a0f Author: Oliver-Rainer Wittmann Date: Tue Jan 12 10:43:45 2010 +0100 sw33a11y01: #i88070# refactoring of sidebar window code used for visualization of comments/annotations Change-Id: Idc9382e01a21b679f157f6d1da84d871cb6f1059 Reviewed-on: https://gerrit.libreoffice.org/36377 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/uibase/docvw/AnnotationWin.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sw/source/uibase/docvw/AnnotationWin.cxx') diff --git a/sw/source/uibase/docvw/AnnotationWin.cxx b/sw/source/uibase/docvw/AnnotationWin.cxx index eae69733f332..7809c3bc18b3 100644 --- a/sw/source/uibase/docvw/AnnotationWin.cxx +++ b/sw/source/uibase/docvw/AnnotationWin.cxx @@ -59,10 +59,9 @@ namespace sw { namespace annotation { SwAnnotationWin::SwAnnotationWin( SwEditWin& rEditWin, WinBits nBits, SwPostItMgr& aMgr, - SwPostItBits aBits, SwSidebarItem& rSidebarItem, SwFormatField* aField ) - : SwSidebarWin( rEditWin, nBits, aMgr, aBits, rSidebarItem ) + : SwSidebarWin( rEditWin, nBits, aMgr, rSidebarItem ) , mpFormatField(aField) , mpField( static_cast(aField->GetField())) , mpButtonPopup(nullptr) -- cgit