summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-22 08:49:44 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-22 09:54:38 +0100
commitc1dd91a93c59b19ed9542da61e5b1ce43cf4ffbf (patch)
treec768ab956587ac40ee05dfdea40939ea6609f83e /extensions
parent00639459f148ecb8033f42d5f810858729d24501 (diff)
callcatcher: update unused code
Change-Id: I1dd1b40d807c7c9d9b145aca9f69a67d786ec5ff
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/dbpilots/controlwizard.cxx18
-rw-r--r--extensions/source/dbpilots/controlwizard.hxx1
2 files changed, 0 insertions, 19 deletions
diff --git a/extensions/source/dbpilots/controlwizard.cxx b/extensions/source/dbpilots/controlwizard.cxx
index 6efb35abe188..09f487b6796c 100644
--- a/extensions/source/dbpilots/controlwizard.cxx
+++ b/extensions/source/dbpilots/controlwizard.cxx
@@ -207,24 +207,6 @@ namespace dbp
}
}
-
- void OControlWizardPage::adjustControlForNoDSDisplay(Control* _pControl, bool _bConstLowerDistance)
- {
- ::Size aDistanceToMove = LogicToPixel( ::Size( 0, 37 ), MAP_APPFONT );
-
- ::Point aPos = _pControl->GetPosPixel();
- aPos.Y() -= aDistanceToMove.Height();
- _pControl->SetPosPixel(aPos);
-
- if (_bConstLowerDistance)
- {
- ::Size aSize = _pControl->GetSizePixel();
- aSize.Height() += aDistanceToMove.Height();
- _pControl->SetSizePixel(aSize);
- }
- }
-
-
void OControlWizardPage::initializePage()
{
if (m_pFormDatasource && m_pFormContentTypeLabel && m_pFormTable)
diff --git a/extensions/source/dbpilots/controlwizard.hxx b/extensions/source/dbpilots/controlwizard.hxx
index 52efe994916e..725c0b3f2e96 100644
--- a/extensions/source/dbpilots/controlwizard.hxx
+++ b/extensions/source/dbpilots/controlwizard.hxx
@@ -90,7 +90,6 @@ namespace dbp
protected:
void enableFormDatasourceDisplay();
- void adjustControlForNoDSDisplay(Control* _pControl, bool bConstLowerDistance = false);
protected:
// OWizardPage overridables