Commit 63670f8f authored by Christophe Devriese's avatar Christophe Devriese

removed the reason for lots of warnings (the deprecated conversion from "boem" to char *)

svn path=/trunk/kdegraphics/kpdf/; revision=253155
parent 17c16d69
......@@ -21,6 +21,9 @@
#include <math.h>
#include <iostream>
// include xpdf config.h file
#include "config.h"
#include <GString.h>
#include <Object.h>
#include <Stream.h>
......@@ -63,8 +66,8 @@ static inline QColor q_col ( const GfxRGB &rgb )
//------------------------------------------------------------------------
struct QOutFontSubst {
char * m_name;
char * m_sname;
const char * m_name;
const char * m_sname;
bool m_bold;
bool m_italic;
QFont::StyleHint m_hint;
......
......@@ -65,8 +65,8 @@ static inline QColor q_col ( const GfxRGB &rgb )
//------------------------------------------------------------------------
struct QOutFontSubst {
char * m_name;
char * m_sname;
const char * m_name;
const char * m_sname;
bool m_bold;
bool m_italic;
QFont::StyleHint m_hint;
......
// include xpdf config file
#include "config.h"
#include "QOutputDevPixmap.h"
#include <kglobal.h>
......
#include "kpdf_part.h"
#include "kpdf_part.moc"
#include <math.h>
......@@ -663,6 +663,4 @@ BrowserExtension::print()
static_cast<Part*>(parent())->print();
}
#include "kpdf_part.moc"
// vim:ts=2:sw=2:tw=78:et
......@@ -23,8 +23,8 @@ class BuiltinFontWidths;
//------------------------------------------------------------------------
struct BuiltinFont {
char *name;
char **defaultBaseEnc;
const char *name;
const char **defaultBaseEnc;
short ascent;
short descent;
short bbox[4];
......@@ -34,7 +34,7 @@ struct BuiltinFont {
//------------------------------------------------------------------------
struct BuiltinFontWidth {
char *name;
const char *name;
Gushort width;
BuiltinFontWidth *next;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment