TEditControl.cxx (96de5490) | TEditControl.cxx (b862c97c) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 406 unchanged lines hidden (view full) --- 415 DBG_CHKTHIS(OTableEditorCtrl,NULL); 416 if(nRow == -1) 417 return sal_False; 418 419 OSL_ENSURE((xub_StrLen)nRow < m_pRowList->size(),"Row is greater than size!"); 420 if(nRow >= (long)m_pRowList->size()) 421 return sal_False; 422 pActRow = (*m_pRowList)[nRow]; | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 406 unchanged lines hidden (view full) --- 415 DBG_CHKTHIS(OTableEditorCtrl,NULL); 416 if(nRow == -1) 417 return sal_False; 418 419 OSL_ENSURE((xub_StrLen)nRow < m_pRowList->size(),"Row is greater than size!"); 420 if(nRow >= (long)m_pRowList->size()) 421 return sal_False; 422 pActRow = (*m_pRowList)[nRow]; |
423 return pActRow != NULL; | 423 return bool(pActRow); |
424} 425 426//------------------------------------------------------------------------------ 427sal_Bool OTableEditorCtrl::SeekRow(long _nRow) 428{ 429 // die Basisklasse braucht den Aufruf, da sie sich dort merkt, welche Zeile gepainted wird 430 EditBrowseBox::SeekRow(_nRow); 431 --- 1576 unchanged lines hidden --- | 424} 425 426//------------------------------------------------------------------------------ 427sal_Bool OTableEditorCtrl::SeekRow(long _nRow) 428{ 429 // die Basisklasse braucht den Aufruf, da sie sich dort merkt, welche Zeile gepainted wird 430 EditBrowseBox::SeekRow(_nRow); 431 --- 1576 unchanged lines hidden --- |