Skip to content

Commit

Permalink
get test files in sync - whitespace changes only
Browse files Browse the repository at this point in the history
  • Loading branch information
skeating committed May 23, 2023
1 parent 2b44318 commit 0590ae6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,7 @@ TSBDocument::getAllElements(TSBElementFilter* filter)
/*
* Returns the value of the "Namespaces" element of this TSBDocument.
*/
const XMLNamespaces*
const XMLNamespaces*
TSBDocument::getNamespaces() const
{
return mTSBNamespaces->getNamespaces();
Expand All @@ -919,7 +919,7 @@ TSBDocument::getNamespaces() const
/*
* Returns the value of the "Namespaces" element of this TSBDocument.
*/
XMLNamespaces*
XMLNamespaces*
TSBDocument::getNamespaces()
{
return mTSBNamespaces->getNamespaces();
Expand Down Expand Up @@ -1162,16 +1162,14 @@ TSBDocument::writeAttributes(XMLOutputStream& stream) const
* Writes the namespace for the Tsb package
*/
void
TSBDocument::writeXMLNS( XMLOutputStream&
stream) const
TSBDocument::writeXMLNS(XMLOutputStream& stream) const
{
XMLNamespaces xmlns;
XMLNamespaces xmlns;
std::string prefix = getPrefix();

if (prefix.empty())
{
const XMLNamespaces* thisxmlns =
getNamespaces();
const XMLNamespaces* thisxmlns = getNamespaces();
if (thisxmlns && thisxmlns->hasURI(TSB_XMLNS_L1V1))
{
xmlns.add(TSB_XMLNS_L1V1, prefix);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -815,19 +815,18 @@ class LIBTSB_EXTERN TSBDocument : public TSBBase
* Returns the value of the "Namespaces" element of this TSBDocument.
*
* @return the value of the "Namespaces" element of this TSBDocument as a
* XMLNamespaces*.
* XMLNamespaces*.
*/
virtual const XMLNamespaces* getNamespaces()
const;
virtual const XMLNamespaces* getNamespaces() const;


/**
* Returns the value of the "Namespaces" element of this TSBDocument.
*
* @return the value of the "Namespaces" element of this TSBDocument as a
* XMLNamespaces*.
* XMLNamespaces*.
*/
virtual XMLNamespaces* getNamespaces();
virtual XMLNamespaces* getNamespaces();


/**
Expand Down Expand Up @@ -956,8 +955,7 @@ class LIBTSB_EXTERN TSBDocument : public TSBBase
/**
* Writes the namespace for the Tsb package
*/
virtual void writeXMLNS( XMLOutputStream&
stream) const;
virtual void writeXMLNS(XMLOutputStream& stream) const;

/** @endcond */

Expand Down

0 comments on commit 0590ae6

Please sign in to comment.