Kaydet (Commit) 305986a4 authored tarafından Jian Fang Zhang's avatar Jian Fang Zhang

#i119512#, when importing MS Excel, if there is blank item selected in page…

#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
üst c39ca3fc
...@@ -646,7 +646,6 @@ void PivotTableField::convertPageField( const PTPageFieldModel& rPageField ) ...@@ -646,7 +646,6 @@ void PivotTableField::convertPageField( const PTPageFieldModel& rPageField )
if( const PivotCacheItem* pSharedItem = pCacheField->getCacheItem( nCacheItem ) ) if( const PivotCacheItem* pSharedItem = pCacheField->getCacheItem( nCacheItem ) )
{ {
OUString aSelectedPage = pSharedItem->getName(); OUString aSelectedPage = pSharedItem->getName();
if( aSelectedPage.getLength() > 0 )
aPropSet.setProperty( PROP_SelectedPage, aSelectedPage ); aPropSet.setProperty( PROP_SelectedPage, aSelectedPage );
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment