[Libreoffice-commits] .: sc/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Fri Jun 10 12:04:01 PDT 2011
sc/source/ui/view/output2.cxx | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit 3f43ed6b363641fe65511ba6a093cc7b7dfa5efd
Author: Kohei Yoshida <kyoshida at novell.com>
Date: Fri Jun 10 15:03:44 2011 -0400
Remove a meaningless OSL_FAIL check.
diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx
index 2b816a7..2a8340c 100644
--- a/sc/source/ui/view/output2.cxx
+++ b/sc/source/ui/view/output2.cxx
@@ -2648,10 +2648,6 @@ void ScOutputData::DrawEditStandard(DrawEditParam& rParam)
SetEditSyntaxColor( *rParam.mpEngine, rParam.mpCell );
else if ( bUseStyleColor && bForceAutoColor )
lcl_SetEditColor( *rParam.mpEngine, COL_AUTO ); //! or have a flag at EditEngine
- else
- {
- OSL_FAIL("pCell == NULL");
- }
rParam.mpEngine->SetUpdateMode( true ); // after SetText, before CalcTextWidth/GetTextHeight
More information about the Libreoffice-commits
mailing list