mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 00:03:22 +00:00
[FORMATTING][NTOS][HAL][DRIVERS][SDK] Fix trailing spaces
This commit is contained in:
parent
4b4ffa92f5
commit
34593d933b
952 changed files with 12942 additions and 12942 deletions
|
@ -716,7 +716,7 @@ XMLNode::~XMLNode()
|
|||
}
|
||||
}
|
||||
|
||||
const char* XMLNode::Value() const
|
||||
const char* XMLNode::Value() const
|
||||
{
|
||||
// Catch an edge case: XMLDocuments don't have a a Value. Carefully return nullptr.
|
||||
if ( this->ToDocument() )
|
||||
|
@ -1239,12 +1239,12 @@ bool XMLUnknown::Accept( XMLVisitor* visitor ) const
|
|||
|
||||
// --------- XMLAttribute ---------- //
|
||||
|
||||
const char* XMLAttribute::Name() const
|
||||
const char* XMLAttribute::Name() const
|
||||
{
|
||||
return _name.GetStr();
|
||||
}
|
||||
|
||||
const char* XMLAttribute::Value() const
|
||||
const char* XMLAttribute::Value() const
|
||||
{
|
||||
return _value.GetStr();
|
||||
}
|
||||
|
@ -1434,7 +1434,7 @@ void XMLElement::SetText( const char* inText )
|
|||
}
|
||||
|
||||
|
||||
void XMLElement::SetText( int v )
|
||||
void XMLElement::SetText( int v )
|
||||
{
|
||||
char buf[BUF_SIZE];
|
||||
XMLUtil::ToStr( v, buf, BUF_SIZE );
|
||||
|
@ -1442,7 +1442,7 @@ void XMLElement::SetText( int v )
|
|||
}
|
||||
|
||||
|
||||
void XMLElement::SetText( unsigned v )
|
||||
void XMLElement::SetText( unsigned v )
|
||||
{
|
||||
char buf[BUF_SIZE];
|
||||
XMLUtil::ToStr( v, buf, BUF_SIZE );
|
||||
|
@ -1450,7 +1450,7 @@ void XMLElement::SetText( unsigned v )
|
|||
}
|
||||
|
||||
|
||||
void XMLElement::SetText( bool v )
|
||||
void XMLElement::SetText( bool v )
|
||||
{
|
||||
char buf[BUF_SIZE];
|
||||
XMLUtil::ToStr( v, buf, BUF_SIZE );
|
||||
|
@ -1458,7 +1458,7 @@ void XMLElement::SetText( bool v )
|
|||
}
|
||||
|
||||
|
||||
void XMLElement::SetText( float v )
|
||||
void XMLElement::SetText( float v )
|
||||
{
|
||||
char buf[BUF_SIZE];
|
||||
XMLUtil::ToStr( v, buf, BUF_SIZE );
|
||||
|
@ -1466,7 +1466,7 @@ void XMLElement::SetText( float v )
|
|||
}
|
||||
|
||||
|
||||
void XMLElement::SetText( double v )
|
||||
void XMLElement::SetText( double v )
|
||||
{
|
||||
char buf[BUF_SIZE];
|
||||
XMLUtil::ToStr( v, buf, BUF_SIZE );
|
||||
|
@ -1808,7 +1808,7 @@ void XMLDocument::Clear()
|
|||
_commentPool.Trace( "comment" );
|
||||
_attributePool.Trace( "attribute" );
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
if ( !hadError ) {
|
||||
TIXMLASSERT( _elementPool.CurrentAllocs() == _elementPool.Untracked() );
|
||||
|
@ -1884,7 +1884,7 @@ static FILE* callfopen( const char* filepath, const char* mode )
|
|||
#endif
|
||||
return fp;
|
||||
}
|
||||
|
||||
|
||||
void XMLDocument::DeleteNode( XMLNode* node ) {
|
||||
TIXMLASSERT( node );
|
||||
TIXMLASSERT(node->_document == this );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue