aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ViewStyle.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/ViewStyle.cxx')
-rw-r--r--src/ViewStyle.cxx26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx
index 148163bec..f507c5528 100644
--- a/src/ViewStyle.cxx
+++ b/src/ViewStyle.cxx
@@ -33,32 +33,6 @@ MarginStyle::MarginStyle(int style_, int width_, int mask_) :
style(style_), width(width_), mask(mask_), sensitive(false), cursor(SC_CURSORREVERSEARROW) {
}
-// A list of the fontnames - avoids wasting space in each style
-FontNames::FontNames() {
-}
-
-FontNames::~FontNames() {
- Clear();
-}
-
-void FontNames::Clear() {
- names.clear();
-}
-
-const char *FontNames::Save(const char *name) {
- if (!name)
- return nullptr;
-
- for (const UniqueString &nm : names) {
- if (strcmp(nm.get(), name) == 0) {
- return nm.get();
- }
- }
-
- names.push_back(UniqueStringCopy(name));
- return names.back().get();
-}
-
FontRealised::FontRealised() {
}