mirror of
https://invent.kde.org/graphics/okular
synced 2024-09-12 20:51:17 +00:00
Fix warning
svn path=/branches/work/kde4/kdegraphics/kdvi/; revision=434537
This commit is contained in:
parent
a6e7f4ee3c
commit
255acb100a
|
@ -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;
|
||||
|
|
|
@ -199,7 +199,7 @@ private:
|
|||
void prescan_setChar(unsigned int ch);
|
||||
|
||||
/* */
|
||||
QValueVector<PreBookmark> prebookmarks;
|
||||
Q3ValueVector<PreBookmark> prebookmarks;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue