diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-03 00:48:24 +0900 | 
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-05 11:58:00 +0900 | 
| commit | c9e40417ac00954826c50f8f6579639255c46476 (patch) | |
| tree | 09214c65532ed685a0f1ead2dbb36da3536a9986 /ksvg/core/KSVGLoader.cpp | |
| parent | 1fe6cb7fd446f44bb4d5d6074708c066eb1620b2 (diff) | |
| download | tdegraphics-c9e40417ac00954826c50f8f6579639255c46476.tar.gz tdegraphics-c9e40417ac00954826c50f8f6579639255c46476.zip  | |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3849f5c32c10eba032a6738fd47331c0fa6afe1c)
Diffstat (limited to 'ksvg/core/KSVGLoader.cpp')
| -rw-r--r-- | ksvg/core/KSVGLoader.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/ksvg/core/KSVGLoader.cpp b/ksvg/core/KSVGLoader.cpp index f075d2ff..91fdc0fb 100644 --- a/ksvg/core/KSVGLoader.cpp +++ b/ksvg/core/KSVGLoader.cpp @@ -128,14 +128,14 @@ void KSVGLoader::slotResult(TDEIO::Job *job)  			if(check.contains(".svgz") || check.contains(".svg.gz"))  			{  				// decode the gzipped svg and emit it -				TQIODevice *dev = KFilterDev::device(TQT_TQIODEVICE(new TQBuffer(m_data)), "application/x-gzip"); +				TQIODevice *dev = KFilterDev::device(new TQBuffer(m_data), "application/x-gzip");  				dev->open(IO_ReadOnly);  				emit gotResult(dev);  			}  			else  			{  				m_job = 0; -				emit gotResult(TQT_TQIODEVICE(new TQBuffer(m_data))); +				emit gotResult(new TQBuffer(m_data));  				m_data.resize(0);  			}  		} @@ -162,7 +162,7 @@ void KSVGLoader::slotResult(TDEIO::Job *job)  				if(buffer.open(IO_ReadOnly))  				{ -					const char *imageFormat = TQImageIO::imageFormat(TQT_TQIODEVICE(&buffer)); +					const char *imageFormat = TQImageIO::imageFormat(&buffer);  					if(imageFormat != 0)  					{  | 
