summaryrefslogtreecommitdiff
path: root/editeng/source/uno/unoedprx.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 /editeng/source/uno/unoedprx.cxx
parent5a849bb5317ad73bb43b2b618b14bc0e8751fff6 (diff)
just silence the auto_ptr deprecations in isolation
Diffstat (limited to 'editeng/source/uno/unoedprx.cxx')
-rw-r--r--editeng/source/uno/unoedprx.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/editeng/source/uno/unoedprx.cxx b/editeng/source/uno/unoedprx.cxx
index 245241595af1..73220b8fbac0 100644
--- a/editeng/source/uno/unoedprx.cxx
+++ b/editeng/source/uno/unoedprx.cxx
@@ -336,7 +336,9 @@ SvxEditSource* SvxEditSourceAdapter::Clone() const
{
if( mbEditSourceValid && mpAdaptee.get() )
{
+ SAL_WNODEPRECATED_DECLARATIONS_PUSH
::std::auto_ptr< SvxEditSource > pClonedAdaptee( mpAdaptee->Clone() );
+ SAL_WNODEPRECATED_DECLARATIONS_POP
if( pClonedAdaptee.get() )
{
@@ -424,6 +426,7 @@ SfxBroadcaster& SvxEditSourceAdapter::GetBroadcaster() const
return maDummyBroadcaster;
}
+SAL_WNODEPRECATED_DECLARATIONS_PUSH
void SvxEditSourceAdapter::SetEditSource( ::std::auto_ptr< SvxEditSource > pAdaptee )
{
if( pAdaptee.get() )
@@ -439,6 +442,7 @@ void SvxEditSourceAdapter::SetEditSource( ::std::auto_ptr< SvxEditSource > pAdap
mbEditSourceValid = sal_False;
}
}
+SAL_WNODEPRECATED_DECLARATIONS_POP
sal_Bool SvxEditSourceAdapter::IsValid() const
{