diff options
| author | manuel <manuel@nc8430.lan> | 2009-04-28 18:38:07 +0200 |
|---|---|---|
| committer | manuel <manuel@nc8430.lan> | 2009-04-28 18:38:07 +0200 |
| commit | 88a84e3bc371d1b1b3533143658ad192476c59ab (patch) | |
| tree | d97287b96173f82b5373017fbcf2ef829933b093 /ue2/imgsynth2/cwindowsbitmap.cpp | |
| parent | 5f499a8233c7bb68b52b8fdeddac9a06061ea4d7 (diff) | |
| download | ooprog-88a84e3bc371d1b1b3533143658ad192476c59ab.tar.gz ooprog-88a84e3bc371d1b1b3533143658ad192476c59ab.tar.bz2 ooprog-88a84e3bc371d1b1b3533143658ad192476c59ab.zip | |
forgot to remove dtor...
Diffstat (limited to 'ue2/imgsynth2/cwindowsbitmap.cpp')
| -rw-r--r-- | ue2/imgsynth2/cwindowsbitmap.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/ue2/imgsynth2/cwindowsbitmap.cpp b/ue2/imgsynth2/cwindowsbitmap.cpp index 6909136..ebbdd4c 100644 --- a/ue2/imgsynth2/cwindowsbitmap.cpp +++ b/ue2/imgsynth2/cwindowsbitmap.cpp | |||
| @@ -27,22 +27,6 @@ CWindowsBitmap::CWindowsBitmap() | |||
| 27 | 27 | ||
| 28 | /*----------------------------------------------------------------------------*/ | 28 | /*----------------------------------------------------------------------------*/ |
| 29 | 29 | ||
| 30 | CWindowsBitmap::~CWindowsBitmap() | ||
| 31 | { | ||
| 32 | /* delete pixeldata */ | ||
| 33 | if (m_pixeldata != NULL) | ||
| 34 | delete[] m_pixeldata; | ||
| 35 | m_pixeldata = NULL; | ||
| 36 | |||
| 37 | /* delete pixelformat handlers */ | ||
| 38 | set<CPixelFormat *>::iterator it; | ||
| 39 | for (it = m_handlers.begin(); it != m_handlers.end(); it++) | ||
| 40 | delete *it; | ||
| 41 | m_pixelformat = NULL; | ||
| 42 | } | ||
| 43 | |||
| 44 | /*----------------------------------------------------------------------------*/ | ||
| 45 | |||
| 46 | void CWindowsBitmap::read(std::ifstream& in) | 30 | void CWindowsBitmap::read(std::ifstream& in) |
| 47 | { | 31 | { |
| 48 | /* read and check file header */ | 32 | /* read and check file header */ |
