summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kiviosdk/kivio_dia_stencil_spawner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/kiviosdk/kivio_dia_stencil_spawner.cpp')
-rw-r--r--kivio/kiviopart/kiviosdk/kivio_dia_stencil_spawner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kivio/kiviopart/kiviosdk/kivio_dia_stencil_spawner.cpp b/kivio/kiviopart/kiviosdk/kivio_dia_stencil_spawner.cpp
index 7dac3244..ada33c4c 100644
--- a/kivio/kiviopart/kiviosdk/kivio_dia_stencil_spawner.cpp
+++ b/kivio/kiviopart/kiviosdk/kivio_dia_stencil_spawner.cpp
@@ -83,7 +83,7 @@ bool KivioDiaStencilSpawner::load(const TQString &file)
return false;
}
dia.setContent(&f);
- TQDomNode diaMain = dia.namedItem("tqshape");
+ TQDomNode diaMain = dia.namedItem("shape");
// Set "creator" attribute
TQDomElement firstElement = kivio.createElement("KivioShapeStencil");
@@ -250,7 +250,7 @@ bool KivioDiaStencilSpawner::load(const TQString &file)
//}
//else
{
- // scale the tqshape to be close to 30 by 30
+ // scale the shape to be close to 30 by 30
m_yscale = 30.0/(m_highesty - m_lowesty);
m_xscale = 30.0/(m_highestx - m_lowestx);
}