summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svx/inc/svx/AccessibleTextHelper.hxx4
-rw-r--r--svx/source/accessibility/AccessibleEmptyEditSource.hxx2
-rw-r--r--svx/source/table/accessiblecell.cxx2
3 files changed, 8 insertions, 0 deletions
diff --git a/svx/inc/svx/AccessibleTextHelper.hxx b/svx/inc/svx/AccessibleTextHelper.hxx
index 9d4689687295..c930af0cb2e4 100644
--- a/svx/inc/svx/AccessibleTextHelper.hxx
+++ b/svx/inc/svx/AccessibleTextHelper.hxx
@@ -124,7 +124,9 @@ namespace accessibility
model) contained in the given SvxEditSource.
*/
+ SAL_WNODEPRECATED_DECLARATIONS_PUSH
explicit AccessibleTextHelper( ::std::auto_ptr< SvxEditSource > pEditSource );
+ SAL_WNODEPRECATED_DECLARATIONS_POP
virtual ~AccessibleTextHelper();
protected:
@@ -185,7 +187,9 @@ namespace accessibility
The new edit source to set. Object ownership is transferred
from the caller to the callee.
*/
+ SAL_WNODEPRECATED_DECLARATIONS_PUSH
virtual void SetEditSource( ::std::auto_ptr< SvxEditSource > pEditSource ) SAL_THROW((::com::sun::star::uno::RuntimeException));
+ SAL_WNODEPRECATED_DECLARATIONS_POP
/** Set the event source
diff --git a/svx/source/accessibility/AccessibleEmptyEditSource.hxx b/svx/source/accessibility/AccessibleEmptyEditSource.hxx
index 89d71dd6b36f..3e1052bd8993 100644
--- a/svx/source/accessibility/AccessibleEmptyEditSource.hxx
+++ b/svx/source/accessibility/AccessibleEmptyEditSource.hxx
@@ -77,7 +77,9 @@ namespace accessibility
@dyn
*/
+ SAL_WNODEPRECATED_DECLARATIONS_PUSH
std::auto_ptr< SvxEditSource > mpEditSource;
+ SAL_WNODEPRECATED_DECLARATIONS_POP
SdrObject& mrObj;
SdrView& mrView;
diff --git a/svx/source/table/accessiblecell.cxx b/svx/source/table/accessiblecell.cxx
index 4d28f53e3a15..43249d90492c 100644
--- a/svx/source/table/accessiblecell.cxx
+++ b/svx/source/table/accessiblecell.cxx
@@ -82,7 +82,9 @@ void AccessibleCell::Init (void)
if( pOutlinerParaObject )
{
// non-empty text -> use full-fledged edit source right away
+ SAL_WNODEPRECATED_DECLARATIONS_PUSH
::std::auto_ptr<SvxEditSource> pEditSource( new SvxTextEditSource( mxCell->GetObject(), mxCell.get(), *pView, *pWindow) );
+ SAL_WNODEPRECATED_DECLARATIONS_POP
mpText = new AccessibleTextHelper( pEditSource );
mpText->SetEventSource(this);
}