summaryrefslogtreecommitdiff
path: root/xfa/fwl/theme/cfwl_monthcalendartp.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-09-17 18:25:32 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-09-17 18:25:32 +0000
commitcb798258c433bec7087948fcbfff14d1e7683006 (patch)
treebc873a405dbfe7c957d75a1748acce11c7f473e7 /xfa/fwl/theme/cfwl_monthcalendartp.h
parentc5709dd345c748016a637b2104544895223f8fc7 (diff)
downloadpdfium-cb798258c433bec7087948fcbfff14d1e7683006.tar.xz
Fix final/protected conflicts.
Classes marked |final| should not have |protected| members. In turn, "private field m_dwEncryptObjNum is not used" warning is produced. Change-Id: I51a96aca5a5f499381a6764d892962f7f2dc0327 Reviewed-on: https://pdfium-review.googlesource.com/42611 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fwl/theme/cfwl_monthcalendartp.h')
-rw-r--r--xfa/fwl/theme/cfwl_monthcalendartp.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/xfa/fwl/theme/cfwl_monthcalendartp.h b/xfa/fwl/theme/cfwl_monthcalendartp.h
index 95e2a190b7..4dd08b49c3 100644
--- a/xfa/fwl/theme/cfwl_monthcalendartp.h
+++ b/xfa/fwl/theme/cfwl_monthcalendartp.h
@@ -22,7 +22,7 @@ class CFWL_MonthCalendarTP final : public CFWL_WidgetTP {
void DrawBackground(CFWL_ThemeBackground* pParams) override;
void DrawText(CFWL_ThemeText* pParams) override;
- protected:
+ private:
struct MCThemeData {
FX_ARGB clrCaption;
FX_ARGB clrSeperator;
@@ -43,12 +43,10 @@ class CFWL_MonthCalendarTP final : public CFWL_WidgetTP {
void DrawHSeperator(CFWL_ThemeBackground* pParams, CFX_Matrix* pMatrix);
void DrawWeekNumSep(CFWL_ThemeBackground* pParams, CFX_Matrix* pMatrix);
FWLTHEME_STATE GetState(uint32_t dwFWLStates);
+ void SetThemeData();
std::unique_ptr<MCThemeData> m_pThemeData;
WideString wsResource;
-
- private:
- void SetThemeData();
};
#endif // XFA_FWL_THEME_CFWL_MONTHCALENDARTP_H_