diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-11 08:44:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-08-11 10:22:12 +0100 |
commit | e1683c2d13a744344ee6a7b06917f65c11d8b35b (patch) | |
tree | ab5002c802f7bc045703dfe9161e15b610788044 /dbaccess | |
parent | f6e7b94042070241cd1cfb1d7f8610fe1801b4f2 (diff) |
callcatcher: update unused code
lots of ResID stuff going away now
Change-Id: Iad8524e201cd3072db71da9e5ee1c244ed337967
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/control/FieldDescControl.cxx | 49 | ||||
-rw-r--r-- | dbaccess/source/ui/control/marktree.cxx | 7 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/ConnectionHelper.cxx | 21 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/ConnectionHelper.hxx | 1 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/adminpages.cxx | 9 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/adminpages.hxx | 1 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/FieldDescControl.hxx | 1 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/WTabPage.hxx | 1 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/marktree.hxx | 1 | ||||
-rw-r--r-- | dbaccess/source/ui/misc/WColumnSelect.cxx | 7 |
10 files changed, 0 insertions, 98 deletions
diff --git a/dbaccess/source/ui/control/FieldDescControl.cxx b/dbaccess/source/ui/control/FieldDescControl.cxx index b473fe3bb11a..44bf027627b3 100644 --- a/dbaccess/source/ui/control/FieldDescControl.cxx +++ b/dbaccess/source/ui/control/FieldDescControl.cxx @@ -93,55 +93,6 @@ namespace } // class OFieldDescControl - - -OFieldDescControl::OFieldDescControl( Window* pParent, const ResId& rResId, OTableDesignHelpBar* pHelpBar) - :TabPage( pParent, rResId ) - ,pHelp( pHelpBar ) - ,pLastFocusWindow(NULL) - ,m_pActFocusWindow(NULL) - ,pDefaultText(NULL) - ,pRequiredText(NULL) - ,pAutoIncrementText(NULL) - ,pTextLenText(NULL) - ,pNumTypeText(NULL) - ,pLengthText(NULL) - ,pScaleText(NULL) - ,pFormatText(NULL) - ,pBoolDefaultText(NULL) - ,m_pColumnNameText(NULL) - ,m_pTypeText(NULL) - ,m_pAutoIncrementValueText(NULL) - ,pRequired(NULL) - ,pNumType(NULL) - ,pAutoIncrement(NULL) - ,pDefault(NULL) - ,pTextLen(NULL) - ,pLength(NULL) - ,pScale(NULL) - ,pFormatSample(NULL) - ,pBoolDefault(NULL) - ,m_pColumnName(NULL) - ,m_pType(NULL) - ,m_pAutoIncrementValue(NULL) - ,pFormat(NULL) - ,m_pVertScroll( NULL ) - ,m_pHorzScroll( NULL ) - ,m_pPreviousType() - ,m_nPos(-1) - ,aYes(ModuleRes(STR_VALUE_YES)) - ,aNo(ModuleRes(STR_VALUE_NO)) - ,m_nOldVThumb( 0 ) - ,m_nOldHThumb( 0 ) - ,m_nWidth(50) - ,m_bAdded(false) - ,m_bRightAligned(false) - ,pActFieldDescr(NULL) -{ - - Contruct(); -} - OFieldDescControl::OFieldDescControl( Window* pParent, OTableDesignHelpBar* pHelpBar ) :TabPage( pParent, WB_3DLOOK | WB_DIALOGCONTROL ) ,pHelp( pHelpBar ) diff --git a/dbaccess/source/ui/control/marktree.cxx b/dbaccess/source/ui/control/marktree.cxx index b012cba4f5fe..b6a7a597121e 100644 --- a/dbaccess/source/ui/control/marktree.cxx +++ b/dbaccess/source/ui/control/marktree.cxx @@ -35,13 +35,6 @@ OMarkableTreeListBox::OMarkableTreeListBox( Window* pParent, WinBits nWinStyle ) InitButtonData(); } -OMarkableTreeListBox::OMarkableTreeListBox( Window* pParent, const ResId& rResId) - : DBTreeListBox(pParent, rResId) -{ - - InitButtonData(); -} - OMarkableTreeListBox::~OMarkableTreeListBox() { delete m_pCheckButton; diff --git a/dbaccess/source/ui/dlg/ConnectionHelper.cxx b/dbaccess/source/ui/dlg/ConnectionHelper.cxx index 44c9f7519c51..ce5803af3bed 100644 --- a/dbaccess/source/ui/dlg/ConnectionHelper.cxx +++ b/dbaccess/source/ui/dlg/ConnectionHelper.cxx @@ -88,27 +88,6 @@ namespace dbaui using namespace ::dbtools; using namespace ::svt; - - OConnectionHelper::OConnectionHelper( Window* pParent, const ResId& _rId, const SfxItemSet& _rCoreAttrs) - : OGenericAdministrationPage(pParent, _rId, _rCoreAttrs) - , m_bUserGrabFocus(false) - , m_pFT_Connection(new FixedText(this, ResId(FT_AUTOBROWSEURL, *_rId.GetResMgr()))) - , m_pConnectionURL(new OConnectionURLEdit(this, ResId(ET_AUTOBROWSEURL, *_rId.GetResMgr()))) - , m_pPB_Connection(new PushButton(this, ResId(PB_AUTOBROWSEURL, *_rId.GetResMgr()))) - , m_pPB_CreateDB(new PushButton(this, ResId(PB_CREATEDB, *_rId.GetResMgr()))) - , m_pCollection(NULL) - , m_bDelete(true) - { - // extract the datasource type collection from the item set - DbuTypeCollectionItem* pCollectionItem = PTR_CAST(DbuTypeCollectionItem, _rCoreAttrs.GetItem(DSID_TYPECOLLECTION)); - if (pCollectionItem) - m_pCollection = pCollectionItem->getCollection(); - m_pPB_Connection->SetClickHdl(LINK(this, OConnectionHelper, OnBrowseConnections)); - m_pPB_CreateDB->SetClickHdl(LINK(this, OConnectionHelper, OnCreateDatabase)); - OSL_ENSURE(m_pCollection, "OConnectionHelper::OConnectionHelper : really need a DSN type collection !"); - m_pConnectionURL->SetTypeCollection(m_pCollection); - } - OConnectionHelper::OConnectionHelper( Window* pParent, const OString& _rId, const OUString& _rUIXMLDescription, const SfxItemSet& _rCoreAttrs) : OGenericAdministrationPage(pParent, _rId, _rUIXMLDescription, _rCoreAttrs) , m_bUserGrabFocus(false) diff --git a/dbaccess/source/ui/dlg/ConnectionHelper.hxx b/dbaccess/source/ui/dlg/ConnectionHelper.hxx index 95a222f10a37..78aa62db9293 100644 --- a/dbaccess/source/ui/dlg/ConnectionHelper.hxx +++ b/dbaccess/source/ui/dlg/ConnectionHelper.hxx @@ -40,7 +40,6 @@ namespace dbaui bool m_bUserGrabFocus : 1; public: - OConnectionHelper( Window* pParent, const ResId& _rId, const SfxItemSet& _rCoreAttrs); OConnectionHelper( Window* pParent, const OString& _rId, const OUString& _rUIXMLDescription, const SfxItemSet& _rCoreAttrs); virtual ~OConnectionHelper(); FixedText *m_pFT_Connection; diff --git a/dbaccess/source/ui/dlg/adminpages.cxx b/dbaccess/source/ui/dlg/adminpages.cxx index 331ac2f3690b..60e919dfda06 100644 --- a/dbaccess/source/ui/dlg/adminpages.cxx +++ b/dbaccess/source/ui/dlg/adminpages.cxx @@ -278,15 +278,6 @@ namespace dbaui return 0L; } - void OGenericAdministrationPage::SetHeaderText( sal_uInt16 _nFTResId, sal_uInt16 _StringResId) - { - delete(m_pFT_HeaderText); - m_pFT_HeaderText = new FixedText(this, ModuleRes(_nFTResId)); - OUString sHeaderText = ModuleRes(_StringResId); - m_pFT_HeaderText->SetText(sHeaderText); - SetControlFontWeight(m_pFT_HeaderText); - } - // LayoutHelper void LayoutHelper::positionBelow( const Control& _rReference, Control& _rControl, const ControlRelation _eRelation, const long _nIndentAppFont ) diff --git a/dbaccess/source/ui/dlg/adminpages.hxx b/dbaccess/source/ui/dlg/adminpages.hxx index 846c0286dbab..aa4200f8dd13 100644 --- a/dbaccess/source/ui/dlg/adminpages.hxx +++ b/dbaccess/source/ui/dlg/adminpages.hxx @@ -233,7 +233,6 @@ namespace dbaui protected: // used to set the right Pane header of a wizard to bold void SetControlFontWeight(Window* _pWindow, FontWeight _eWeight = WEIGHT_BOLD); - void SetHeaderText( sal_uInt16 _nFTResId, sal_uInt16 _StringResId); /** This link be used for controls where the tabpage does not need to take any special action when the control is modified. The implementation just calls callModifiedHdl. diff --git a/dbaccess/source/ui/inc/FieldDescControl.hxx b/dbaccess/source/ui/inc/FieldDescControl.hxx index 308947bd9a87..01bb0591b54d 100644 --- a/dbaccess/source/ui/inc/FieldDescControl.hxx +++ b/dbaccess/source/ui/inc/FieldDescControl.hxx @@ -174,7 +174,6 @@ namespace dbaui public: OFieldDescControl( Window* pParent, OTableDesignHelpBar* pHelpBar); - OFieldDescControl( Window* pParent, const ResId& rResId, OTableDesignHelpBar* pHelpBar); virtual ~OFieldDescControl(); void DisplayData(OFieldDescription* pFieldDescr ); diff --git a/dbaccess/source/ui/inc/WTabPage.hxx b/dbaccess/source/ui/inc/WTabPage.hxx index daa4b71bde6d..83398f7e385f 100644 --- a/dbaccess/source/ui/inc/WTabPage.hxx +++ b/dbaccess/source/ui/inc/WTabPage.hxx @@ -32,7 +32,6 @@ namespace dbaui OCopyTableWizard* m_pParent; bool m_bFirstTime; // Page wird das erste mal gerufen ; should be set in the reset methode - OWizardPage( Window* pParent, const ResId& rResId ); OWizardPage( Window *pParent, const OString& rID, const OUString& rUIXMLDescription ); public: diff --git a/dbaccess/source/ui/inc/marktree.hxx b/dbaccess/source/ui/inc/marktree.hxx index 77fb8114ca04..cd86e1a8eba1 100644 --- a/dbaccess/source/ui/inc/marktree.hxx +++ b/dbaccess/source/ui/inc/marktree.hxx @@ -39,7 +39,6 @@ class OMarkableTreeListBox : public DBTreeListBox public: OMarkableTreeListBox( Window* pParent, WinBits nWinStyle=0 ); - OMarkableTreeListBox( Window* pParent, const ResId& rResId ); virtual ~OMarkableTreeListBox(); virtual void KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE; diff --git a/dbaccess/source/ui/misc/WColumnSelect.cxx b/dbaccess/source/ui/misc/WColumnSelect.cxx index 0f9ce1cafec9..62cce5672ff3 100644 --- a/dbaccess/source/ui/misc/WColumnSelect.cxx +++ b/dbaccess/source/ui/misc/WColumnSelect.cxx @@ -43,13 +43,6 @@ namespace CopyTableOperation = ::com::sun::star::sdb::application::CopyTableOper OUString OWizColumnSelect::GetTitle() const { return ModuleRes(STR_WIZ_COLUMN_SELECT_TITEL); } -OWizardPage::OWizardPage( Window* pParent, const ResId& rResId ) - : TabPage(pParent,rResId) - ,m_pParent(static_cast<OCopyTableWizard*>(pParent)) - ,m_bFirstTime(true) -{ -} - OWizardPage::OWizardPage(Window* pParent, const OString& rID, const OUString& rUIXMLDescription) : TabPage(pParent, rID, rUIXMLDescription) ,m_pParent(static_cast<OCopyTableWizard*>(pParent)) |