diff options
author | Muthu Subramanian K <sumuthu@novell.com> | 2010-12-14 16:42:35 +0530 |
---|---|---|
committer | Muthu Subramanian K <sumuthu@novell.com> | 2010-12-14 16:42:35 +0530 |
commit | 1e19789057fd9f5661f2a9d30fb2704d23268b1b (patch) | |
tree | 40bc23ab284a49bf4363fb12a34af98fcad6378b | |
parent | decbf6319141b37c3b35e231df9b5d87554526c1 (diff) |
Fixed brackets problem. n#657730
-rw-r--r-- | patches/dev300/sc-xml-with-xls-ext.diff | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/dev300/sc-xml-with-xls-ext.diff b/patches/dev300/sc-xml-with-xls-ext.diff index 548fe6141..84f7518e6 100644 --- a/patches/dev300/sc-xml-with-xls-ext.diff +++ b/patches/dev300/sc-xml-with-xls-ext.diff @@ -32,8 +32,8 @@ + bool bIsXLS = false; SvStream* pStream = aMedium.GetInStream(); const SfxFilter* pPreselectedFilter = pFilter; -+ if ( ( pPreselectedFilter && pPreselectedFilter->GetName().SearchAscii("Excel") != STRING_NOTFOUND ) || -+ ( !aPreselectedFilterName.Len() && pPreselectedFilter->GetFilterName().EqualsAscii( pFilterAscii ) ) ) ++ if ( pPreselectedFilter && ( ( pPreselectedFilter->GetName().SearchAscii("Excel") != STRING_NOTFOUND ) || ++ ( !aPreselectedFilterName.Len() && pPreselectedFilter->GetFilterName().EqualsAscii( pFilterAscii ) ) ) ) + bIsXLS = true; pFilter = 0; if ( pStream ) |