summaryrefslogtreecommitdiff
path: root/sw/source/uibase/docvw/SidebarWinAcc.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-10 14:12:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-11 10:20:58 +0200
commitbf6449230ad2b4dfb427a062663e5ff2b9ddf3b6 (patch)
tree75c9947c10b4685cb9caaaaf1b59ca3f679bcd4e /sw/source/uibase/docvw/SidebarWinAcc.hxx
parent9fa75f677a7b48a2177fe11cca0d00f5a2deb7da (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/source/uibase/docvw/SidebarWinAcc.hxx')
-rw-r--r--sw/source/uibase/docvw/SidebarWinAcc.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/sw/source/uibase/docvw/SidebarWinAcc.hxx b/sw/source/uibase/docvw/SidebarWinAcc.hxx
index 869d06be4426..4d3880aa1374 100644
--- a/sw/source/uibase/docvw/SidebarWinAcc.hxx
+++ b/sw/source/uibase/docvw/SidebarWinAcc.hxx
@@ -25,15 +25,16 @@
class SwViewShell;
class SwSidebarItem;
class SwFrame;
+namespace sw { namespace annotation {
+ class SwAnnotationWin;
+} }
namespace sw { namespace sidebarwindows {
-class SwSidebarWin;
-
class SidebarWinAccessible : public VCLXWindow
{
public:
- explicit SidebarWinAccessible( SwSidebarWin& rSidebarWin,
+ explicit SidebarWinAccessible( sw::annotation::SwAnnotationWin& rSidebarWin,
SwViewShell& rViewShell,
const SwSidebarItem& rSidebarItem );
virtual ~SidebarWinAccessible() override;
@@ -44,7 +45,7 @@ class SidebarWinAccessible : public VCLXWindow
void ChangeSidebarItem( const SwSidebarItem& rSidebarItem );
private:
- SwSidebarWin& mrSidebarWin;
+ sw::annotation::SwAnnotationWin& mrSidebarWin;
SwViewShell& mrViewShell;
const SwFrame* mpAnchorFrame;
bool bAccContextCreated;