summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-10-11 10:20:45 +0200
committerDavid Tardon <dtardon@redhat.com>2011-10-11 10:20:45 +0200
commit3d146fb86823591004bf2e64f803375b71d99013 (patch)
treea421f32bd582943908eb81d1ccdde554b336f3cd /unoxml
parent9317cad2508d344e416a13768029b24800101a4d (diff)
deprecated decl. from ext. lib.
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/source/rdf/librdf_repository.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx
index 317ba3023e19..7f8b18332ac1 100644
--- a/unoxml/source/rdf/librdf_repository.cxx
+++ b/unoxml/source/rdf/librdf_repository.cxx
@@ -463,8 +463,10 @@ librdf_node* librdf_GraphResult::getContext() const
{
if (!m_pStream.get() || librdf_stream_end(m_pStream.get()))
return NULL;
+ SAL_WNODEPRECATED_DECLARATIONS_PUSH;
librdf_node *pCtxt( static_cast<librdf_node *>
(librdf_stream_get_context(m_pStream.get())) );
+ SAL_WNODEPRECATED_DECLARATIONS_POP;
if (pCtxt)
return pCtxt;
return m_pContext.get();
@@ -1616,8 +1618,10 @@ librdf_statement *rdfa_context_stream_map_handler(
{
OSL_ENSURE(i_pStream, "rdfa_context_stream_map_handler: stream null");
if (i_pStream) {
+ SAL_WNODEPRECATED_DECLARATIONS_PUSH;
librdf_node *pCtxt( static_cast<librdf_node *>
(librdf_stream_get_context(i_pStream)) );
+ SAL_WNODEPRECATED_DECLARATIONS_POP;
OSL_ENSURE(pCtxt, "rdfa_context_stream_map_handler: context null");
if (pCtxt && isInternalContext(pCtxt)) {
return i_pStatement;