summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <atimar@novell.com>2011-04-30 13:44:53 +0200
committerAndras Timar <atimar@novell.com>2011-04-30 13:44:53 +0200
commitf96d03713b049d7376977138218124146afdef98 (patch)
tree51f730633fb1561ce7baff145ccf413be983993d
parent4c57026b92a862bfae3cb7d6c35889d2844fd5cd (diff)
brackets are necessary when you declare variables within a case label
-rw-r--r--sd/source/filter/ppt/propread.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/filter/ppt/propread.cxx b/sd/source/filter/ppt/propread.cxx
index 726b75615..e5abec151 100644
--- a/sd/source/filter/ppt/propread.cxx
+++ b/sd/source/filter/ppt/propread.cxx
@@ -503,10 +503,12 @@ void Section::Read( SvStorageStream *pStrm )
break;
case VT_LPWSTR :
+ {
*pStrm >> nTemp;
// looks like these are aligned to 4 bytes
sal_uInt32 nLength = nPropOfs + nSecOfs + nPropSize + ( nTemp << 1 ) + 4;
nPropSize += ( nTemp << 1 ) + 4 + (nLength % 4);
+ }
break;
case VT_BLOB_OBJECT :