Kaydet (Commit) 4939fe96 authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS dr58_SRC680 (1.32.188); FILE MERGED

2008/01/07 14:34:33 dr 1.32.188.2: #i38093# #i70026# do not set CR_FILTERED flags for unfiltered autofilter ranges
2007/10/25 10:41:26 dr 1.32.188.1: #i81396# do not hide rows with default height
üst 4ddd1e54
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: colrowst.cxx,v $ * $RCSfile: colrowst.cxx,v $
* *
* $Revision: 1.32 $ * $Revision: 1.33 $
* *
* last change: $Author: vg $ $Date: 2007-02-27 12:21:13 $ * last change: $Author: rt $ $Date: 2008-01-29 15:23:27 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -151,7 +151,7 @@ void XclImpColRowSettings::SetHeight( SCROW nScRow, sal_uInt16 nHeight ) ...@@ -151,7 +151,7 @@ void XclImpColRowSettings::SetHeight( SCROW nScRow, sal_uInt16 nHeight )
maHeights[ nScRow ] = nRawHeight; maHeights[ nScRow ] = nRawHeight;
sal_uInt8& rnFlags = maRowFlags[ nScRow ]; sal_uInt8& rnFlags = maRowFlags[ nScRow ];
::set_flag( rnFlags, EXC_COLROW_USED ); ::set_flag( rnFlags, EXC_COLROW_USED );
if( nRawHeight == 0 ) if( !bDefHeight && (nRawHeight == 0) )
::set_flag( rnFlags, EXC_COLROW_HIDDEN ); ::set_flag( rnFlags, EXC_COLROW_HIDDEN );
::set_flag( rnFlags, EXC_COLROW_DEFAULT, bDefHeight ); ::set_flag( rnFlags, EXC_COLROW_DEFAULT, bDefHeight );
if( nScRow > mnLastScRow ) if( nScRow > mnLastScRow )
...@@ -304,7 +304,8 @@ void XclImpColRowSettings::ConvertHiddenFlags( SCTAB nScTab ) ...@@ -304,7 +304,8 @@ void XclImpColRowSettings::ConvertHiddenFlags( SCTAB nScTab )
if( GetBiff() == EXC_BIFF8 ) if( GetBiff() == EXC_BIFF8 )
{ {
const XclImpAutoFilterData* pFilter = GetFilterManager().GetByTab( nScTab ); const XclImpAutoFilterData* pFilter = GetFilterManager().GetByTab( nScTab );
if( pFilter && pFilter->IsActive() ) // #i70026# use IsFiltered() to set the CR_FILTERED flag for active filters only
if( pFilter && pFilter->IsActive() && pFilter->IsFiltered() )
{ {
nFirstFilterScRow = pFilter->StartRow(); nFirstFilterScRow = pFilter->StartRow();
nLastFilterScRow = pFilter->EndRow(); nLastFilterScRow = pFilter->EndRow();
......
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