[Libreoffice-commits] .: unoxml/source
David Tardon
dtardon at kemper.freedesktop.org
Tue Oct 11 01:20:55 PDT 2011
unoxml/source/rdf/librdf_repository.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 3d146fb86823591004bf2e64f803375b71d99013
Author: David Tardon <dtardon at redhat.com>
Date: Tue Oct 11 10:20:45 2011 +0200
deprecated decl. from ext. lib.
diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx
index 317ba30..7f8b183 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;
More information about the Libreoffice-commits
mailing list