diff options
author | Jian Fang Zhang <zhangjf@apache.org> | 2012-09-12 10:33:44 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-06-17 16:19:39 +0100 |
commit | af04930d1513f1274e8a69b96e6941ca43cfc901 (patch) | |
tree | d63620f406dcefea34339f9dbe79a20c8e1dc51e /sc | |
parent | 20e1181461adaae3289a5ef943ec5c4b75cc1570 (diff) |
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
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/oox/pivottablebuffer.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
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 ); } } } |