You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by zh...@apache.org on 2012/09/12 13:33:45 UTC
svn commit: r1383888 -
/incubator/ooo/trunk/main/oox/source/xls/pivottablebuffer.cxx
Author: zhangjf
Date: Wed Sep 12 11:33:44 2012
New Revision: 1383888
URL: http://svn.apache.org/viewvc?rev=1383888&view=rev
Log:
#i119512#, when importing MS Excel, if there is blank item selected in page filed of Pivot Table, the selection will be lost
Found by: shan zhu
Patch by: bjcheny
Review by: Yolanda Zhang Ying
Modified:
incubator/ooo/trunk/main/oox/source/xls/pivottablebuffer.cxx
Modified: incubator/ooo/trunk/main/oox/source/xls/pivottablebuffer.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/oox/source/xls/pivottablebuffer.cxx?rev=1383888&r1=1383887&r2=1383888&view=diff
==============================================================================
--- incubator/ooo/trunk/main/oox/source/xls/pivottablebuffer.cxx (original)
+++ incubator/ooo/trunk/main/oox/source/xls/pivottablebuffer.cxx Wed Sep 12 11:33:44 2012
@@ -646,8 +646,7 @@ void PivotTableField::convertPageField(
if( const PivotCacheItem* pSharedItem = pCacheField->getCacheItem( nCacheItem ) )
{
OUString aSelectedPage = pSharedItem->getName();
- if( aSelectedPage.getLength() > 0 )
- aPropSet.setProperty( PROP_SelectedPage, aSelectedPage );
+ aPropSet.setProperty( PROP_SelectedPage, aSelectedPage );
}
}
}