diff options
author | João Abecasis <joao@abecasis.name> | 2009-10-07 07:44:18 (GMT) |
---|---|---|
committer | João Abecasis <joao@abecasis.name> | 2009-10-07 10:44:41 (GMT) |
commit | 41a47906475f3970bd662c3d24e7e642ea65a191 (patch) | |
tree | bda10c4b1885e7754481749626b5dcbe5362c07a /examples/richtext | |
parent | 350410f19fd589986e51eba8f018abd92eddc287 (diff) | |
download | Qt-41a47906475f3970bd662c3d24e7e642ea65a191.zip Qt-41a47906475f3970bd662c3d24e7e642ea65a191.tar.gz Qt-41a47906475f3970bd662c3d24e7e642ea65a191.tar.bz2 |
Fixing some GCC warnings
Reviewed-by: Markus Goetz
Diffstat (limited to 'examples/richtext')
-rw-r--r-- | examples/richtext/textobject/svgtextobject.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/richtext/textobject/svgtextobject.cpp b/examples/richtext/textobject/svgtextobject.cpp index f5810b6..cf0b0ba 100644 --- a/examples/richtext/textobject/svgtextobject.cpp +++ b/examples/richtext/textobject/svgtextobject.cpp @@ -46,7 +46,7 @@ #include "window.h" //![0] -QSizeF SvgTextObject::intrinsicSize(QTextDocument *doc, int posInDocument, +QSizeF SvgTextObject::intrinsicSize(QTextDocument * /*doc*/, int /*posInDocument*/, const QTextFormat &format) { QImage bufferedImage = qVariantValue<QImage>(format.property(Window::SvgData)); @@ -61,7 +61,7 @@ QSizeF SvgTextObject::intrinsicSize(QTextDocument *doc, int posInDocument, //![1] void SvgTextObject::drawObject(QPainter *painter, const QRectF &rect, - QTextDocument *doc, int posInDocument, + QTextDocument * /*doc*/, int /*posInDocument*/, const QTextFormat &format) { QImage bufferedImage = qVariantValue<QImage>(format.property(Window::SvgData)); |