[Libreoffice-commits] core.git: toolkit/source
Stephan Bergmann
sbergman at redhat.com
Fri May 22 05:59:57 PDT 2015
toolkit/source/awt/vclxwindows.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 562b7b06b81c436b1e26f71dbd639b4e456999a6
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri May 22 13:59:12 2015 +0100
The corresponding VCL Window is not necessarily a Button
Change-Id: I1034ca3cf490e471650617e95fb93bc64eb5fd80
diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx
index 2476e1f..64afdff 100644
--- a/toolkit/source/awt/vclxwindows.cxx
+++ b/toolkit/source/awt/vclxwindows.cxx
@@ -236,8 +236,7 @@ void VCLXGraphicControl::setProperty( const OUString& PropertyName, const ::com:
{
SolarMutexGuard aGuard;
- VclPtr< Button > pButton = GetAs< Button >();
- if ( !pButton )
+ if ( !GetWindow() )
return;
sal_uInt16 nPropType = GetPropertyId( PropertyName );
More information about the Libreoffice-commits
mailing list