WaE: potentially uninitialized local variable 'pPattern' used

Change-Id: Ic000edc60a9c5ae7d64fab9bf8b6c2a88bcec223
This commit is contained in:
Tor Lillqvist 2013-11-26 10:03:01 +02:00
parent 3723f2794d
commit b64d5dc6a4

View File

@ -793,7 +793,7 @@ namespace cppcanvas
const float dashdotdot[] = {3, 3, 1, 3, 1, 3};
sal_Int32 nLen = 0;
const float *pPattern;
const float *pPattern = NULL;
switch (dashStyle)
{
case EmfPlusLineStyleDash: nLen = SAL_N_ELEMENTS(dash); pPattern = dash; break;