diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-11-26 10:03:01 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-11-26 10:04:09 +0200 |
commit | b64d5dc6a4fd48a7fa5bd475211a4af55f4cba3a (patch) | |
tree | fe31afbe0f7914f733d9bd4607c9488256909f1f /cppcanvas | |
parent | 3723f2794df7394b79b697b09a8059f12dff8345 (diff) |
WaE: potentially uninitialized local variable 'pPattern' used
Change-Id: Ic000edc60a9c5ae7d64fab9bf8b6c2a88bcec223
Diffstat (limited to 'cppcanvas')
-rw-r--r-- | cppcanvas/source/mtfrenderer/emfplus.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx index f4730e6d7c9c..f3f6b50a158d 100644 --- a/cppcanvas/source/mtfrenderer/emfplus.cxx +++ b/cppcanvas/source/mtfrenderer/emfplus.cxx @@ -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; |