summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrSVGPathParser.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-13 13:15:14 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-13 13:15:14 -0600
commit735d75d6ce19269dc5faa00abc8f88ff30ce2f23 (patch)
tree4e85ad9cc0479892232125234c6b71c4f17ac611 /kpresenter/KPrSVGPathParser.cpp
parentb180811d9a814c638032f77aaf02e84a3126328c (diff)
downloadkoffice-735d75d6ce19269dc5faa00abc8f88ff30ce2f23.tar.gz
koffice-735d75d6ce19269dc5faa00abc8f88ff30ce2f23.zip
Fix inadvertent TQt string conversions
This closes Bug 782
Diffstat (limited to 'kpresenter/KPrSVGPathParser.cpp')
-rw-r--r--kpresenter/KPrSVGPathParser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kpresenter/KPrSVGPathParser.cpp b/kpresenter/KPrSVGPathParser.cpp
index e452cdfa..97e8ac8b 100644
--- a/kpresenter/KPrSVGPathParser.cpp
+++ b/kpresenter/KPrSVGPathParser.cpp
@@ -38,9 +38,9 @@ ObjType KPrSVGPathParser::getType( TQString &d )
{
objType = OT_FREEHAND;
}
- else if ( ( m_pathType & SEEN_TQUADRIC ) && ! ( m_pathType & SEEN_CUBIC ) )
+ else if ( ( m_pathType & SEEN_QUADRIC ) && ! ( m_pathType & SEEN_CUBIC ) )
{
- objType = OT_TQUADRICBEZIERCURVE;
+ objType = OT_QUADRICBEZIERCURVE;
}
else if ( m_pathType & SEEN_CUBIC )
{
@@ -119,7 +119,7 @@ void KPrSVGPathParser::svgCurveToCubic( double x1, double y1, double x2, double
if ( x1 == x2 && y1 == y2 )
{
- m_pathType |= SEEN_TQUADRIC;
+ m_pathType |= SEEN_QUADRIC;
}
else
{