From 871426533f7afe31bc451fa6b407b83db8e52827 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 22 Sep 2011 15:00:08 +0100 Subject: just silence the auto_ptr deprecations in isolation --- xmloff/source/text/txtimppr.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xmloff/source/text/txtimppr.cxx') diff --git a/xmloff/source/text/txtimppr.cxx b/xmloff/source/text/txtimppr.cxx index 64598e687615..0e22f4b88023 100644 --- a/xmloff/source/text/txtimppr.cxx +++ b/xmloff/source/text/txtimppr.cxx @@ -318,10 +318,14 @@ void XMLTextImportPropertyMapper::finished( XMLPropertyState* pBackTransparent = NULL; // transparency as boolean XMLPropertyState* pAllParaMargin = 0; XMLPropertyState* pParaMargins[4] = { 0, 0, 0, 0 }; + SAL_WNODEPRECATED_DECLARATIONS_PUSH ::std::auto_ptr pNewParaMargins[4]; + SAL_WNODEPRECATED_DECLARATIONS_POP XMLPropertyState* pAllMargin = 0; XMLPropertyState* pMargins[4] = { 0, 0, 0, 0 }; + SAL_WNODEPRECATED_DECLARATIONS_PUSH ::std::auto_ptr pNewMargins[4]; + SAL_WNODEPRECATED_DECLARATIONS_POP for( ::std::vector< XMLPropertyState >::iterator aIter = rProperties.begin(); aIter != rProperties.end(); -- cgit