summaryrefslogtreecommitdiff
path: root/svtools/source/config/optionsdrawinglayer.cxx
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 /svtools/source/config/optionsdrawinglayer.cxx
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 'svtools/source/config/optionsdrawinglayer.cxx')
-rw-r--r--svtools/source/config/optionsdrawinglayer.cxx41
1 files changed, 0 insertions, 41 deletions
diff --git a/svtools/source/config/optionsdrawinglayer.cxx b/svtools/source/config/optionsdrawinglayer.cxx
index 227b9ef0ad25..c041d281cf91 100644
--- a/svtools/source/config/optionsdrawinglayer.cxx
+++ b/svtools/source/config/optionsdrawinglayer.cxx
@@ -33,16 +33,6 @@
namespace SvtOptionsDrawinglayer
{
-bool IsOverlayBuffer()
-{
- return officecfg::Office::Common::Drawinglayer::OverlayBuffer::get();
-}
-
-bool IsPaintBuffer()
-{
- return officecfg::Office::Common::Drawinglayer::PaintBuffer::get();
-}
-
Color GetStripeColorA()
{
return Color(ColorTransparency, officecfg::Office::Common::Drawinglayer::StripeColorA::get());
@@ -58,37 +48,6 @@ sal_uInt16 GetStripeLength()
return officecfg::Office::Common::Drawinglayer::StripeLength::get();
}
-bool IsOverlayBuffer_Calc()
-{
- return !utl::ConfigManager::IsFuzzing() && officecfg::Office::Common::Drawinglayer::OverlayBuffer_Calc::get();
-}
-
-bool IsOverlayBuffer_Writer()
-{
- return !utl::ConfigManager::IsFuzzing() && officecfg::Office::Common::Drawinglayer::OverlayBuffer_Writer::get();
-}
-
-bool IsOverlayBuffer_DrawImpress()
-{
- return !utl::ConfigManager::IsFuzzing() && officecfg::Office::Common::Drawinglayer::OverlayBuffer_DrawImpress::get();
-}
-
-// #i74769#, #i75172#
-bool IsPaintBuffer_Calc()
-{
- return !utl::ConfigManager::IsFuzzing() && officecfg::Office::Common::Drawinglayer::PaintBuffer_Calc::get();
-}
-
-bool IsPaintBuffer_Writer()
-{
- return !utl::ConfigManager::IsFuzzing() && officecfg::Office::Common::Drawinglayer::PaintBuffer_Writer::get();
-}
-
-bool IsPaintBuffer_DrawImpress()
-{
- return !utl::ConfigManager::IsFuzzing() && officecfg::Office::Common::Drawinglayer::PaintBuffer_DrawImpress::get();
-}
-
// #i4219#
sal_uInt32 GetMaximumPaperWidth()
{