src/svg/qsvgtinydocument_p.h
changeset 30 5dc02b23752f
parent 18 2f34d5167611
--- a/src/svg/qsvgtinydocument_p.h	Wed Jun 23 19:07:03 2010 +0300
+++ b/src/svg/qsvgtinydocument_p.h	Tue Jul 06 15:10:48 2010 +0300
@@ -173,9 +173,8 @@
 
 inline QRectF QSvgTinyDocument::viewBox() const
 {
-    if (m_viewBox.isNull()) {
-        m_viewBox = transformedBounds(QTransform());
-    }
+    if (m_viewBox.isNull())
+        m_viewBox = transformedBounds();
 
     return m_viewBox;
 }