summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/AnnotationWin.hxx1
-rw-r--r--sw/inc/SidebarWin.hxx10
-rw-r--r--sw/inc/postithelper.hxx2
3 files changed, 0 insertions, 13 deletions
diff --git a/sw/inc/AnnotationWin.hxx b/sw/inc/AnnotationWin.hxx
index 5b2c186dae67..04122ce9f70b 100644
--- a/sw/inc/AnnotationWin.hxx
+++ b/sw/inc/AnnotationWin.hxx
@@ -34,7 +34,6 @@ class SwAnnotationWin : public sw::sidebarwindows::SwSidebarWin
SwAnnotationWin( SwEditWin& rEditWin,
WinBits nBits,
SwPostItMgr& aMgr,
- SwPostItBits aBits,
SwSidebarItem& rSidebarItem,
SwFormatField* aField );
virtual ~SwAnnotationWin() override;
diff --git a/sw/inc/SidebarWin.hxx b/sw/inc/SidebarWin.hxx
index 630fea42c0d5..d4692890b153 100644
--- a/sw/inc/SidebarWin.hxx
+++ b/sw/inc/SidebarWin.hxx
@@ -54,17 +54,12 @@ class SidebarTextControl;
class AnchorOverlayObject;
class ShadowOverlayObject;
-typedef sal_Int64 SwPostItBits;
-
-#define PB_Preview ((SwPostItBits)0x00000001)
-
class SwSidebarWin : public vcl::Window
{
public:
SwSidebarWin( SwEditWin& rEditWin,
WinBits nBits,
SwPostItMgr& aMgr,
- SwPostItBits aBits,
SwSidebarItem& rSidebarItem );
virtual ~SwSidebarWin() override;
virtual void dispose() override;
@@ -135,10 +130,6 @@ class SwSidebarWin : public vcl::Window
{
return mbReadonly;
}
- bool IsPreview()
- {
- return nFlags & PB_Preview;
- }
void SetColor(Color aColorDark,Color aColorLight, Color aColorAnchor);
const Color& ColorAnchor() { return mColorAnchor; }
@@ -218,7 +209,6 @@ class SwSidebarWin : public vcl::Window
SwPostItMgr& mrMgr;
SwView& mrView;
- const SwPostItBits nFlags;
ImplSVEvent * mnEventId;
diff --git a/sw/inc/postithelper.hxx b/sw/inc/postithelper.hxx
index 5e323aa4cf5d..90cfaf3a5d7e 100644
--- a/sw/inc/postithelper.hxx
+++ b/sw/inc/postithelper.hxx
@@ -38,8 +38,6 @@ namespace sw { namespace sidebarwindows {
struct SwPosition;
-typedef sal_Int64 SwPostItBits;
-
struct SwLayoutInfo
{
const SwFrame* mpAnchorFrame;