From a238b1f8d304bf1e2ffb357937f3ec888ee8ac89 Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Tue, 9 Feb 2016 18:16:42 +1100 Subject: 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 Reviewed-by: Chris Sherlock --- unoxml/source/rdf/CBlankNode.cxx | 1 - unoxml/source/rdf/CLiteral.cxx | 1 - unoxml/source/rdf/CURI.cxx | 1 - unoxml/source/rdf/librdf_repository.cxx | 16 ---------------- 4 files changed, 19 deletions(-) (limited to 'unoxml/source') 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_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 { -- cgit