summaryrefslogtreecommitdiff
path: root/sc/source/ui/dbgui/validate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/dbgui/validate.cxx')
-rw-r--r--sc/source/ui/dbgui/validate.cxx42
1 files changed, 0 insertions, 42 deletions
diff --git a/sc/source/ui/dbgui/validate.cxx b/sc/source/ui/dbgui/validate.cxx
index bcac2499a434..b53301e1d81d 100644
--- a/sc/source/ui/dbgui/validate.cxx
+++ b/sc/source/ui/dbgui/validate.cxx
@@ -49,8 +49,6 @@
#include <sfx2/childwin.hxx>
#include "reffact.hxx"
-
-
static sal_uInt16 pValueRanges[] =
{
FID_VALID_MODE, FID_VALID_ERRTEXT,
@@ -59,8 +57,6 @@ static sal_uInt16 pValueRanges[] =
};
-
-
ScValidationDlg::ScValidationDlg(Window* pParent, const SfxItemSet* pArgSet,
ScTabViewShell *pTabViewSh, SfxBindings *pB /*= NULL*/)
: ScValidationDlgBase(pParent ? pParent : SFX_APP()->GetTopWindow(),
@@ -166,8 +162,6 @@ ScValidationDlg::~ScValidationDlg()
RemoveRefDlg( false );
}
-
-
namespace {
/** Converts the passed ScValidationMode to the position in the list box. */
@@ -301,8 +295,6 @@ bool lclGetStringListFromFormula( OUString& rStringList, const OUString& rFmlaSt
} // namespace
-
-
ScTPValidationValue::ScTPValidationValue( Window* pParent, const SfxItemSet& rArgSet ) :
SfxTabPage( pParent, ScResId( TP_VALIDATION_VALUES ), rArgSet ),
maFtAllow ( this, ScResId( FT_ALLOW ) ),
@@ -611,8 +603,6 @@ IMPL_LINK( ScTPValidationValue, KillFocusHdl, Window *, pWnd )
return 0;
}
-
-
IMPL_LINK_NOARG(ScTPValidationValue, SelectHdl)
{
sal_uInt16 nLbPos = maLbAllow.GetSelectEntryPos();
@@ -674,8 +664,6 @@ IMPL_LINK_NOARG(ScTPValidationValue, CheckHdl)
}
-
-
// Input Help Page
ScTPValidationHelp::ScTPValidationHelp( Window* pParent,
@@ -693,36 +681,26 @@ ScTPValidationHelp::ScTPValidationHelp( Window* pParent,
Init();
}
-
-
ScTPValidationHelp::~ScTPValidationHelp()
{
}
-
-
void ScTPValidationHelp::Init()
{
pTsbHelp->EnableTriState( false );
}
-
-
sal_uInt16* ScTPValidationHelp::GetRanges()
{
return pValueRanges;
}
-
-
SfxTabPage* ScTPValidationHelp::Create( Window* pParent,
const SfxItemSet& rArgSet )
{
return ( new ScTPValidationHelp( pParent, rArgSet ) );
}
-
-
void ScTPValidationHelp::Reset( const SfxItemSet& rArgSet )
{
const SfxPoolItem* pItem;
@@ -743,8 +721,6 @@ void ScTPValidationHelp::Reset( const SfxItemSet& rArgSet )
pEdInputHelp->SetText( EMPTY_OUSTRING );
}
-
-
bool ScTPValidationHelp::FillItemSet( SfxItemSet& rArgSet )
{
rArgSet.Put( SfxBoolItem( FID_VALID_SHOWHELP, pTsbHelp->GetState() == TRISTATE_TRUE ) );
@@ -754,8 +730,6 @@ bool ScTPValidationHelp::FillItemSet( SfxItemSet& rArgSet )
return true;
}
-
-
// Error Alert Page
ScTPValidationError::ScTPValidationError( Window* pParent,
@@ -776,14 +750,10 @@ ScTPValidationError::ScTPValidationError( Window* pParent,
Init();
}
-
-
ScTPValidationError::~ScTPValidationError()
{
}
-
-
void ScTPValidationError::Init()
{
m_pLbAction->SetSelectHdl( LINK( this, ScTPValidationError, SelectActionHdl ) );
@@ -795,23 +765,17 @@ void ScTPValidationError::Init()
SelectActionHdl( NULL );
}
-
-
sal_uInt16* ScTPValidationError::GetRanges()
{
return pValueRanges;
}
-
-
SfxTabPage* ScTPValidationError::Create( Window* pParent,
const SfxItemSet& rArgSet )
{
return ( new ScTPValidationError( pParent, rArgSet ) );
}
-
-
void ScTPValidationError::Reset( const SfxItemSet& rArgSet )
{
const SfxPoolItem* pItem;
@@ -839,8 +803,6 @@ void ScTPValidationError::Reset( const SfxItemSet& rArgSet )
SelectActionHdl( NULL );
}
-
-
bool ScTPValidationError::FillItemSet( SfxItemSet& rArgSet )
{
rArgSet.Put( SfxBoolItem( FID_VALID_SHOWERR, m_pTsbShow->GetState() == TRISTATE_TRUE ) );
@@ -851,8 +813,6 @@ bool ScTPValidationError::FillItemSet( SfxItemSet& rArgSet )
return true;
}
-
-
IMPL_LINK_NOARG(ScTPValidationError, SelectActionHdl)
{
ScValidErrorStyle eStyle = (ScValidErrorStyle) m_pLbAction->GetSelectEntryPos();
@@ -865,8 +825,6 @@ IMPL_LINK_NOARG(ScTPValidationError, SelectActionHdl)
return( 0L );
}
-
-
IMPL_LINK_NOARG(ScTPValidationError, ClickSearchHdl)
{
Window* pOld = Application::GetDefDialogParent();