[Libreoffice-commits] .: sc/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Tue Dec 21 14:44:22 PST 2010
sc/source/filter/excel/xeformula.cxx | 1 -
sc/source/filter/excel/xestyle.cxx | 1 -
sc/source/filter/ftools/fprogressbar.cxx | 1 -
3 files changed, 3 deletions(-)
New commits:
commit 1cc6e92afb96ba31dc3e1ee8f5013e50c9e7da60
Author: Thorsten Behrens <tbehrens at novell.com>
Date: Tue Dec 21 21:49:00 2010 +0100
Quick-fixing dbgutil sc build breakage
diff --git a/sc/source/filter/excel/xeformula.cxx b/sc/source/filter/excel/xeformula.cxx
index 017ade3..a95172e 100644
--- a/sc/source/filter/excel/xeformula.cxx
+++ b/sc/source/filter/excel/xeformula.cxx
@@ -1318,7 +1318,6 @@ void XclExpFmlaCompImpl::ProcessMatrix( const XclExpScToken& rTokData )
for( SCSIZE nScCol = 0; nScCol < nScCols; ++nScCol )
{
ScMatrixValue nMatVal = pMatrix->Get( nScCol, nScRow );
- DBG_ASSERT( nMatVal, "XclExpFmlaCompImpl::ProcessMatrix - missing matrix value" );
if( ScMatrix::IsValueType( nMatVal.nType ) ) // value, boolean, or error
{
if( ScMatrix::IsBooleanType( nMatVal.nType ) )
diff --git a/sc/source/filter/excel/xestyle.cxx b/sc/source/filter/excel/xestyle.cxx
index 0f6ddf5..2a9e228 100644
--- a/sc/source/filter/excel/xestyle.cxx
+++ b/sc/source/filter/excel/xestyle.cxx
@@ -408,7 +408,6 @@ void XclExpPaletteImpl::Finalize()
nFound = nIndex;
// replace default color with list color
sal_uInt32 nNearest = aNearestVec[ nFound ].mnPalIndex;
- DBG_ASSERT( mxColorList->at( nFound ), "XclExpPaletteImpl::Finalize - missing a color" );
DBG_ASSERT( nNearest < maPalette.size(), "XclExpPaletteImpl::Finalize - algorithm error" );
maPalette[ nNearest ].SetColor( mxColorList->at( nFound ).GetColor() );
aRemapVec[ nFound ].SetIndex( nNearest );
diff --git a/sc/source/filter/ftools/fprogressbar.cxx b/sc/source/filter/ftools/fprogressbar.cxx
index 62c319e..418ea65 100644
--- a/sc/source/filter/ftools/fprogressbar.cxx
+++ b/sc/source/filter/ftools/fprogressbar.cxx
@@ -84,7 +84,6 @@ ScfProgressBar::ScfProgressSegment* ScfProgressBar::GetSegment( sal_Int32 nSegme
{
if( nSegment < 0 )
return 0;
- DBG_ASSERT( maSegments.at( nSegment ), "ScfProgressBar::GetSegment - invalid segment index" );
return &(maSegments.at( nSegment ));
}
More information about the Libreoffice-commits
mailing list