diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-09 14:14:14 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-09 17:18:35 +0100 |
commit | 548a6894814c4fd067137d44bb009205911bf8c9 (patch) | |
tree | 4b8b06aeb6a602e5826405ecd8ac66c4ed5953f2 /svtools/source/uno | |
parent | 023e907b6ba5112d3e0d75d822771c92fe17fb2f (diff) |
VclPtr: fix crash on loading kde86727-1.html
and all the other html crashtest loading failures
I believe
Change-Id: I38d3e1ad283efc08f468d9062e520149663e3e84
Diffstat (limited to 'svtools/source/uno')
-rw-r--r-- | svtools/source/uno/unoiface.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/uno/unoiface.cxx b/svtools/source/uno/unoiface.cxx index ac364521afd3..8b9dd52f5446 100644 --- a/svtools/source/uno/unoiface.cxx +++ b/svtools/source/uno/unoiface.cxx @@ -595,11 +595,11 @@ void VCLXFileControl::SetWindow( const VclPtr< vcl::Window > &pWindow ) { VclPtr< FileControl > pPrevFileControl = GetAsDynamic< FileControl >(); if ( pPrevFileControl ) - pPrevFileControl->GetEdit().SetModifyHdl( Link<>() ); + pPrevFileControl->SetEditModifyHdl( Link<>() ); FileControl* pNewFileControl = dynamic_cast<FileControl*>( pWindow.get() ); if ( pNewFileControl ) - pNewFileControl->GetEdit().SetModifyHdl( LINK( this, VCLXFileControl, ModifyHdl ) ); + pNewFileControl->SetEditModifyHdl( LINK( this, VCLXFileControl, ModifyHdl ) ); VCLXWindow::SetWindow( pWindow ); } |