summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-05-16 14:14:48 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-05-17 09:54:56 +0200
commit57a23fcb90a3af9ed362dc053c4112f844a81a2c (patch)
tree9a09d3486f152f396b406e4f4c7d6ae025463518 /sw
parentaaa44dc0b07262d2fcae8f6136566baa6c8c169d (diff)
allow a OutputDevice parent where that is sufficient
Change-Id: I2920ea1a82de5eacbfeceafbb3c63693dd4365db Reviewed-on: https://gerrit.libreoffice.org/72414 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/access/accmap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx
index 6b49f1ca5c55..a2919d91372f 100644
--- a/sw/source/core/access/accmap.cxx
+++ b/sw/source/core/access/accmap.cxx
@@ -243,7 +243,7 @@ public:
: maMap()
{
maInfo.SetSdrView( pMap->GetShell()->GetDrawView() );
- maInfo.SetWindow( pMap->GetShell()->GetWin() );
+ maInfo.SetDevice( pMap->GetShell()->GetWin() );
maInfo.SetViewForwarder( pMap );
uno::Reference < document::XEventBroadcaster > xModelBroadcaster =
new SwDrawModellListener_Impl(