Kaydet (Commit) 8e06393f authored tarafından Caolán McNamara's avatar Caolán McNamara

remove post .ui conversion unused ResId loaders

Change-Id: Ib6a5455256f4712fc62554cbcbe279e9702d0552
üst 3a5024bc
......@@ -321,7 +321,6 @@ class SVT_DLLPUBLIC LineListBox : public ListBox
public:
LineListBox( Window* pParent, WinBits nWinStyle = WB_BORDER );
LineListBox( Window* pParent, const ResId& rResId );
virtual ~LineListBox();
/** Set the width in Twips */
......
......@@ -78,7 +78,6 @@ protected:
const sal_Bool bEnabled );
public:
SvxPageWindow( Window* pParent, const ResId& rId );
SvxPageWindow( Window* pParent );
~SvxPageWindow();
......
......@@ -39,7 +39,6 @@ protected:
void Modify();
public:
SvxRelativeField( Window* pParent, const ResId& rResId );
SvxRelativeField( Window* pParent, WinBits nBits);
void EnableRelativeMode( sal_uInt16 nMin = 50, sal_uInt16 nMax = 150,
......
......@@ -562,7 +562,6 @@ protected:
SAL_DLLPRIVATE virtual void ImplDrawCheckBoxState();
public:
explicit DisclosureButton( Window* pParent, WinBits nStyle = 0 );
explicit DisclosureButton( Window* pParent, const ResId& rResId );
virtual void KeyInput( const KeyEvent& rKEvt );
};
......
......@@ -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 );
......
......@@ -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);
......
......@@ -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 )
{
......
......@@ -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)
{
......
......@@ -809,18 +809,6 @@ extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeLineListBox(Window *pParent
// -----------------------------------------------------------------------
LineListBox::LineListBox( Window* pParent, const ResId& rResId ) :
ListBox( pParent, rResId ),
m_nWidth( 5 ),
m_sNone( ),
aColor( COL_BLACK ),
maPaintCol( COL_BLACK )
{
ImplInit();
}
// -----------------------------------------------------------------------
LineListBox::~LineListBox()
{
for ( size_t i = 0, n = pLineList->size(); i < n; ++i ) {
......
......@@ -57,47 +57,6 @@ struct PageWindow_Impl
// class SvxPageWindow ---------------------------------------------------
SvxPageWindow::SvxPageWindow( Window* pParent, const ResId& rId ) :
Window( pParent, rId ),
nTop ( 0 ),
nBottom ( 0 ),
nLeft ( 0 ),
nRight ( 0 ),
aColor ( COL_TRANSPARENT ),
nHdLeft ( 0 ),
nHdRight ( 0 ),
nHdDist ( 0 ),
nHdHeight ( 0 ),
aHdColor ( COL_TRANSPARENT ),
pHdBorder ( 0 ),
nFtLeft ( 0 ),
nFtRight ( 0 ),
nFtDist ( 0 ),
nFtHeight ( 0 ),
aFtColor ( COL_TRANSPARENT ),
pFtBorder ( 0 ),
bFooter ( sal_False ),
bHeader ( sal_False ),
bTable ( sal_False ),
bHorz ( sal_False ),
bVert ( sal_False ),
eUsage ( SVX_PAGE_ALL )
{
pImpl = new PageWindow_Impl;
// Count in Twips by default
SetMapMode( MapMode( MAP_TWIP ) );
aWinSize = GetOutputSizePixel();
aWinSize.Height() -= 4;
aWinSize.Width() -= 4;
aWinSize = PixelToLogic( aWinSize );
SetBackground();
}
SvxPageWindow::SvxPageWindow( Window* pParent ) :
Window( pParent ),
......
......@@ -22,17 +22,6 @@
// -----------------------------------------------------------------------
SvxRelativeField::SvxRelativeField( Window* pParent, const ResId& rResId ) :
MetricField( pParent, rResId )
{
bNegativeEnabled = sal_False;
bRelativeMode = sal_False;
bRelative = sal_False;
SetDecimalDigits( 2 );
SetMin( 0 );
SetMax( 9999 );
}
SvxRelativeField::SvxRelativeField( Window* pParent, WinBits nBits) :
MetricField( pParent, nBits)
{
......
......@@ -50,12 +50,6 @@ long NumEditAction::Notify( NotifyEvent& rNEvt )
return nHandled;
}
NoSpaceEdit::NoSpaceEdit( Window* pParent, const ResId& rResId)
: Edit(pParent, rResId)
, sForbiddenChars(OUString(" "))
{
}
NoSpaceEdit::NoSpaceEdit(Window* pParent)
: Edit(pParent, WB_BORDER|WB_TABSTOP)
, sForbiddenChars(OUString(" "))
......
......@@ -52,7 +52,6 @@ protected:
virtual void Modify();
public:
NoSpaceEdit( Window* pParent, const ResId& rResId);
NoSpaceEdit( Window* pParent );
virtual ~NoSpaceEdit();
void SetForbiddenChars(const String& rSet){sForbiddenChars = rSet;}
......@@ -65,11 +64,6 @@ public:
class TableNameEdit : public NoSpaceEdit
{
public:
TableNameEdit(Window* pWin, const ResId& rResId)
: NoSpaceEdit(pWin, rResId)
{
SetForbiddenChars(OUString(" .<>"));
}
TableNameEdit(Window* pWin)
: NoSpaceEdit(pWin)
{
......
......@@ -31,12 +31,6 @@ class SfxItemSet;
class SW_DLLPUBLIC SwPageExample : public SvxPageWindow
{
public:
SwPageExample(Window* pPar, const ResId& rResId)
: SvxPageWindow(pPar, rResId)
{
SetSize(SvxPaperInfo::GetPaperSize(PAPER_A4));
}
SwPageExample(Window* pPar)
: SvxPageWindow(pPar)
{
......@@ -57,10 +51,6 @@ protected:
const sal_Bool bSecond,
const sal_Bool bEnabled );
public:
SwPageGridExample(Window* pPar, const ResId& rResId ) :
SwPageExample(pPar, rResId ),
pGridItem(0),
m_bVertical(false){}
SwPageGridExample(Window* pPar) :
SwPageExample(pPar),
pGridItem(0),
......@@ -82,12 +72,6 @@ protected:
const sal_Bool bEnabled );
public:
SwColExample(Window* pPar, const ResId& rResId)
: SwPageExample(pPar, rResId)
, pColMgr(0)
{
}
SwColExample(Window* pPar)
: SwPageExample(pPar)
, pColMgr(0)
......
......@@ -4093,11 +4093,6 @@ DisclosureButton::DisclosureButton( Window* pParent, WinBits nStyle ) :
{
}
DisclosureButton::DisclosureButton( Window* pParent, const ResId& rResId ) :
CheckBox( pParent, rResId.SetRT( RSC_CHECKBOX ) )
{
}
// -----------------------------------------------------------------------
void DisclosureButton::ImplDrawCheckBoxState()
......
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