diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 18:16:42 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 08:18:05 +0000 |
commit | a238b1f8d304bf1e2ffb357937f3ec888ee8ac89 (patch) | |
tree | 083c0582d4bf80e313ed256ca476ba8f69c7f7a6 /unoxml/source | |
parent | 538f276ae0414ea34ede6090b5f56e8fecd6fc65 (diff) |
Remove excess newlines
A ridiculously fast way of doing this is:
for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \
--exclude-dir=workdir --exclude-dir=instdir '^
{3,}' .)
do
perl -0777 -i -pe 's/^
{3,}/
/gm' $i
done
Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c
Reviewed-on: https://gerrit.libreoffice.org/22224
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'unoxml/source')
-rw-r--r-- | unoxml/source/rdf/CBlankNode.cxx | 1 | ||||
-rw-r--r-- | unoxml/source/rdf/CLiteral.cxx | 1 | ||||
-rw-r--r-- | unoxml/source/rdf/CURI.cxx | 1 | ||||
-rw-r--r-- | unoxml/source/rdf/librdf_repository.cxx | 16 |
4 files changed, 0 insertions, 19 deletions
diff --git a/unoxml/source/rdf/CBlankNode.cxx b/unoxml/source/rdf/CBlankNode.cxx index a299be2d880f..0a79cf1ccc8b 100644 --- a/unoxml/source/rdf/CBlankNode.cxx +++ b/unoxml/source/rdf/CBlankNode.cxx @@ -113,7 +113,6 @@ OUString SAL_CALL CBlankNode::getStringValue() throw (css::uno::RuntimeException } // closing anonymous implementation namespace - // component helper namespace namespace comp_CBlankNode { diff --git a/unoxml/source/rdf/CLiteral.cxx b/unoxml/source/rdf/CLiteral.cxx index fa858767a0c7..15026c7b62ad 100644 --- a/unoxml/source/rdf/CLiteral.cxx +++ b/unoxml/source/rdf/CLiteral.cxx @@ -176,7 +176,6 @@ css::uno::Reference< css::rdf::XURI > SAL_CALL CLiteral::getDatatype() throw (cs } // closing anonymous implementation namespace - // component helper namespace namespace comp_CLiteral { diff --git a/unoxml/source/rdf/CURI.cxx b/unoxml/source/rdf/CURI.cxx index caf54d1930d3..eef6245c0fa3 100644 --- a/unoxml/source/rdf/CURI.cxx +++ b/unoxml/source/rdf/CURI.cxx @@ -802,7 +802,6 @@ OUString SAL_CALL CURI::getLocalName() throw (css::uno::RuntimeException, std::e } // closing anonymous implementation namespace - // component helper namespace namespace comp_CURI { diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx index 353f91a82708..c72df2dcf7dd 100644 --- a/unoxml/source/rdf/librdf_repository.cxx +++ b/unoxml/source/rdf/librdf_repository.cxx @@ -91,7 +91,6 @@ const char s_sparql [] = "sparql"; const char s_nsOOo [] = "http://openoffice.org/2004/office/rdfa/"; - //FIXME: this approach is not ideal. can we use blank nodes instead? bool isInternalContext(librdf_node *i_pNode) throw () { @@ -116,8 +115,6 @@ bool isInternalContext(librdf_node *i_pNode) throw () } - - // n.b.: librdf destructor functions dereference null pointers! // so they need to be wrapped to be usable with std::shared_ptr. static void safe_librdf_free_world(librdf_world *const world) @@ -167,8 +164,6 @@ static void safe_librdf_free_uri(librdf_uri *const uri) } - - /** converts between librdf types and UNO API types. */ class librdf_TypeConverter @@ -263,8 +258,6 @@ private: }; - - /** implements the repository service. */ class librdf_Repository: @@ -447,8 +440,6 @@ private: }; - - /** result of operations that return a graph, i.e., an XEnumeration of statements. */ @@ -562,8 +553,6 @@ throw (uno::RuntimeException, container::NoSuchElementException, } - - /** result of tuple queries ("SELECT"). */ class librdf_QuerySelectResult: @@ -688,8 +677,6 @@ librdf_QuerySelectResult::getBindingNames() throw (uno::RuntimeException, std::e } - - /** represents a named graph, and forwards all the work to repository. */ class librdf_NamedGraph: @@ -845,8 +832,6 @@ throw (uno::RuntimeException, } - - std::shared_ptr<librdf_world> librdf_Repository::m_pWorld; sal_uInt32 librdf_Repository::m_NumInstances = 0; osl::Mutex librdf_Repository::m_aMutex; @@ -2430,7 +2415,6 @@ librdf_TypeConverter::convertToStatement(librdf_statement* i_pStmt, } // closing anonymous implementation namespace - // component helper namespace namespace comp_librdf_Repository { |