diff options
author | Andras Timar <atimar@novell.com> | 2011-04-30 13:44:53 +0200 |
---|---|---|
committer | Andras Timar <atimar@novell.com> | 2011-04-30 13:44:53 +0200 |
commit | 29bc42c88773ea705ee5df19c6ed34bc2e048f37 (patch) | |
tree | 4793a23eae780a778ec139acc2164eff8f90744a /sd/source | |
parent | 53836fb680ebd6a57fd0036a9d11045f2c2b1b77 (diff) |
brackets are necessary when you declare variables within a case label
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/filter/ppt/propread.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/filter/ppt/propread.cxx b/sd/source/filter/ppt/propread.cxx index 2710be58837c..961c779a95a0 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 : |