summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-10-20 14:43:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-10-21 10:45:50 +0200
commit1e9245e4cdf975e9b087ffb120cf23ee2ca7a23d (patch)
treef79d024150b779e8642b968433e18f3ed54f0dd4
parent21ba68ae7991ee0f6546d765dcad2c84cd05a375 (diff)
loplugin:redundantinline
Change-Id: I5fb1c6ba516e2853b1826e20c6c21cccc1fe98fa Reviewed-on: https://gerrit.libreoffice.org/62074 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--vcl/osx/DataFlavorMapping.cxx4
-rw-r--r--vcl/osx/DropTarget.cxx2
-rw-r--r--vcl/osx/a11yfocustracker.cxx2
-rw-r--r--vcl/quartz/ctfonts.cxx2
-rw-r--r--vcl/quartz/salgdicommon.cxx2
5 files changed, 6 insertions, 6 deletions
diff --git a/vcl/osx/DataFlavorMapping.cxx b/vcl/osx/DataFlavorMapping.cxx
index 4a785129ea28..de8dc8c41338 100644
--- a/vcl/osx/DataFlavorMapping.cxx
+++ b/vcl/osx/DataFlavorMapping.cxx
@@ -135,12 +135,12 @@ SAL_WNODEPRECATED_DECLARATIONS_POP
#define SIZE_FLAVOR_MAP (sizeof(flavorMap)/sizeof(FlavorMap))
- inline bool isByteSequenceType(const Type& theType)
+ bool isByteSequenceType(const Type& theType)
{
return (theType == cppu::UnoType<Sequence<sal_Int8>>::get());
}
- inline bool isOUStringType(const Type& theType)
+ bool isOUStringType(const Type& theType)
{
return (theType == cppu::UnoType<OUString>::get() );
}
diff --git a/vcl/osx/DropTarget.cxx b/vcl/osx/DropTarget.cxx
index 4ab4f9ac6eca..3c6ea81f386c 100644
--- a/vcl/osx/DropTarget.cxx
+++ b/vcl/osx/DropTarget.cxx
@@ -60,7 +60,7 @@ namespace /* private */
// coordinate system upper-left hence we need to transform
// coordinates
- inline void CocoaToVCL(NSPoint& rPoint, const NSRect& bounds)
+ void CocoaToVCL(NSPoint& rPoint, const NSRect& bounds)
{
rPoint.y = bounds.size.height - rPoint.y;
}
diff --git a/vcl/osx/a11yfocustracker.cxx b/vcl/osx/a11yfocustracker.cxx
index b650720adcb1..49fa08ec4eee 100644
--- a/vcl/osx/a11yfocustracker.cxx
+++ b/vcl/osx/a11yfocustracker.cxx
@@ -35,7 +35,7 @@
using namespace ::com::sun::star::accessibility;
using namespace ::com::sun::star::uno;
-static inline vcl::Window *
+static vcl::Window *
getWindow(const ::VclSimpleEvent *pEvent)
{
return static_cast< const ::VclWindowEvent *> (pEvent)->GetWindow();
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;