diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-10 14:12:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-11 10:20:58 +0200 |
commit | bf6449230ad2b4dfb427a062663e5ff2b9ddf3b6 (patch) | |
tree | 75c9947c10b4685cb9caaaaf1b59ca3f679bcd4e /sw/inc/postithelper.hxx | |
parent | 9fa75f677a7b48a2177fe11cca0d00f5a2deb7da (diff) |
loplugin:mergeclasses merge SwAnnotationWin and SwSidebarWin
Change-Id: Idaf7d7e8e4da37e0ba423dca3e22dc6711ba806a
Reviewed-on: https://gerrit.libreoffice.org/36380
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/postithelper.hxx')
-rw-r--r-- | sw/inc/postithelper.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/inc/postithelper.hxx b/sw/inc/postithelper.hxx index 90cfaf3a5d7e..26eb10186233 100644 --- a/sw/inc/postithelper.hxx +++ b/sw/inc/postithelper.hxx @@ -32,8 +32,8 @@ class SwTextField; class SwRootFrame; class SwPostItMgr; class SwEditWin; -namespace sw { namespace sidebarwindows { - class SwSidebarWin; +namespace sw { namespace annotation { + class SwAnnotationWin; } } struct SwPosition; @@ -88,7 +88,7 @@ namespace SwPostItHelper class SwSidebarItem { public: - VclPtr<sw::sidebarwindows::SwSidebarWin> pPostIt; + VclPtr<sw::annotation::SwAnnotationWin> pPostIt; bool bShow; bool bFocus; bool bPendingLayout; @@ -114,7 +114,7 @@ public: virtual bool UseElement() = 0; virtual const SwFormatField& GetFormatField() const = 0; virtual const SfxBroadcaster* GetBroadCaster() const = 0; - virtual VclPtr<sw::sidebarwindows::SwSidebarWin> GetSidebarWindow( SwEditWin& rEditWin, + virtual VclPtr<sw::annotation::SwAnnotationWin> GetSidebarWindow( SwEditWin& rEditWin, SwPostItMgr& aMgr) = 0; }; @@ -139,7 +139,7 @@ public: { return dynamic_cast<const SfxBroadcaster *> (&mrFormatField); } - virtual VclPtr<sw::sidebarwindows::SwSidebarWin> GetSidebarWindow( + virtual VclPtr<sw::annotation::SwAnnotationWin> GetSidebarWindow( SwEditWin& rEditWin, SwPostItMgr& aMgr ) override; |