summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoGenStyles.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/KoGenStyles.cpp')
-rw-r--r--lib/kofficecore/KoGenStyles.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kofficecore/KoGenStyles.cpp b/lib/kofficecore/KoGenStyles.cpp
index 5c8f680f..e140ac50 100644
--- a/lib/kofficecore/KoGenStyles.cpp
+++ b/lib/kofficecore/KoGenStyles.cpp
@@ -225,7 +225,7 @@ void KoGenStyle::writeStyle( KoXmlWriter* writer, KoGenStyles& styles, const cha
}
if ( !m_familyName.isEmpty() )
const_cast<KoGenStyle *>( this )->
- addAttribute( "style:family", TQString::tqfromLatin1( m_familyName ) );
+ addAttribute( "style:family", TQString::fromLatin1( m_familyName ) );
else {
if ( qstrcmp( elementName, "style:style" ) == 0 )
kdWarning(30003) << "User style " << name << " is without family - invalid. m_type=" << m_type << endl;