[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kword
From: David Faure <faure () kde ! org>
Date: 2004-08-18 22:40:22
Message-ID: 20040818224022.DCF7A9993 () office ! kde ! org
[Download RAW message or body]
CVS commit by faure:
Don't use m_ for local variables
M +5 -5 kwdoc.cc 1.699
--- koffice/kword/kwdoc.cc #1.698:1.699
@@ -2936,6 +2936,6 @@ QDomDocument KWDocument::saveXML()
QDomElement styles = doc.createElement( "STYLES" );
kwdoc.appendChild( styles );
- QPtrList<KoParagStyle> m_styleList(m_styleColl->styleList());
- for ( KoParagStyle * p = m_styleList.first(); p != 0L; p = m_styleList.next() )
+ QPtrList<KoParagStyle> styleList(m_styleColl->styleList());
+ for ( KoParagStyle * p = styleList.first(); p != 0L; p = styleList.next() )
saveStyle( p, styles );
@@ -4428,6 +4428,6 @@ void KWDocument::printStyleDebug()
{
kdDebug() << "----------------------------------------"<<endl;
- QPtrList<KoParagStyle> m_styleList(m_styleColl->styleList());
- for ( KoParagStyle * p = m_styleList.first(); p != 0L; p = m_styleList.next() )
+ QPtrList<KoParagStyle> styleList(m_styleColl->styleList());
+ for ( KoParagStyle * p = styleList.first(); p != 0L; p = styleList.next() )
{
kdDebug() << "Style " << p << " " << p->name() <<endl;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic