aboutsummaryrefslogtreecommitdiff
path: root/common/dcl.cpp
diff options
context:
space:
mode:
authorChristoph Mallon2011-08-06 09:47:19 +0200
committerChristoph Mallon2011-08-07 15:19:07 +0200
commit84220d2ca05707f22a0242b1745caf0b657237a3 (patch)
tree2982f113aae0d6bd41b394f44c64664270982933 /common/dcl.cpp
parentb3997f0562e31f41716ecaff24cc3431925f0029 (diff)
downloadscummvm-rg350-84220d2ca05707f22a0242b1745caf0b657237a3.tar.gz
scummvm-rg350-84220d2ca05707f22a0242b1745caf0b657237a3.tar.bz2
scummvm-rg350-84220d2ca05707f22a0242b1745caf0b657237a3.zip
COMMON: Remove superfluous Common:: qualifiers.
Diffstat (limited to 'common/dcl.cpp')
-rw-r--r--common/dcl.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/common/dcl.cpp b/common/dcl.cpp
index b75f7f3fa6..1879be992d 100644
--- a/common/dcl.cpp
+++ b/common/dcl.cpp
@@ -30,7 +30,7 @@ namespace Common {
class DecompressorDCL {
public:
- bool unpack(Common::ReadStream *src, byte *dest, uint32 nPacked, uint32 nUnpacked);
+ bool unpack(ReadStream *src, byte *dest, uint32 nPacked, uint32 nUnpacked);
protected:
/**
@@ -41,7 +41,7 @@ protected:
* @param nUnpacket size of unpacked data
* @return 0 on success, non-zero on error
*/
- void init(Common::ReadStream *src, byte *dest, uint32 nPacked, uint32 nUnpacked);
+ void init(ReadStream *src, byte *dest, uint32 nPacked, uint32 nUnpacked);
/**
* Get a number of bits from _src stream, starting with the least
@@ -73,12 +73,11 @@ protected:
uint32 _szUnpacked; ///< size of the decompressed data
uint32 _dwRead; ///< number of bytes read from _src
uint32 _dwWrote; ///< number of bytes written to _dest
- Common::ReadStream *_src;
+ ReadStream *_src;
byte *_dest;
};
-void DecompressorDCL::init(Common::ReadStream *src, byte *dest, uint32 nPacked,
- uint32 nUnpacked) {
+void DecompressorDCL::init(ReadStream *src, byte *dest, uint32 nPacked, uint32 nUnpacked) {
_src = src;
_dest = dest;
_szPacked = nPacked;
@@ -333,7 +332,7 @@ int DecompressorDCL::huffman_lookup(const int *tree) {
#define DCL_BINARY_MODE 0
#define DCL_ASCII_MODE 1
-bool DecompressorDCL::unpack(Common::ReadStream *src, byte *dest, uint32 nPacked, uint32 nUnpacked) {
+bool DecompressorDCL::unpack(ReadStream *src, byte *dest, uint32 nPacked, uint32 nUnpacked) {
init(src, dest, nPacked, nUnpacked);
int value;