diff options
Diffstat (limited to 'svx/source/accessibility/AccessibleSvxFindReplaceDialog.cxx')
-rw-r--r-- | svx/source/accessibility/AccessibleSvxFindReplaceDialog.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/accessibility/AccessibleSvxFindReplaceDialog.cxx b/svx/source/accessibility/AccessibleSvxFindReplaceDialog.cxx index aafb7df1bb73..2430b5420b7b 100644 --- a/svx/source/accessibility/AccessibleSvxFindReplaceDialog.cxx +++ b/svx/source/accessibility/AccessibleSvxFindReplaceDialog.cxx @@ -39,10 +39,10 @@ VCLXAccessibleSvxFindReplaceDialog::~VCLXAccessibleSvxFindReplaceDialog() void VCLXAccessibleSvxFindReplaceDialog::FillAccessibleRelationSet( utl::AccessibleRelationSetHelper& rRelationSet ) { VCLXAccessibleComponent::FillAccessibleRelationSet( rRelationSet ); - vcl::Window* pDlg = GetWindow(); + VclPtr<vcl::Window> pDlg = GetWindow(); if ( pDlg ) { - SvxSearchDialog* pSrchDlg = static_cast<SvxSearchDialog*>( pDlg ); + SvxSearchDialog* pSrchDlg = static_cast<SvxSearchDialog*>( pDlg.get() ); vcl::Window* pDocWin = pSrchDlg->GetDocWin(); if ( !pDocWin ) { |