summaryrefslogtreecommitdiffstats
path: root/xmloff/source/text/txtimppr.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-22 15:00:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-22 15:01:05 +0100
commit871426533f7afe31bc451fa6b407b83db8e52827 (patch)
treeed60cee61ebee91994eaffc9c9a3638836ed2ab4 /xmloff/source/text/txtimppr.cxx
parentshould be > 4, not > 5 (diff)
downloadcore-871426533f7afe31bc451fa6b407b83db8e52827.tar.gz
core-871426533f7afe31bc451fa6b407b83db8e52827.zip
just silence the auto_ptr deprecations in isolation
Diffstat (limited to 'xmloff/source/text/txtimppr.cxx')
-rw-r--r--xmloff/source/text/txtimppr.cxx4
1 files changed, 4 insertions, 0 deletions
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<XMLPropertyState> pNewParaMargins[4];
+ SAL_WNODEPRECATED_DECLARATIONS_POP
XMLPropertyState* pAllMargin = 0;
XMLPropertyState* pMargins[4] = { 0, 0, 0, 0 };
+ SAL_WNODEPRECATED_DECLARATIONS_PUSH
::std::auto_ptr<XMLPropertyState> pNewMargins[4];
+ SAL_WNODEPRECATED_DECLARATIONS_POP
for( ::std::vector< XMLPropertyState >::iterator aIter = rProperties.begin();
aIter != rProperties.end();