WaE: potentially uninitialized local variable 'pPattern' used
Change-Id: Ic000edc60a9c5ae7d64fab9bf8b6c2a88bcec223
This commit is contained in:
parent
3723f2794d
commit
b64d5dc6a4
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user