diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-10-20 14:43:23 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-10-21 10:45:50 +0200 |
commit | 1e9245e4cdf975e9b087ffb120cf23ee2ca7a23d (patch) | |
tree | f79d024150b779e8642b968433e18f3ed54f0dd4 /vcl/quartz | |
parent | 21ba68ae7991ee0f6546d765dcad2c84cd05a375 (diff) |
loplugin:redundantinline
Change-Id: I5fb1c6ba516e2853b1826e20c6c21cccc1fe98fa
Reviewed-on: https://gerrit.libreoffice.org/62074
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/quartz')
-rw-r--r-- | vcl/quartz/ctfonts.cxx | 2 | ||||
-rw-r--r-- | vcl/quartz/salgdicommon.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/quartz/ctfonts.cxx b/vcl/quartz/ctfonts.cxx index 6050badcdcca..132ba34c9f6e 100644 --- a/vcl/quartz/ctfonts.cxx +++ b/vcl/quartz/ctfonts.cxx @@ -40,7 +40,7 @@ #include <sallayout.hxx> #include <hb-coretext.h> -static inline double toRadian(int nDegree) +static double toRadian(int nDegree) { return nDegree * (M_PI / 1800.0); } diff --git a/vcl/quartz/salgdicommon.cxx b/vcl/quartz/salgdicommon.cxx index d7a21d3ccd30..549ad3e33f5b 100644 --- a/vcl/quartz/salgdicommon.cxx +++ b/vcl/quartz/salgdicommon.cxx @@ -291,7 +291,7 @@ bool AquaSalGraphics::CreateFontSubset( const OUString& rToFile, return (nRC == SFErrCodes::Ok); } -static inline void alignLinePoint( const SalPoint* i_pIn, float& o_fX, float& o_fY ) +static void alignLinePoint( const SalPoint* i_pIn, float& o_fX, float& o_fY ) { o_fX = static_cast<float>(i_pIn->mnX ) + 0.5; o_fY = static_cast<float>(i_pIn->mnY ) + 0.5; |