diff options
-rw-r--r-- | vcl/source/window/splitwin.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/vcl/source/window/splitwin.cxx b/vcl/source/window/splitwin.cxx index d5fc03b5d16a..7a4e09d3a0d0 100644 --- a/vcl/source/window/splitwin.cxx +++ b/vcl/source/window/splitwin.cxx @@ -1758,7 +1758,7 @@ void SplitWindow::ImplDrawAutoHide( bool bInPaint ) pSVData->maCtrlData.mpSplitHPinImgList->InsertFromHorizontalBitmap ( ResId( SV_RESID_BITMAP_SPLITHPIN, *pResMgr ), 4, &aNonAlphaMask ); } - } + } pImageList = pSVData->maCtrlData.mpSplitHPinImgList; } else @@ -1775,7 +1775,10 @@ void SplitWindow::ImplDrawAutoHide( bool bInPaint ) } } pImageList = pSVData->maCtrlData.mpSplitVPinImgList; - } + } + + if (!pImageList) + return; // Image ermitteln und zurueckgeben sal_uInt16 nId; |