summaryrefslogtreecommitdiff
path: root/sc/source/ui/navipi
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-22 21:20:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-23 03:38:49 +0000
commit0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch)
tree5024cba9f9ea5e3b23ea26025323f6aef39488d0 /sc/source/ui/navipi
parentb81ac16e65b311d6e43c05c22c65d2040c9d7e04 (diff)
Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/navipi')
-rw-r--r--sc/source/ui/navipi/navcitem.cxx4
-rw-r--r--sc/source/ui/navipi/navipi.cxx114
-rw-r--r--sc/source/ui/navipi/scenwnd.cxx6
3 files changed, 62 insertions, 62 deletions
diff --git a/sc/source/ui/navipi/navcitem.cxx b/sc/source/ui/navipi/navcitem.cxx
index 9297aae5f350..a3be41e53ba7 100644
--- a/sc/source/ui/navipi/navcitem.cxx
+++ b/sc/source/ui/navipi/navcitem.cxx
@@ -28,7 +28,7 @@
// STATIC DATA -----------------------------------------------------------
-//------------------------------------------------------------------------
+
ScNavigatorControllerItem::ScNavigatorControllerItem( sal_uInt16 nIdP,
ScNavigatorDlg& rDlg,
@@ -38,7 +38,7 @@ ScNavigatorControllerItem::ScNavigatorControllerItem( sal_uInt16 nIdP,
{
}
-//------------------------------------------------------------------------
+
void ScNavigatorControllerItem::StateChanged( sal_uInt16 /* nSID */, SfxItemState /* eState */,
const SfxPoolItem* pItem )
diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx
index 0e8319242828..f0e8c493b77a 100644
--- a/sc/source/ui/navipi/navipi.cxx
+++ b/sc/source/ui/navipi/navipi.cxx
@@ -64,7 +64,7 @@ static const sal_Int32 SCNAV_COLLETTERS = ::ScColToAlpha(SCNAV_MAXCOL).getLength
#define SCNAV_MAXROW (MAXROWCOUNT)
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::ReleaseFocus()
{
@@ -91,13 +91,13 @@ ColumnEdit::ColumnEdit( ScNavigatorDlg* pParent, const ResId& rResId )
SetMaxTextLen( SCNAV_COLDIGITS ); // 1...256...18278 or A...IV...ZZZ
}
-//------------------------------------------------------------------------
+
ColumnEdit::~ColumnEdit()
{
}
-//------------------------------------------------------------------------
+
bool ColumnEdit::Notify( NotifyEvent& rNEvt )
{
@@ -129,7 +129,7 @@ bool ColumnEdit::Notify( NotifyEvent& rNEvt )
return nHandled;
}
-//------------------------------------------------------------------------
+
void ColumnEdit::LoseFocus()
{
@@ -137,7 +137,7 @@ void ColumnEdit::LoseFocus()
}
-//------------------------------------------------------------------------
+
void ColumnEdit::Up()
{
@@ -149,7 +149,7 @@ void ColumnEdit::Up()
nCol--;
}
-//------------------------------------------------------------------------
+
void ColumnEdit::Down()
{
@@ -157,7 +157,7 @@ void ColumnEdit::Down()
SetCol( nCol-1 );
}
-//------------------------------------------------------------------------
+
void ColumnEdit::First()
{
@@ -165,7 +165,7 @@ void ColumnEdit::First()
SetText(OUString('A'));
}
-//------------------------------------------------------------------------
+
void ColumnEdit::Last()
{
@@ -175,7 +175,7 @@ void ColumnEdit::Last()
}
-//------------------------------------------------------------------------
+
void ColumnEdit::EvalText()
{
@@ -197,7 +197,7 @@ void ColumnEdit::EvalText()
nKeyGroup = KEYGROUP_ALPHA;
}
-//------------------------------------------------------------------------
+
void ColumnEdit::ExecuteCol()
{
@@ -209,7 +209,7 @@ void ColumnEdit::ExecuteCol()
rDlg.SetCurrentCell( nCol-1, nRow-1 );
}
-//------------------------------------------------------------------------
+
void ColumnEdit::SetCol( SCCOL nColNo )
{
@@ -228,7 +228,7 @@ void ColumnEdit::SetCol( SCCOL nColNo )
}
}
-//------------------------------------------------------------------------
+
SCCOL ColumnEdit::AlphaToNum( OUString& rStr )
{
@@ -253,7 +253,7 @@ SCCOL ColumnEdit::AlphaToNum( OUString& rStr )
return nColumn;
}
-//------------------------------------------------------------------------
+
SCCOL ColumnEdit::NumStrToAlpha( OUString& rStr )
{
@@ -267,7 +267,7 @@ SCCOL ColumnEdit::NumStrToAlpha( OUString& rStr )
return nColumn;
}
-//------------------------------------------------------------------------
+
SCCOL ColumnEdit::NumToAlpha( SCCOL nColNo, OUString& rStr )
{
@@ -293,13 +293,13 @@ RowEdit::RowEdit( ScNavigatorDlg* pParent, const ResId& rResId )
SetLast( SCNAV_MAXROW);
}
-//------------------------------------------------------------------------
+
RowEdit::~RowEdit()
{
}
-//------------------------------------------------------------------------
+
bool RowEdit::Notify( NotifyEvent& rNEvt )
{
@@ -320,13 +320,13 @@ bool RowEdit::Notify( NotifyEvent& rNEvt )
return nHandled;
}
-//------------------------------------------------------------------------
+
void RowEdit::LoseFocus()
{
}
-//------------------------------------------------------------------------
+
void RowEdit::ExecuteRow()
{
@@ -347,13 +347,13 @@ ScDocListBox::ScDocListBox( ScNavigatorDlg* pParent, const ResId& rResId )
{
}
-//------------------------------------------------------------------------
+
ScDocListBox::~ScDocListBox()
{
}
-//------------------------------------------------------------------------
+
void ScDocListBox::Select()
{
@@ -378,13 +378,13 @@ CommandToolBox::CommandToolBox( ScNavigatorDlg* pParent, const ResId& rResId )
SetItemBits( IID_DROPMODE, GetItemBits( IID_DROPMODE ) | TIB_DROPDOWNONLY );
}
-//------------------------------------------------------------------------
+
CommandToolBox::~CommandToolBox()
{
}
-//------------------------------------------------------------------------
+
void CommandToolBox::Select( sal_uInt16 nSelId )
{
@@ -436,13 +436,13 @@ void CommandToolBox::Select()
Select( GetCurItemId() );
}
-//------------------------------------------------------------------------
+
void CommandToolBox::Click()
{
}
-//------------------------------------------------------------------------
+
IMPL_LINK_NOARG(CommandToolBox, ToolBoxDropdownClickHdl)
{
@@ -470,7 +470,7 @@ IMPL_LINK_NOARG(CommandToolBox, ToolBoxDropdownClickHdl)
return 1;
}
-//------------------------------------------------------------------------
+
void CommandToolBox::UpdateButtons()
{
@@ -686,12 +686,12 @@ ScNavigatorDlg::ScNavigatorDlg( SfxBindings* pB, SfxChildWindowContext* pCW, Win
ppBoundItems = new ScNavigatorControllerItem* [CTRL_ITEMS];
rBindings.ENTERREGISTRATIONS();
- //-----------------------------
+
REGISTER_SLOT( 0, SID_CURRENTCELL );
REGISTER_SLOT( 1, SID_CURRENTTAB );
REGISTER_SLOT( 2, SID_CURRENTDOC );
REGISTER_SLOT( 3, SID_SELECT_SCENARIO );
- //-----------------------------
+
rBindings.LEAVEREGISTRATIONS();
StartListening( *(SFX_APP()) );
@@ -745,7 +745,7 @@ ScNavigatorDlg::ScNavigatorDlg( SfxBindings* pB, SfxChildWindowContext* pCW, Win
aLbEntries.SetNavigatorDlgFlag(true);
}
-//------------------------------------------------------------------------
+
ScNavigatorDlg::~ScNavigatorDlg()
{
@@ -762,7 +762,7 @@ ScNavigatorDlg::~ScNavigatorDlg()
EndListening( rBindings );
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::Resizing( Size& rNewSize ) // Size = Outputsize?
{
@@ -818,14 +818,14 @@ void ScNavigatorDlg::DataChanged( const DataChangedEvent& rDCEvt )
Window::DataChanged( rDCEvt );
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::Resize()
{
DoResize();
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::DoResize()
{
@@ -884,7 +884,7 @@ void ScNavigatorDlg::DoResize()
}
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::Notify( SfxBroadcaster&, const SfxHint& rHint )
{
@@ -957,7 +957,7 @@ void ScNavigatorDlg::Notify( SfxBroadcaster&, const SfxHint& rHint )
}
}
-//------------------------------------------------------------------------
+
IMPL_LINK( ScNavigatorDlg, TimeHdl, Timer*, pTimer )
{
@@ -968,7 +968,7 @@ IMPL_LINK( ScNavigatorDlg, TimeHdl, Timer*, pTimer )
return 0;
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::SetDropMode(sal_uInt16 nNew)
{
@@ -979,7 +979,7 @@ void ScNavigatorDlg::SetDropMode(sal_uInt16 nNew)
rCfg.SetDragMode(nDropMode);
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::CursorPosChanged()
{
@@ -989,7 +989,7 @@ void ScNavigatorDlg::CursorPosChanged()
// if ( GetAreaAtCursor( aStrAreaName ) )
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::SetCurrentCell( SCCOL nColNo, SCROW nRowNo )
{
@@ -1025,7 +1025,7 @@ void ScNavigatorDlg::SetCurrentCellStr( const OUString rName )
&aNameItem, 0L );
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::SetCurrentTable( SCTAB nTabNo )
{
@@ -1058,7 +1058,7 @@ void ScNavigatorDlg::SetCurrentTableStr( const OUString& rName )
}
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::SetCurrentObject( const OUString rName )
{
@@ -1068,7 +1068,7 @@ void ScNavigatorDlg::SetCurrentObject( const OUString rName )
&aNameItem, 0L );
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::SetCurrentDoc( const OUString& rDocName ) // aktivieren
{
@@ -1078,14 +1078,14 @@ void ScNavigatorDlg::SetCurrentDoc( const OUString& rDocName ) // aktivie
&aDocItem, 0L );
}
-//------------------------------------------------------------------------
+
ScTabViewShell* ScNavigatorDlg::GetTabViewShell() const
{
return PTR_CAST( ScTabViewShell, SfxViewShell::Current() );
}
-//------------------------------------------------------------------------
+
ScNavigatorSettings* ScNavigatorDlg::GetNavigatorSettings()
{
@@ -1098,7 +1098,7 @@ ScNavigatorSettings* ScNavigatorDlg::GetNavigatorSettings()
return pViewSh ? pViewSh->GetNavigatorSettings() : NULL;
}
-//------------------------------------------------------------------------
+
bool ScNavigatorDlg::GetViewData()
{
@@ -1108,7 +1108,7 @@ bool ScNavigatorDlg::GetViewData()
return ( pViewData != NULL );
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::UpdateColumn( const SCCOL* pCol )
{
@@ -1121,7 +1121,7 @@ void ScNavigatorDlg::UpdateColumn( const SCCOL* pCol )
CheckDataArea();
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::UpdateRow( const SCROW* pRow )
{
@@ -1134,7 +1134,7 @@ void ScNavigatorDlg::UpdateRow( const SCROW* pRow )
CheckDataArea();
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::UpdateTable( const SCTAB* pTab )
{
@@ -1146,7 +1146,7 @@ void ScNavigatorDlg::UpdateTable( const SCTAB* pTab )
CheckDataArea();
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::UpdateAll()
{
@@ -1169,7 +1169,7 @@ void ScNavigatorDlg::UpdateAll()
aContentTimer.Stop(); // dann nicht nochmal
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::SetListMode( NavListMode eMode, bool bSetSize )
{
@@ -1211,7 +1211,7 @@ void ScNavigatorDlg::SetListMode( NavListMode eMode, bool bSetSize )
UnmarkDataArea();
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::ShowList( bool bShow, bool bSetSize )
{
@@ -1259,7 +1259,7 @@ void ScNavigatorDlg::ShowList( bool bShow, bool bSetSize )
}
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::ShowScenarios( bool bShow, bool bSetSize )
{
@@ -1308,11 +1308,11 @@ void ScNavigatorDlg::ShowScenarios( bool bShow, bool bSetSize )
}
-//------------------------------------------------------------------------
+
//
// Dokumente fuer Dropdown-Listbox
//
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::GetDocNames( const OUString* pManualSel )
{
@@ -1361,7 +1361,7 @@ void ScNavigatorDlg::GetDocNames( const OUString* pManualSel )
aLbDocuments.SelectEntry( aSelEntry );
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::MarkDataArea()
{
@@ -1383,7 +1383,7 @@ void ScNavigatorDlg::MarkDataArea()
}
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::UnmarkDataArea()
{
@@ -1396,7 +1396,7 @@ void ScNavigatorDlg::UnmarkDataArea()
}
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::CheckDataArea()
{
@@ -1414,7 +1414,7 @@ void ScNavigatorDlg::CheckDataArea()
}
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::StartOfDataArea()
{
@@ -1434,7 +1434,7 @@ void ScNavigatorDlg::StartOfDataArea()
}
}
-//------------------------------------------------------------------------
+
void ScNavigatorDlg::EndOfDataArea()
{
@@ -1454,7 +1454,7 @@ void ScNavigatorDlg::EndOfDataArea()
}
}
-//------------------------------------------------------------------------
+
SfxChildAlignment ScNavigatorDlg::CheckAlignment(
SfxChildAlignment eActAlign, SfxChildAlignment eAlign )
diff --git a/sc/source/ui/navipi/scenwnd.cxx b/sc/source/ui/navipi/scenwnd.cxx
index d97aeeee4da9..eb88a4b375a9 100644
--- a/sc/source/ui/navipi/scenwnd.cxx
+++ b/sc/source/ui/navipi/scenwnd.cxx
@@ -228,7 +228,7 @@ ScScenarioWindow::ScScenarioWindow( Window* pParent, const OUString& aQH_List,
}
}
-// -----------------------------------------------------------------------
+
ScScenarioWindow::~ScScenarioWindow()
{
@@ -244,7 +244,7 @@ void ScScenarioWindow::Paint( const Rectangle& rRect )
Window::Paint( rRect );
}
-// -----------------------------------------------------------------------
+
void ScScenarioWindow::NotifyState( const SfxPoolItem* pState )
{
@@ -273,7 +273,7 @@ void ScScenarioWindow::NotifyState( const SfxPoolItem* pState )
}
}
-// -----------------------------------------------------------------------
+
void ScScenarioWindow::SetSizePixel( const Size& rNewSize )
{