diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-08 09:38:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-08 09:38:24 +0200 |
commit | a4ca332afd13d3f9309eee4b48d93bfe3b2a4fe1 (patch) | |
tree | 022f74b55fe9b3022585ec734bf525a8cc17b17d /vcl/qt5/Qt5Graphics_Text.cxx | |
parent | 2b946181595d198809e8a6a3fb82fd965ac911fa (diff) |
-Wunused-parameter in qt5 plugin
Change-Id: I2d17ccdc9addb911fef8925d87b794075946c3ca
Diffstat (limited to 'vcl/qt5/Qt5Graphics_Text.cxx')
-rw-r--r-- | vcl/qt5/Qt5Graphics_Text.cxx | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/vcl/qt5/Qt5Graphics_Text.cxx b/vcl/qt5/Qt5Graphics_Text.cxx index ab9e1afb78d7..ec07d50e4af6 100644 --- a/vcl/qt5/Qt5Graphics_Text.cxx +++ b/vcl/qt5/Qt5Graphics_Text.cxx @@ -108,28 +108,29 @@ void Qt5Graphics::GetDevFontList(PhysicalFontCollection* pPFC) void Qt5Graphics::ClearDevFontCache() {} -bool Qt5Graphics::AddTempDevFont(PhysicalFontCollection*, const OUString& rFileURL, - const OUString& rFontName) +bool Qt5Graphics::AddTempDevFont(PhysicalFontCollection*, const OUString& /*rFileURL*/, + const OUString& /*rFontName*/) { return false; } -bool Qt5Graphics::CreateFontSubset(const OUString& rToFile, const PhysicalFontFace* pFont, - const sal_GlyphId* pGlyphIds, const sal_uInt8* pEncoding, - sal_Int32* pWidths, int nGlyphs, FontSubsetInfo& rInfo) +bool Qt5Graphics::CreateFontSubset(const OUString& /*rToFile*/, const PhysicalFontFace* /*pFont*/, + const sal_GlyphId* /*pGlyphIds*/, const sal_uInt8* /*pEncoding*/, + sal_Int32* /*pWidths*/, int /*nGlyphs*/, + FontSubsetInfo& /*rInfo*/) { return false; } -const void* Qt5Graphics::GetEmbedFontData(const PhysicalFontFace*, long* pDataLen) +const void* Qt5Graphics::GetEmbedFontData(const PhysicalFontFace*, long* /*pDataLen*/) { return nullptr; } -void Qt5Graphics::FreeEmbedFontData(const void* pData, long nDataLen) {} +void Qt5Graphics::FreeEmbedFontData(const void* /*pData*/, long /*nDataLen*/) {} -void Qt5Graphics::GetGlyphWidths(const PhysicalFontFace* pPFF, bool bVertical, - std::vector<sal_Int32>& rWidths, Ucs2UIntMap& rUnicodeEnc) +void Qt5Graphics::GetGlyphWidths(const PhysicalFontFace* /*pPFF*/, bool /*bVertical*/, + std::vector<sal_Int32>& /*rWidths*/, Ucs2UIntMap& /*rUnicodeEnc*/) { } |