[Libreoffice-commits] .: Branch 'libreoffice-3-4' - sd/source
Andras Timar
timar at kemper.freedesktop.org
Sat Apr 30 04:45:14 PDT 2011
sd/source/filter/ppt/propread.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit f96d03713b049d7376977138218124146afdef98
Author: Andras Timar <atimar at novell.com>
Date: Sat Apr 30 13:44:53 2011 +0200
brackets are necessary when you declare variables within a case label
diff --git a/sd/source/filter/ppt/propread.cxx b/sd/source/filter/ppt/propread.cxx
index 726b756..e5abec1 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 :
More information about the Libreoffice-commits
mailing list