summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2020-03-25 11:17:09 +0100
committerLuboš Luňák <l.lunak@collabora.com>2020-03-25 14:32:17 +0100
commit208bb103d3ad93c2356c60174a49204a3e919f74 (patch)
tree3cb7391d9af385079cae8e96a8e17650f31e3079 /include
parentcf05c579411a92e44d4559de2dc3a6de29412ad4 (diff)
no reason for the FontAntiAliasing setting being UNX-only (tdf#107744)
This dates back to the ancient times where no revision control history dares, so no idea why this was so, but it doesn't make sense, as at least Windows can disable AA for fonts too. And if some platform really wants to hide the setting, it should be enough just to hide the UI element, no reason for '#if defined( UNX )' all over the place. Change-Id: I76fc9ad157358321904573079ace5a3fe556f86a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91041 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/svtools/apearcfg.hxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/svtools/apearcfg.hxx b/include/svtools/apearcfg.hxx
index 81a9ef8f931f..119d012ed555 100644
--- a/include/svtools/apearcfg.hxx
+++ b/include/svtools/apearcfg.hxx
@@ -43,14 +43,10 @@ class SVT_DLLPUBLIC SvtTabAppearanceCfg final : public utl::ConfigItem
DragMode nDragMode ;
SnapType nSnapMode ;
MouseMiddleButtonAction nMiddleMouse;
-#if defined( UNX )
short nAAMinPixelHeight ;
-#endif
+ bool bFontAntialiasing ;
bool bMenuMouseFollow ;
-#if defined( UNX )
- bool bFontAntialiasing ;
-#endif
static bool bInitialized ;
@@ -75,13 +71,11 @@ public:
bool IsMenuMouseFollow() const{return bMenuMouseFollow;}
-#if defined( UNX )
void SetFontAntiAliasing( bool bSet ) { bFontAntialiasing = bSet; SetModified(); }
bool IsFontAntiAliasing() const { return bFontAntialiasing; }
sal_uInt16 GetFontAntialiasingMinPixelHeight( ) const { return nAAMinPixelHeight; }
void SetFontAntialiasingMinPixelHeight( sal_uInt16 _nMinHeight ) { nAAMinPixelHeight = _nMinHeight; SetModified(); }
-#endif
static bool IsInitialized() { return bInitialized; }
static void SetInitialized() { bInitialized = true; }