summaryrefslogtreecommitdiffstats
path: root/qtools
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2012-02-25 15:18:56 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2012-02-25 15:18:56 (GMT)
commitc3a03d5cb1f856d2b3a7bff8ddf74416a1281f66 (patch)
tree2a7451abfd771d43ea2b3ac2443d94c3eb5cfee7 /qtools
parent709a80a791105768cbf8e9d58fdc811c23e071f0 (diff)
downloadDoxygen-c3a03d5cb1f856d2b3a7bff8ddf74416a1281f66.zip
Doxygen-c3a03d5cb1f856d2b3a7bff8ddf74416a1281f66.tar.gz
Doxygen-c3a03d5cb1f856d2b3a7bff8ddf74416a1281f66.tar.bz2
Release-1.8.0
Diffstat (limited to 'qtools')
-rw-r--r--qtools/qdir_unix.cpp6
-rw-r--r--qtools/qxml.cpp2
-rw-r--r--qtools/qxml.h4
3 files changed, 6 insertions, 6 deletions
diff --git a/qtools/qdir_unix.cpp b/qtools/qdir_unix.cpp
index 46a3b69..e845043 100644
--- a/qtools/qdir_unix.cpp
+++ b/qtools/qdir_unix.cpp
@@ -82,12 +82,12 @@ QString QDir::canonicalPath() const
char cur[PATH_MAX];
char tmp[PATH_MAX];
- GETCWD( cur, PATH_MAX );
+ (void)GETCWD( cur, PATH_MAX );
if ( CHDIR(QFile::encodeName(dPath)) >= 0 ) {
- GETCWD( tmp, PATH_MAX );
+ (void)GETCWD( tmp, PATH_MAX );
r = QFile::decodeName(tmp);
}
- CHDIR( cur );
+ (void)CHDIR( cur );
slashify( r );
return r;
diff --git a/qtools/qxml.cpp b/qtools/qxml.cpp
index 83ab89d..ec21c1f 100644
--- a/qtools/qxml.cpp
+++ b/qtools/qxml.cpp
@@ -1515,7 +1515,7 @@ bool QXmlDefaultHandler::unparsedEntityDecl( const QString&, const QString&,
provided in the XML document.
*/
bool QXmlDefaultHandler::resolveEntity( const QString&, const QString&,
- QXmlInputSource* ret )
+ QXmlInputSource* &ret )
{
ret = 0;
return TRUE;
diff --git a/qtools/qxml.h b/qtools/qxml.h
index 36164ff..0797b94 100644
--- a/qtools/qxml.h
+++ b/qtools/qxml.h
@@ -440,7 +440,7 @@ class QM_EXPORT QXmlEntityResolver
{
public:
virtual ~QXmlEntityResolver() {}
- virtual bool resolveEntity( const QString& publicId, const QString& systemId, QXmlInputSource* ret ) = 0;
+ virtual bool resolveEntity( const QString& publicId, const QString& systemId, QXmlInputSource* &ret ) = 0;
virtual QString errorString() = 0;
};
@@ -494,7 +494,7 @@ public:
bool notationDecl( const QString& name, const QString& publicId, const QString& systemId );
bool unparsedEntityDecl( const QString& name, const QString& publicId, const QString& systemId, const QString& notationName );
- bool resolveEntity( const QString& publicId, const QString& systemId, QXmlInputSource* ret );
+ bool resolveEntity( const QString& publicId, const QString& systemId, QXmlInputSource* &ret );
bool startDTD( const QString& name, const QString& publicId, const QString& systemId );
bool endDTD();