From af04930d1513f1274e8a69b96e6941ca43cfc901 Mon Sep 17 00:00:00 2001 From: Jian Fang Zhang Date: Wed, 12 Sep 2012 10:33:44 +0000 Subject: 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 305986a4ee0f1294d629c51c75d8f793b5b80e1d) Conflicts: oox/source/xls/pivottablebuffer.cxx Change-Id: Ied8ca19738e9b2e7bb596010f7ae9e308792fcbc --- sc/source/filter/oox/pivottablebuffer.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sc/source') diff --git a/sc/source/filter/oox/pivottablebuffer.cxx b/sc/source/filter/oox/pivottablebuffer.cxx index 6303a057f7bd..2a1582bf4807 100644 --- a/sc/source/filter/oox/pivottablebuffer.cxx +++ b/sc/source/filter/oox/pivottablebuffer.cxx @@ -578,8 +578,7 @@ void PivotTableField::convertPageField( const PTPageFieldModel& rPageField ) if( const PivotCacheItem* pSharedItem = pCacheField->getCacheItem( nCacheItem ) ) { OUString aSelectedPage = pSharedItem->getName(); - if( !aSelectedPage.isEmpty() ) - aPropSet.setProperty( PROP_SelectedPage, aSelectedPage ); + aPropSet.setProperty( PROP_SelectedPage, aSelectedPage ); } } } -- cgit