summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-09-25 17:35:05 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-09-25 17:35:05 +0200
commita924606810a5d6e9a8e3d23e491d0bea5a5d2477 (patch)
treeb52bc75ea90af5a66aadb6b75faf50f94ab70727 /sc
parent09b13e1e4c6667b307fdd9608a02d2a792efd940 (diff)
editeng: std::auto_ptr -> std::unique_ptr
Change-Id: I25e3599a37d720cbcf70ea13ab30234e54637d53
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/Accessibility/AccessibleText.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleText.cxx b/sc/source/ui/Accessibility/AccessibleText.cxx
index 9e1e37bb4728..9a602834b8a7 100644
--- a/sc/source/ui/Accessibility/AccessibleText.cxx
+++ b/sc/source/ui/Accessibility/AccessibleText.cxx
@@ -943,9 +943,7 @@ IMPL_LINK(ScAccessibleCellTextData, NotifyHdl, EENotify*, aNotify)
{
if( aNotify )
{
- SAL_WNODEPRECATED_DECLARATIONS_PUSH
- ::std::auto_ptr< SfxHint > aHint = SvxEditSourceHelper::EENotification2Hint( aNotify );
- SAL_WNODEPRECATED_DECLARATIONS_POP
+ ::std::unique_ptr< SfxHint > aHint = SvxEditSourceHelper::EENotification2Hint( aNotify );
if( aHint.get() )
GetBroadcaster().Broadcast( *aHint.get() );
@@ -1062,9 +1060,7 @@ IMPL_LINK(ScAccessibleEditObjectTextData, NotifyHdl, EENotify*, aNotify)
{
if( aNotify )
{
- SAL_WNODEPRECATED_DECLARATIONS_PUSH
- ::std::auto_ptr< SfxHint > aHint = SvxEditSourceHelper::EENotification2Hint( aNotify );
- SAL_WNODEPRECATED_DECLARATIONS_POP
+ ::std::unique_ptr< SfxHint > aHint = SvxEditSourceHelper::EENotification2Hint( aNotify );
if( aHint.get() )
GetBroadcaster().Broadcast( *aHint.get() );