diff options
Diffstat (limited to 'kword/KWImportStyleDia.cpp')
-rw-r--r-- | kword/KWImportStyleDia.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kword/KWImportStyleDia.cpp b/kword/KWImportStyleDia.cpp index 725c932e..2eefb164 100644 --- a/kword/KWImportStyleDia.cpp +++ b/kword/KWImportStyleDia.cpp @@ -21,7 +21,7 @@ #include "KWDocument.h" #include <tqvbox.h> -#include <tqlayout.h> +#include <layout.h> #include <tqlineedit.h> #include <tqpushbutton.h> #include <tqlistbox.h> @@ -99,7 +99,7 @@ void KWImportStyleDia::loadFile() TQDomElement styleElem = listStyles.item( item ).toElement(); KoParagStyle *sty = new KoParagStyle( TQString() ); - // Load the paragtqlayout from the <STYLE> element + // Load the paraglayout from the <STYLE> element sty->loadStyle( styleElem, m_doc->syntaxVersion() ); //#### wrong syntaxVersion! TQString name = sty->displayName(); @@ -196,7 +196,7 @@ TQString KWImportFrameTableStyleDia::generateStyleName( const TQString & templat int num = 1; bool exists; do { - name = templateName.tqarg( num ); + name = templateName.arg( num ); exists = (m_list.findIndex( name )!=-1); ++num; } while ( exists ); |