diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-24 14:29:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-25 08:12:17 +0200 |
commit | 4a340e36e8d3713806719351f455711c1254a178 (patch) | |
tree | 4be5ffdd176b2f45e4f549f7eb4d88da9225c18e /vcl/inc | |
parent | 50fc62ce76bc51f18b16eae937761d0a8872df3e (diff) |
loplugin:constantparam
add the results files so I can just see the diff in future
Change-Id: Ia20a1aa6418be95ed620719cde340c00b7b053e1
Reviewed-on: https://gerrit.libreoffice.org/37988
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/opengl/texture.hxx | 6 | ||||
-rw-r--r-- | vcl/inc/unx/fontmanager.hxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/vcl/inc/opengl/texture.hxx b/vcl/inc/opengl/texture.hxx index 3485c4f332a1..2aca8ddfd874 100644 --- a/vcl/inc/opengl/texture.hxx +++ b/vcl/inc/opengl/texture.hxx @@ -121,15 +121,15 @@ public: bool operator!=( const OpenGLTexture& rTexture ) const; template<GLenum type> - void FillCoords(std::vector<GLfloat>& aCoordVector, const SalTwoRect& rPosAry, bool bInverted) const; + void FillCoords(std::vector<GLfloat>& aCoordVector, const SalTwoRect& rPosAry) const; }; template<> void OpenGLTexture::FillCoords<GL_TRIANGLES>( - std::vector<GLfloat>& aCoord, const SalTwoRect& rPosAry, bool bInverted) + std::vector<GLfloat>& aCoord, const SalTwoRect& rPosAry) const; template<> void OpenGLTexture::FillCoords<GL_TRIANGLE_FAN>( - std::vector<GLfloat>& aCoord, const SalTwoRect& rPosAry, bool bInverted) + std::vector<GLfloat>& aCoord, const SalTwoRect& rPosAry) const; #endif // INCLUDED_VCL_INC_OPENGL_TEXTURE_H diff --git a/vcl/inc/unx/fontmanager.hxx b/vcl/inc/unx/fontmanager.hxx index 2e89c5f655be..34cec8f45e38 100644 --- a/vcl/inc/unx/fontmanager.hxx +++ b/vcl/inc/unx/fontmanager.hxx @@ -190,7 +190,7 @@ class VCL_PLUGIN_PUBLIC PrintFontManager void fillPrintFontInfo( PrintFont* pFont, PrintFontInfo& rInfo ) const; OString getDirectory( int nAtom ) const; - int getDirectoryAtom( const OString& rDirectory, bool bCreate = false ); + int getDirectoryAtom( const OString& rDirectory ); /* try to initialize fonts from libfontconfig |