office-gobmx/external/skia/fix-warnings.patch.1
Luboš Luňák ad8bff9d26 update Skia to chrome/m90
Including chrome/m89, which wasn't included before because of
tdf#140023.

Change-Id: I64f1de8e10eab2d92a9383ce8104be5afca40101
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111792
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2021-03-03 11:07:37 +01:00

28 lines
1.3 KiB
Groff

diff --git a/include/core/SkFontParameters.h b/include/core/SkFontParameters.h
index ae4f1d68b6..71263da7c5 100644
--- a/include/core/SkFontParameters.h
+++ b/include/core/SkFontParameters.h
@@ -16,8 +16,8 @@ struct SkFontParameters {
// Parameters in a variation font axis.
struct Axis {
constexpr Axis() : tag(0), min(0), def(0), max(0), flags(0) {}
- constexpr Axis(SkFourByteTag tag, float min, float def, float max, bool hidden) :
- tag(tag), min(min), def(def), max(max), flags(hidden ? HIDDEN : 0) {}
+ constexpr Axis(SkFourByteTag _tag, float _min, float _def, float _max, bool hidden) :
+ tag(_tag), min(_min), def(_def), max(_max), flags(hidden ? HIDDEN : 0) {}
// Four character identifier of the font axis (weight, width, slant, italic...).
SkFourByteTag tag;
diff --git a/tools/sk_app/WindowContext.h b/tools/sk_app/WindowContext.h
index f143dab013..be3cde0f4f 100644
--- a/tools/sk_app/WindowContext.h
+++ b/tools/sk_app/WindowContext.h
@@ -31,7 +31,7 @@ public:
virtual void resize(int w, int h) = 0;
- virtual void activate(bool isActive) {}
+ virtual void activate(bool /*isActive*/) {}
const DisplayParams& getDisplayParams() { return fDisplayParams; }
virtual void setDisplayParams(const DisplayParams& params) = 0;