summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorGabor Kelemen <gabor.kelemen.extern@allotropia.de>2023-11-02 11:40:07 +0100
committerThorsten Behrens <thorsten.behrens@allotropia.de>2023-12-13 07:29:47 +0100
commitfd527ecbac39c6e15cc27da30bd05cb2ff85fd82 (patch)
treed572d0447dcf369bef0b03e1f00779a486be3486 /svx
parentbb0a2be91930fbae07657f214b53117b9e8cc204 (diff)
Drop some wrapper methods from SvtOptionsDrawinglayer
just use the wrapped officecfg methods instead of: IsOverlayBuffer IsPaintBuffer IsOverlayBuffer_Calc IsOverlayBuffer_Writer IsOverlayBuffer_DrawImpress IsPaintBuffer_Calc IsPaintBuffer_Writer IsPaintBuffer_DrawImpress Change-Id: I2bd340b8c9c711c33c19fb1d764ce20bade0476e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160651 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdpntv.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdpntv.cxx b/svx/source/svdraw/svdpntv.cxx
index 4584e7f83174..ae8a968d1dc8 100644
--- a/svx/source/svdraw/svdpntv.cxx
+++ b/svx/source/svdraw/svdpntv.cxx
@@ -45,8 +45,8 @@
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <comphelper/lok.hxx>
#include <svx/svdviter.hxx>
-#include <svtools/optionsdrawinglayer.hxx>
#include <osl/diagnose.h>
+#include <officecfg/Office/Common.hxx>
using namespace ::com::sun::star;
@@ -1158,7 +1158,7 @@ void SdrPaintView::SetApplicationDocumentColor(Color aDocumentColor)
bool SdrPaintView::IsBufferedOutputAllowed() const
{
- return (mbBufferedOutputAllowed && SvtOptionsDrawinglayer::IsPaintBuffer());
+ return (mbBufferedOutputAllowed && officecfg::Office::Common::Drawinglayer::PaintBuffer::get());
}
void SdrPaintView::SetBufferedOutputAllowed(bool bNew)
@@ -1171,7 +1171,7 @@ void SdrPaintView::SetBufferedOutputAllowed(bool bNew)
bool SdrPaintView::IsBufferedOverlayAllowed() const
{
- return (mbBufferedOverlayAllowed && SvtOptionsDrawinglayer::IsOverlayBuffer());
+ return (mbBufferedOverlayAllowed && officecfg::Office::Common::Drawinglayer::OverlayBuffer::get());
}
void SdrPaintView::SetBufferedOverlayAllowed(bool bNew)