diff options
author | Wastack <btomi96@gmail.com> | 2016-03-31 08:47:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-01 06:46:33 +0000 |
commit | 9af411abce1e22d55b73d5bbac3b7a6a8535eb3b (patch) | |
tree | 1f4ae767e429af067f97bd07c305b1f9ed35839f /unoxml/source | |
parent | cb495d71063d60da46215a2510736eccd910fa7a (diff) |
tdf#97966 Drop 'static' keywords
Including no keywords from extern "C" blocks
Change-Id: Ie3160af9decf04ceeda02dc20a6518afaa80f972
Reviewed-on: https://gerrit.libreoffice.org/23677
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'unoxml/source')
-rw-r--r-- | unoxml/source/rdf/librdf_repository.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx index 149b6f64644b..adab630400ef 100644 --- a/unoxml/source/rdf/librdf_repository.cxx +++ b/unoxml/source/rdf/librdf_repository.cxx @@ -115,48 +115,48 @@ 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) +void safe_librdf_free_world(librdf_world *const world) { if (world) { librdf_free_world(world); } } -static void safe_librdf_free_model(librdf_model *const model) +void safe_librdf_free_model(librdf_model *const model) { if (model) { librdf_free_model(model); } } -static void safe_librdf_free_node(librdf_node* node) +void safe_librdf_free_node(librdf_node* node) { if (node) { librdf_free_node(node); } } -static void safe_librdf_free_parser(librdf_parser *const parser) +void safe_librdf_free_parser(librdf_parser *const parser) { if (parser) { librdf_free_parser(parser); } } -static void safe_librdf_free_query(librdf_query *const query) +void safe_librdf_free_query(librdf_query *const query) { if (query) { librdf_free_query(query); } } -static void +void safe_librdf_free_query_results(librdf_query_results *const query_results) { if (query_results) { librdf_free_query_results(query_results); } } -static void safe_librdf_free_serializer(librdf_serializer *const serializer) +void safe_librdf_free_serializer(librdf_serializer *const serializer) { if (serializer) { librdf_free_serializer(serializer); } } -static void safe_librdf_free_statement(librdf_statement *const statement) +void safe_librdf_free_statement(librdf_statement *const statement) { if (statement) { librdf_free_statement(statement); } } -static void safe_librdf_free_storage(librdf_storage *const storage) +void safe_librdf_free_storage(librdf_storage *const storage) { if (storage) { librdf_free_storage(storage); } } -static void safe_librdf_free_stream(librdf_stream *const stream) +void safe_librdf_free_stream(librdf_stream *const stream) { if (stream) { librdf_free_stream(stream); } } -static void safe_librdf_free_uri(librdf_uri *const uri) +void safe_librdf_free_uri(librdf_uri *const uri) { if (uri) { librdf_free_uri(uri); } } @@ -1319,7 +1319,7 @@ throw (uno::RuntimeException, lang::IllegalArgumentException, m_NamedGraphs.erase(iter); } -static bool isMetadatableWithoutMetadata( +bool isMetadatableWithoutMetadata( uno::Reference<uno::XInterface> const & i_xNode) { const uno::Reference<rdf::XMetadatable> xMeta( i_xNode, uno::UNO_QUERY ); |