summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrPage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrPage.cpp')
-rw-r--r--kpresenter/KPrPage.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kpresenter/KPrPage.cpp b/kpresenter/KPrPage.cpp
index 3eff9180..656b48e2 100644
--- a/kpresenter/KPrPage.cpp
+++ b/kpresenter/KPrPage.cpp
@@ -538,7 +538,7 @@ bool KPrPage::saveOasisPage( KoStore *store, KoXmlWriter &xmlWriter, int posPage
xmlWriter.startElement( "style:master-page" );
xmlWriter.addAttribute( "style:name", "Standard" );
- xmlWriter.addAttribute( "style:page-tqlayout-name", pageLayoutName );
+ xmlWriter.addAttribute( "style:page-layout-name", pageLayoutName );
TQString styleName = saveOasisPageStyle( store, context.mainStyles() );
if ( !styleName.isEmpty() )
@@ -655,7 +655,7 @@ bool KPrPage::saveOasisNote( KoXmlWriter &xmlWriter ) const
return true;
//todo : add size for draw:text-box otherwise we can't import into oo
- //<draw:text-box presentation:style-name="pr1" draw:text-style-name="P1" draw:layer="tqlayout" svg:width="14.5cm" svg:height="11.408cm" svg:x="3.247cm" svg:y="14.126cm" presentation:class="notes">
+ //<draw:text-box presentation:style-name="pr1" draw:text-style-name="P1" draw:layer="layout" svg:width="14.5cm" svg:height="11.408cm" svg:x="3.247cm" svg:y="14.126cm" presentation:class="notes">
xmlWriter.startElement( "presentation:notes" );
xmlWriter.startElement( "draw:frame" );
//todo save style
@@ -2445,7 +2445,7 @@ void KPrPage::changeTabStopValue ( double _tabStop )
if ( obj )
{
obj->textDocument()->setTabStops( m_doc->zoomHandler()->ptToLayoutUnitPixX( _tabStop ));
- obj->tqlayout();
+ obj->layout();
m_doc->repaint( obj );
}
}