Kaydet (Commit) 5ecd416c authored tarafından Eike Rathke's avatar Eike Rathke

CID#736090 Improper use of negative value

Change-Id: Ice6d473d56b16ca53a046888f38d0c570d4b3828
üst 34c725d3
...@@ -52,6 +52,9 @@ bool lcl_GetTextWithBreaks( const EditTextObject& rData, ScDocument* pDoc, OUStr ...@@ -52,6 +52,9 @@ bool lcl_GetTextWithBreaks( const EditTextObject& rData, ScDocument* pDoc, OUStr
bool ScTable::SearchCell(const SvxSearchItem& rSearchItem, SCCOL nCol, SCROW nRow, bool ScTable::SearchCell(const SvxSearchItem& rSearchItem, SCCOL nCol, SCROW nRow,
const ScMarkData& rMark, OUString& rUndoStr, ScDocument* pUndoDoc) const ScMarkData& rMark, OUString& rUndoStr, ScDocument* pUndoDoc)
{ {
if (!ValidColRow( nCol, nRow))
return false;
bool bFound = false; bool bFound = false;
bool bDoSearch = true; bool bDoSearch = true;
bool bDoBack = rSearchItem.GetBackward(); bool bDoBack = rSearchItem.GetBackward();
......
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