diff options
author | Albert Astals Cid <aacid@kde.org> | 2020-01-05 22:49:15 +0100 |
---|---|---|
committer | Albert Astals Cid <tsdgeos@yahoo.es> | 2020-01-05 22:44:45 +0000 |
commit | 7489b99bc0e8ee22538e5c4697f43181e74044c1 (patch) | |
tree | ed4e9e87914dd6e16e602d70e63cd760f27f731b /utils/HtmlFonts.h | |
parent | 6b1ee539705f1ddf8e252f1589866862ad688bc2 (diff) |
Make HtmlFontAccu::Get const
Diffstat (limited to 'utils/HtmlFonts.h')
-rw-r--r-- | utils/HtmlFonts.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/HtmlFonts.h b/utils/HtmlFonts.h index 195f46fa..c44ce6a1 100644 --- a/utils/HtmlFonts.h +++ b/utils/HtmlFonts.h @@ -104,7 +104,7 @@ public: HtmlFontAccu(const HtmlFontAccu &) = delete; HtmlFontAccu& operator=(const HtmlFontAccu &) = delete; int AddFont(const HtmlFont& font); - HtmlFont *Get(int i){ + const HtmlFont *Get(int i) const { return &accu[i]; } GooString* CSStyle(int i, int j = 0); |