Dead code

Change-Id: I50b13e27501dfd885e3ed99215d18166d5112bf7
This commit is contained in:
Stephan Bergmann
2014-06-30 21:00:59 +02:00
parent 28177b61a8
commit 656dd07d29
2 changed files with 0 additions and 67 deletions

View File

@@ -187,27 +187,6 @@ namespace
rFile += rExtension;
}
// move the control with the given offset
void lcl_MoveControl( Control* _pControl, sal_Int32 _nDeltaX, sal_Int32 _nDeltaY, sal_Int32* _pMaxY = NULL )
{
if ( _pControl )
{
Point aNewPos = _pControl->GetPosPixel();
// adjust the vertical position
aNewPos.Y() += _nDeltaY;
if ( _pMaxY && ( aNewPos.Y() > *_pMaxY ) )
*_pMaxY = aNewPos.Y();
// adjust the horizontal position
aNewPos.X() += _nDeltaX;
_pControl->SetPosPixel( aNewPos );
}
}
void lcl_autoUpdateFileExtension( SvtFileDialog* _pDialog, const OUString& _rLastFilterExt )
{
// if auto extension is enabled ....
@@ -319,45 +298,6 @@ namespace
}
}
// ControlChain_Impl
struct ControlChain_Impl
{
Window* _pControl;
ControlChain_Impl* _pNext;
bool _bHasOwnership;
ControlChain_Impl( Window* pControl, ControlChain_Impl* pNext );
~ControlChain_Impl();
};
ControlChain_Impl::ControlChain_Impl
(
Window* pControl,
ControlChain_Impl* pNext
)
: _pControl( pControl ),
_pNext( pNext ),
_bHasOwnership( true )
{
}
ControlChain_Impl::~ControlChain_Impl()
{
if ( _bHasOwnership )
{
delete _pControl;
}
delete _pNext;
}
// SvtFileDialog
SvtFileDialog::SvtFileDialog
@@ -368,7 +308,6 @@ SvtFileDialog::SvtFileDialog
) :
ModalDialog( _pParent, "ExplorerFileDialog", "fps/ui/explorerfiledialog.ui" )
,_pUserControls( NULL )
,_pCbReadOnly( NULL )
,_pCbLinkBox( NULL)
,_pCbPreviewBox( NULL )
@@ -392,7 +331,6 @@ SvtFileDialog::SvtFileDialog
SvtFileDialog::SvtFileDialog ( Window* _pParent, WinBits nBits )
:ModalDialog( _pParent, "ExplorerFileDialog", "fps/ui/explorerfiledialog.ui" )
,_pUserControls( NULL )
,_pCbReadOnly( NULL )
,_pCbLinkBox( NULL)
,_pCbPreviewBox( NULL )
@@ -501,7 +439,6 @@ SvtFileDialog::~SvtFileDialog()
delete _pSplitter;
delete _pContainer;
delete _pPrevBmp;
delete _pUserControls;
}
void SvtFileDialog::Init_Impl

View File

@@ -48,7 +48,6 @@
class SvTabListBox;
class SvtFileView;
struct ControlChain_Impl;
class SvtFileDialogFilter_Impl;
@@ -85,9 +84,6 @@ class CustomContainer;
class SvtFileDialog : public ModalDialog, public ::svt::IFilePickerController
{
private:
// originally from VclFileDialog
ControlChain_Impl* _pUserControls;
CheckBox* _pCbReadOnly;
CheckBox* _pCbLinkBox;
CheckBox* _pCbPreviewBox;