diff options
author | nyamatongwe <unknown> | 2012-03-03 11:23:19 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2012-03-03 11:23:19 +1100 |
commit | 666cf59a667d3bb499a5f50efa3174fc834431ae (patch) | |
tree | 35cb868e1e01543d3c555ceac97f3d9b414f6cf8 /src | |
parent | c9b52e89c59d34dfb53e4b3dbefabe21b47a4e87 (diff) | |
download | scintilla-mirror-666cf59a667d3bb499a5f50efa3174fc834431ae.tar.gz |
Remove unused variables. Bug #3494744. From Marko Njezic.
Diffstat (limited to 'src')
-rw-r--r-- | src/Style.cxx | 2 | ||||
-rw-r--r-- | src/Style.h | 2 | ||||
-rw-r--r-- | src/ViewStyle.cxx | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/src/Style.cxx b/src/Style.cxx index ed30f5529..375738c67 100644 --- a/src/Style.cxx +++ b/src/Style.cxx @@ -45,10 +45,8 @@ FontMeasurements::FontMeasurements() { } void FontMeasurements::Clear() { - lineHeight = 2; ascent = 1; descent = 1; - externalLeading = 0; aveCharWidth = 1; spaceWidth = 1; sizeZoomed = 2; diff --git a/src/Style.h b/src/Style.h index cccf18f3e..85663acf2 100644 --- a/src/Style.h +++ b/src/Style.h @@ -43,10 +43,8 @@ public: }; struct FontMeasurements { - unsigned int lineHeight; unsigned int ascent; unsigned int descent; - unsigned int externalLeading; XYPOSITION aveCharWidth; XYPOSITION spaceWidth; int sizeZoomed; diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx index 39d57b27c..737a23183 100644 --- a/src/ViewStyle.cxx +++ b/src/ViewStyle.cxx @@ -98,8 +98,6 @@ void FontRealised::Realise(Surface &surface, int zoomLevel, int technology) { ascent = surface.Ascent(font); descent = surface.Descent(font); - externalLeading = surface.ExternalLeading(font); - lineHeight = surface.Height(font); aveCharWidth = surface.AverageCharWidth(font); spaceWidth = surface.WidthChar(font, ' '); if (frNext) { |