Kaydet (Commit) d26b0df3 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

stylistic

make it clearer that DbGridControl_Base::RemoveColumn
is meant to be called unconditionally
üst 6b7a9a6f
......@@ -1704,8 +1704,9 @@ sal_uInt16 DbGridControl::AppendColumn(const XubString& rName, sal_uInt16 nWidth
//------------------------------------------------------------------------------
void DbGridControl::RemoveColumn(sal_uInt16 nId)
{
const sal_uInt16 nIndex = GetModelColumnPos(nId);
DbGridControl_Base::RemoveColumn(nId);
const sal_uInt16 nIndex = GetModelColumnPos(nId);
if(nIndex != GRID_COLUMN_NOT_FOUND)
{
delete m_aColumns[nIndex];
......
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