summaryrefslogtreecommitdiff
path: root/svtools/source/uno
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-09 14:14:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-09 17:18:35 +0100
commit548a6894814c4fd067137d44bb009205911bf8c9 (patch)
tree4b8b06aeb6a602e5826405ecd8ac66c4ed5953f2 /svtools/source/uno
parent023e907b6ba5112d3e0d75d822771c92fe17fb2f (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.cxx4
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 );
}