From ff9e8c13fd6a0ac24928e8c94c19315baf11c0a4 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 20 Mar 2011 11:10:36 +0000 Subject: WaE: uninit variable --- editeng/source/items/borderline.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editeng') diff --git a/editeng/source/items/borderline.cxx b/editeng/source/items/borderline.cxx index e429a04fc980..d6b4efc9c630 100644 --- a/editeng/source/items/borderline.cxx +++ b/editeng/source/items/borderline.cxx @@ -262,7 +262,7 @@ void SvxBorderLine::GuessLinesWidths( SvxBorderStyle nStyle, sal_uInt16 nOut, sa int i = 0, len = sizeof( aDoubleStyles ) / sizeof( SvxBorderStyle ); long nWidth = 0; - SvxBorderStyle nTestStyle; + SvxBorderStyle nTestStyle(NO_STYLE); while ( i < len && nWidth == 0 ) { nTestStyle = aDoubleStyles[i]; -- cgit