incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhan...@apache.org
Subject svn commit: r1383888 - /incubator/ooo/trunk/main/oox/source/xls/pivottablebuffer.cxx
Date Wed, 12 Sep 2012 11:33:45 GMT
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 );
                 }
             }
         }



Mime
View raw message