summaryrefslogtreecommitdiffstats
path: root/filters/karbon/xfig
diff options
context:
space:
mode:
Diffstat (limited to 'filters/karbon/xfig')
-rw-r--r--filters/karbon/xfig/xfigimport.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/filters/karbon/xfig/xfigimport.cc b/filters/karbon/xfig/xfigimport.cc
index 015c4006..c3d6ab6a 100644
--- a/filters/karbon/xfig/xfigimport.cc
+++ b/filters/karbon/xfig/xfigimport.cc
@@ -167,7 +167,7 @@ bool XFIGImport::filterImport( const TQString &file, KoDocument *doc,
char buf[255];
int value;
- KoPageLayout tqlayout;
+ KoPageLayout layout;
ifstream fin( file.local8Bit() );
if (! fin)
@@ -177,7 +177,7 @@ bool XFIGImport::filterImport( const TQString &file, KoDocument *doc,
GDocument *gdoc = kidoc->gdoc();
//GPage *activePage = gdoc->activePage();
- tqlayout = gdoc->activePage()->pageLayout ();
+ layout = gdoc->activePage()->pageLayout ();
fin.getline (buf, 255);
if (::strncmp (buf, "#FIG 3", 6)) {
@@ -203,9 +203,9 @@ bool XFIGImport::filterImport( const TQString &file, KoDocument *doc,
// orientation
fin.getline (buf, 255);
if (::strcmp (buf, "Landscape") == 0)
- tqlayout.orientation = PG_LANDSCAPE;
+ layout.orientation = PG_LANDSCAPE;
else if (::strcmp (buf, "Portrait") == 0)
- tqlayout.orientation = PG_PORTRAIT;
+ layout.orientation = PG_PORTRAIT;
else
kdDebug() << "ERROR: invalid orientation" << endl;
@@ -215,9 +215,9 @@ bool XFIGImport::filterImport( const TQString &file, KoDocument *doc,
// units
fin.getline (buf, 255);
if (::strcmp (buf, "Metric") == 0)
- tqlayout.unit = PG_MM;
+ layout.unit = PG_MM;
else if (::strcmp (buf, "Inches") == 0)
- tqlayout.unit = PG_INCH;
+ layout.unit = PG_INCH;
else
kdDebug() << "ERROR: invalid units" << endl;