summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kivio_page.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/kivio_page.cpp')
-rw-r--r--kivio/kiviopart/kivio_page.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kivio/kiviopart/kivio_page.cpp b/kivio/kiviopart/kivio_page.cpp
index 4a8fd51b..6e799f93 100644
--- a/kivio/kiviopart/kivio_page.cpp
+++ b/kivio/kiviopart/kivio_page.cpp
@@ -154,8 +154,8 @@ TQDomElement KivioPage::save( TQDomDocument& doc )
page.setAttribute( "hide", (int)m_bPageHide );
// Create a child element for the page tqlayout
- TQDomElement tqlayoutE = saveLayout( doc );
- page.appendChild( tqlayoutE );
+ TQDomElement layoutE = saveLayout( doc );
+ page.appendChild( layoutE );
// Save guides
TQDomElement guidesElement = doc.createElement("GuidesLayout");
@@ -191,10 +191,10 @@ void KivioPage::saveOasis(KoStore* /*store*/, KoXmlWriter* docWriter, KoGenStyle
docWriter->addAttribute("draw:master-page-name", "Standard");
} else {
KoGenStyle pageLayout = m_pPageLayout.saveOasis();
- TQString tqlayoutName = styles->lookup(pageLayout, "PL");
+ TQString layoutName = styles->lookup(pageLayout, "PL");
KoGenStyle masterPage(KoGenStyle::STYLE_MASTER);
- masterPage.addAttribute("style:page-tqlayout-name", tqlayoutName);
+ masterPage.addAttribute("style:page-tqlayout-name", layoutName);
TQString masterName = styles->lookup(masterPage, "MP");
docWriter->addAttribute("draw:master-page-name", masterName);