Kaydet (Commit) af04930d authored tarafından Jian Fang Zhang's avatar Jian Fang Zhang Kaydeden (comit) Caolán McNamara

Resolves: #i119512# selection lost if there is blank item selected...

in page filed of Pivot Table

Found by: shan zhu
Patch by: bjcheny
Review by: Yolanda Zhang Ying

(cherry picked from commit 305986a4)

Conflicts:
	oox/source/xls/pivottablebuffer.cxx

Change-Id: Ied8ca19738e9b2e7bb596010f7ae9e308792fcbc
üst 20e11814
...@@ -578,8 +578,7 @@ void PivotTableField::convertPageField( const PTPageFieldModel& rPageField ) ...@@ -578,8 +578,7 @@ 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.isEmpty() ) 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