summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-07-02 09:01:04 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-07-02 11:59:52 +0100
commit8e06393ffc3502382d5f8c586d298d02190f9d24 (patch)
treec16c13c91029f9e1c4633600e0ab191cd3dbeb95 /sc
parent3a5024bc0fd4c30f06da350b5c56300368c582e8 (diff)
remove post .ui conversion unused ResId loaders
Change-Id: Ib6a5455256f4712fc62554cbcbe279e9702d0552
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/inc/optsolver.hxx1
-rw-r--r--sc/source/ui/inc/tphfedit.hxx2
-rw-r--r--sc/source/ui/miscdlgs/optsolver.cxx5
-rw-r--r--sc/source/ui/pagedlg/tphfedit.cxx45
4 files changed, 0 insertions, 53 deletions
diff --git a/sc/source/ui/inc/optsolver.hxx b/sc/source/ui/inc/optsolver.hxx
index b73172837441..5de61718000e 100644
--- a/sc/source/ui/inc/optsolver.hxx
+++ b/sc/source/ui/inc/optsolver.hxx
@@ -42,7 +42,6 @@ class ScCursorRefEdit : public formula::RefEdit
Link maCursorDownLink;
public:
- ScCursorRefEdit( ScAnyRefDlg* pParent, Window *pLabel, const ResId& rResId );
ScCursorRefEdit( Window* pParent, Window *pLabel );
void SetCursorLinks( const Link& rUp, const Link& rDown );
diff --git a/sc/source/ui/inc/tphfedit.hxx b/sc/source/ui/inc/tphfedit.hxx
index 5a0c899a1b87..e49a4ee8fef5 100644
--- a/sc/source/ui/inc/tphfedit.hxx
+++ b/sc/source/ui/inc/tphfedit.hxx
@@ -55,7 +55,6 @@ enum ScEditWindowLocation
class SC_DLLPUBLIC ScEditWindow : public Control
{
public:
- ScEditWindow( Window* pParent, const ResId& rResId, ScEditWindowLocation eLoc );
ScEditWindow( Window* pParent, WinBits nBits , ScEditWindowLocation eLoc );
~ScEditWindow();
@@ -119,7 +118,6 @@ protected:
public:
- ScExtIButton(Window* pParent, const ResId& rResId );
ScExtIButton(Window* pParent, WinBits nBits );
void SetPopupMenu(PopupMenu* pPopUp);
diff --git a/sc/source/ui/miscdlgs/optsolver.cxx b/sc/source/ui/miscdlgs/optsolver.cxx
index d9bba1097fc2..7ad46023b492 100644
--- a/sc/source/ui/miscdlgs/optsolver.cxx
+++ b/sc/source/ui/miscdlgs/optsolver.cxx
@@ -117,11 +117,6 @@ ScSolverSuccessDialog::~ScSolverSuccessDialog()
//----------------------------------------------------------------------------
-ScCursorRefEdit::ScCursorRefEdit( ScAnyRefDlg* pParent, Window *pLabel, const ResId& rResId ) :
- formula::RefEdit( pParent, pParent, pLabel, rResId )
-{
-}
-
ScCursorRefEdit::ScCursorRefEdit( Window* pParent, Window *pLabel )
: formula::RefEdit( pParent, pLabel )
{
diff --git a/sc/source/ui/pagedlg/tphfedit.cxx b/sc/source/ui/pagedlg/tphfedit.cxx
index 255dad3d9a2a..19731ff72253 100644
--- a/sc/source/ui/pagedlg/tphfedit.cxx
+++ b/sc/source/ui/pagedlg/tphfedit.cxx
@@ -72,44 +72,6 @@ static void lcl_GetFieldData( ScHeaderFieldData& rData )
// class ScEditWindow
//========================================================================
-ScEditWindow::ScEditWindow( Window* pParent, const ResId& rResId, ScEditWindowLocation eLoc )
- : Control( pParent, rResId ),
- eLocation(eLoc),
- pAcc(NULL)
-{
- EnableRTL(false);
-
- const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings();
- Color aBgColor = rStyleSettings.GetWindowColor();
-
- SetMapMode( MAP_TWIP );
- SetPointer( POINTER_TEXT );
- SetBackground( aBgColor );
-
- Size aSize( GetOutputSize() );
- aSize.Height() *= 4;
-
- pEdEngine = new ScHeaderEditEngine( EditEngine::CreatePool(), sal_True );
- pEdEngine->SetPaperSize( aSize );
- pEdEngine->SetRefDevice( this );
-
- ScHeaderFieldData aData;
- lcl_GetFieldData( aData );
-
- // Feldbefehle:
- pEdEngine->SetData( aData );
- pEdEngine->SetControlWord( pEdEngine->GetControlWord() | EE_CNTRL_MARKFIELDS );
- mbRTL = ScGlobal::IsSystemRTL();
- if (mbRTL)
- pEdEngine->SetDefaultHorizontalTextDirection(EE_HTEXTDIR_R2L);
-
- pEdView = new EditView( pEdEngine, this );
- pEdView->SetOutputArea( Rectangle( Point(0,0), GetOutputSize() ) );
-
- pEdView->SetBackgroundColor( aBgColor );
- pEdEngine->InsertView( pEdView );
-}
-
ScEditWindow::ScEditWindow( Window* pParent, WinBits nBits, ScEditWindowLocation eLoc )
: Control( pParent, nBits ),
eLocation(eLoc),
@@ -391,13 +353,6 @@ void ScEditWindow::LoseFocus()
return pAcc;
}
-ScExtIButton::ScExtIButton(Window* pParent, const ResId& rResId )
- : ImageButton(pParent,rResId), pPopupMenu(NULL)
-{
- nSelected=0;
- aTimer.SetTimeout(600);
- SetDropDown( true);
-}
ScExtIButton::ScExtIButton(Window* pParent, WinBits nBits )
: ImageButton(pParent,nBits), pPopupMenu(NULL)
{