Fix warning

svn path=/branches/work/kde4/kdegraphics/kdvi/; revision=434537
This commit is contained in:
Laurent Montel 2005-07-14 13:24:14 +00:00
parent a6e7f4ee3c
commit 255acb100a
3 changed files with 3 additions and 3 deletions

View file

@ -359,7 +359,7 @@ bool dvifile::saveAs(const QString &filename)
return false;
QFile out(filename);
if (out.open( IO_Raw|QIODevice::WriteOnly ) == false)
if (out.open( QIODevice::WriteOnly ) == false)
return false;
if (out.writeBlock ( (char *)(dvi_Data()), size_of_file ) == -1)
return false;

View file

@ -199,7 +199,7 @@ private:
void prescan_setChar(unsigned int ch);
/* */
QValueVector<PreBookmark> prebookmarks;
Q3ValueVector<PreBookmark> prebookmarks;

View file

@ -108,7 +108,7 @@ void KDVIMultiPage::doExportText(void)
dummyPage.setPageNumber(page);
DVIRenderer.drawPage(100.0, &dummyPage); // We gracefully ingore any errors (bad dvi-file, etc.) which may occur during draw_page()
for(unsigned int i=0; i<dummyPage.textBoxList.size(); i++)
for(int i=0; i<dummyPage.textBoxList.size(); i++)
stream << dummyPage.textBoxList[i].text << endl;
}