diff options
-rw-r--r-- | x11/kdelibs2/files/patch-kdoctools::xml2man.cpp | 2 | ||||
-rw-r--r-- | x11/kdelibs3/files/patch-kdoctools::xml2man.cpp | 2 | ||||
-rw-r--r-- | x11/kdelibs4/files/patch-kdoctools::xml2man.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/x11/kdelibs2/files/patch-kdoctools::xml2man.cpp b/x11/kdelibs2/files/patch-kdoctools::xml2man.cpp index fb020b58532c..891dc9bcb853 100644 --- a/x11/kdelibs2/files/patch-kdoctools::xml2man.cpp +++ b/x11/kdelibs2/files/patch-kdoctools::xml2man.cpp @@ -7,7 +7,7 @@ - QCString contents; - contents.assign(xmlFile.readAll()); - contents.truncate(xmlFile.size()); -+ QCString contents(xmlFile.radAll(), xmlFile.size() + 1); ++ QCString contents(xmlFile.readAll(), xmlFile.size() + 1); xmlFile.close(); contents.replace( QRegExp( "<!--[^-]*-->" ), "" ); diff --git a/x11/kdelibs3/files/patch-kdoctools::xml2man.cpp b/x11/kdelibs3/files/patch-kdoctools::xml2man.cpp index fb020b58532c..891dc9bcb853 100644 --- a/x11/kdelibs3/files/patch-kdoctools::xml2man.cpp +++ b/x11/kdelibs3/files/patch-kdoctools::xml2man.cpp @@ -7,7 +7,7 @@ - QCString contents; - contents.assign(xmlFile.readAll()); - contents.truncate(xmlFile.size()); -+ QCString contents(xmlFile.radAll(), xmlFile.size() + 1); ++ QCString contents(xmlFile.readAll(), xmlFile.size() + 1); xmlFile.close(); contents.replace( QRegExp( "<!--[^-]*-->" ), "" ); diff --git a/x11/kdelibs4/files/patch-kdoctools::xml2man.cpp b/x11/kdelibs4/files/patch-kdoctools::xml2man.cpp index fb020b58532c..891dc9bcb853 100644 --- a/x11/kdelibs4/files/patch-kdoctools::xml2man.cpp +++ b/x11/kdelibs4/files/patch-kdoctools::xml2man.cpp @@ -7,7 +7,7 @@ - QCString contents; - contents.assign(xmlFile.readAll()); - contents.truncate(xmlFile.size()); -+ QCString contents(xmlFile.radAll(), xmlFile.size() + 1); ++ QCString contents(xmlFile.readAll(), xmlFile.size() + 1); xmlFile.close(); contents.replace( QRegExp( "<!--[^-]*-->" ), "" ); |