diff options
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/docvw/PostItMgr.cxx | 6 | ||||
-rw-r--r-- | sw/source/uibase/docvw/SidebarWin.cxx | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/uibase/docvw/PostItMgr.cxx b/sw/source/uibase/docvw/PostItMgr.cxx index 2b8f5eeae3b7..962755d3ea51 100644 --- a/sw/source/uibase/docvw/PostItMgr.cxx +++ b/sw/source/uibase/docvw/PostItMgr.cxx @@ -735,13 +735,13 @@ void SwPostItMgr::LayoutPostIts() // view that has the comment focus emits callbacks, // so the editing view jumps to the comment, but // not the others. - bool bTiledPainting = mpView->getTiledPainting(); + bool bTiledPainting = comphelper::LibreOfficeKit::isTiledPainting(); if (!bTiledPainting) // No focus -> disable callbacks. - mpView->setTiledPainting(!(*i)->HasChildPathFocus()); + comphelper::LibreOfficeKit::setTiledPainting(!(*i)->HasChildPathFocus()); (*i)->ShowNote(); if (!bTiledPainting) - mpView->setTiledPainting(bTiledPainting); + comphelper::LibreOfficeKit::setTiledPainting(bTiledPainting); } else { diff --git a/sw/source/uibase/docvw/SidebarWin.cxx b/sw/source/uibase/docvw/SidebarWin.cxx index 0b144e9e1ab8..c1560832a43d 100644 --- a/sw/source/uibase/docvw/SidebarWin.cxx +++ b/sw/source/uibase/docvw/SidebarWin.cxx @@ -1263,11 +1263,11 @@ void SwSidebarWin::DeactivatePostIt() // Make sure this view doesn't emit LOK callbacks during the update, as the // sidebar window's SidebarTextControl doesn't have a valid twip offset // (map mode origin) during that operation. - bool bTiledPainting = mrView.getTiledPainting(); - mrView.setTiledPainting(true); + bool bTiledPainting = comphelper::LibreOfficeKit::isTiledPainting(); + comphelper::LibreOfficeKit::setTiledPainting(true); // write the visible text back into the SwField UpdateData(); - mrView.setTiledPainting(bTiledPainting); + comphelper::LibreOfficeKit::setTiledPainting(bTiledPainting); if ( !Application::GetSettings().GetStyleSettings().GetHighContrastMode() ) GetOutlinerView()->SetBackgroundColor(COL_TRANSPARENT); |