diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-03 16:51:48 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-03 20:10:17 +0100 |
commit | 229abf40ac4ee551063cdefabede3c9b31146e07 (patch) | |
tree | 6e67f87cb7def70128f11565a05e8eb6c7314ab8 /dbaccess/source/ui/dlg/indexfieldscontrol.cxx | |
parent | 0301abbbc33c794fccd4e84f75b6de4c296f957c (diff) |
coverity#1219794 Uncaught exception
Change-Id: Icc9e5faf9ef15840c359b7766112278094d52dea
Diffstat (limited to 'dbaccess/source/ui/dlg/indexfieldscontrol.cxx')
-rw-r--r-- | dbaccess/source/ui/dlg/indexfieldscontrol.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/dbaccess/source/ui/dlg/indexfieldscontrol.cxx b/dbaccess/source/ui/dlg/indexfieldscontrol.cxx index b156470efcd4..f241969f605b 100644 --- a/dbaccess/source/ui/dlg/indexfieldscontrol.cxx +++ b/dbaccess/source/ui/dlg/indexfieldscontrol.cxx @@ -206,8 +206,6 @@ namespace dbaui void IndexFieldsControl::Init(const Sequence< OUString >& _rAvailableFields) { - fprintf(stderr, " _rAvailableFields len is %d\n", _rAvailableFields.getLength()); - RemoveColumns(); // for the width: both columns together should be somewhat smaller than the whole window (without the scrollbar) @@ -237,9 +235,6 @@ namespace dbaui m_pSortingCell->InsertEntry(m_sAscendingText); m_pSortingCell->InsertEntry(m_sDescendingText); m_pSortingCell->SetHelpId( HID_DLGINDEX_INDEXDETAILS_SORTORDER ); - m_pSortingCell->Show(); - - fprintf(stderr, "created m_pSortingCell %p\n", m_pSortingCell); nFieldNameWidth -= nSortOrderColumnWidth; } @@ -258,11 +253,7 @@ namespace dbaui const OUString* pFields = _rAvailableFields.getConstArray(); const OUString* pFieldsEnd = pFields + _rAvailableFields.getLength(); for (;pFields < pFieldsEnd; ++pFields) - { - fprintf(stderr, "foo is %s\n", OUStringToOString(*pFields, RTL_TEXTENCODING_UTF8).getStr()); m_pFieldNameCell->InsertEntry(*pFields); - } - m_pFieldNameCell->Show(); } CellController* IndexFieldsControl::GetController(long _nRow, sal_uInt16 _nColumnId) |