diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-16 14:14:43 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-02-17 11:33:57 +0000 |
commit | 2087484c65a3d5e75a9e8ad116d11a4e13366219 (patch) | |
tree | 1f335918a854319df9269329d165a91d711d2108 /vcl/inc/fontselect.hxx | |
parent | d6bf086012343b4a1e27cd4242dced9ee0d73a06 (diff) |
use consistent #define checks for the Windows platform
stage 2 of replacing usage of various checks for the windows platform
with the compiler-defined '_WIN32' macro
In this stage we focus on replacing usage of the WIN macro
Change-Id: Ie8a4a63198a6de96bd158ecd707dadafb9c8ea84
Reviewed-on: https://gerrit.libreoffice.org/22393
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/inc/fontselect.hxx')
-rw-r--r-- | vcl/inc/fontselect.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/fontselect.hxx b/vcl/inc/fontselect.hxx index e8b19b408f53..57f1815c3ee2 100644 --- a/vcl/inc/fontselect.hxx +++ b/vcl/inc/fontselect.hxx @@ -37,7 +37,7 @@ class FontSelectPatternAttributes : public FontAttributes public: FontSelectPatternAttributes( const vcl::Font&, const OUString& rSearchName, const Size&, float fExactHeight ); -#ifdef WNT +#ifdef _WIN32 FontSelectPatternAttributes( const PhysicalFontFace&, const Size&, float fExactHeight, int nOrientation, bool bVertical ); #endif @@ -70,7 +70,7 @@ class FontSelectPattern : public FontSelectPatternAttributes public: FontSelectPattern( const vcl::Font&, const OUString& rSearchName, const Size&, float fExactHeight ); -#ifdef WNT +#ifdef _WIN32 // ifdeffed to prevent it going into unusedcode.easy FontSelectPattern( const PhysicalFontFace&, const Size&, float fExactHeight, int nOrientation, bool bVertical ); |