blind fix for toolkit_unoapi
Change-Id: I545b712c5fb72d8de415752b7fb4ec20ab3fcee0
This commit is contained in:
@@ -260,6 +260,10 @@ throw(::com::sun::star::uno::RuntimeException)
|
|||||||
OutputDevice* pDev = VCLUnoHelper::GetOutputDevice( getGraphics() );
|
OutputDevice* pDev = VCLUnoHelper::GetOutputDevice( getGraphics() );
|
||||||
if ( !pDev )
|
if ( !pDev )
|
||||||
pDev = pWindow->GetParent();
|
pDev = pWindow->GetParent();
|
||||||
|
// shouldn't happen but it appears pDev can be NULL
|
||||||
|
// #FIXME ( find out how/why )
|
||||||
|
if ( !pDev )
|
||||||
|
break;
|
||||||
|
|
||||||
aSize = pDev->LogicToPixel( aSize, aMode );
|
aSize = pDev->LogicToPixel( aSize, aMode );
|
||||||
switch ( nPropType )
|
switch ( nPropType )
|
||||||
|
Reference in New Issue
Block a user