summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoOasisStyles.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/KoOasisStyles.cpp')
-rw-r--r--lib/kofficecore/KoOasisStyles.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kofficecore/KoOasisStyles.cpp b/lib/kofficecore/KoOasisStyles.cpp
index 04a0eb20..fe88a11b 100644
--- a/lib/kofficecore/KoOasisStyles.cpp
+++ b/lib/kofficecore/KoOasisStyles.cpp
@@ -26,7 +26,7 @@
#include <tqbuffer.h>
#include <kglobal.h>
#include <klocale.h>
-#include <brush.h>
+#include <tqbrush.h>
#include <KoStyleStack.h>
class KoOasisStyles::Private
@@ -194,9 +194,9 @@ void KoOasisStyles::insertStyle( const TQDomElement& e, bool styleAutoStyles )
//kdDebug(30003) << "Style: '" << name << "' loaded " << endl;
}
} else if ( ns == KoXmlNS::style && (
- localName == "page-layout"
+ localName == "page-tqlayout"
|| localName == "font-decl"
- || localName == "presentation-page-layout" ) )
+ || localName == "presentation-page-tqlayout" ) )
{
if ( m_styles.find( name ) != 0 )
kdDebug(30003) << "Style: '" << name << "' already exists" << endl;