aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/XPM.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-03-23 09:50:03 +1100
committerNeil <nyamatongwe@gmail.com>2014-03-23 09:50:03 +1100
commit23f554037216696c0ce67cad40cadb95c6e02167 (patch)
treef8f3b87bf5d82a95bb99407dd982ccddf4653e19 /src/XPM.cxx
parent0c9de40f4fe6c8594e6cfba5b8e5ce181106e4c5 (diff)
downloadscintilla-mirror-23f554037216696c0ce67cad40cadb95c6e02167.tar.gz
Remove method no longer needed.
Diffstat (limited to 'src/XPM.cxx')
-rw-r--r--src/XPM.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/XPM.cxx b/src/XPM.cxx
index 4191e1e92..e1d91846d 100644
--- a/src/XPM.cxx
+++ b/src/XPM.cxx
@@ -61,11 +61,9 @@ XPM::XPM(const char *const *linesForm) {
}
XPM::~XPM() {
- Clear();
}
void XPM::Init(const char *textForm) {
- Clear();
// Test done is two parts to avoid possibility of overstepping the memory
// if memcmp implemented strangely. Must be 4 bytes at least at destination.
if ((0 == memcmp(textForm, "/* X", 4)) && (0 == memcmp(textForm, "/* XPM */", 9))) {
@@ -81,7 +79,6 @@ void XPM::Init(const char *textForm) {
}
void XPM::Init(const char *const *linesForm) {
- Clear();
height = 1;
width = 1;
nColours = 1;
@@ -125,9 +122,6 @@ void XPM::Init(const char *const *linesForm) {
}
}
-void XPM::Clear() {
-}
-
void XPM::Draw(Surface *surface, PRectangle &rc) {
if (pixels.empty()) {
return;