Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
8083f6b7
Kaydet (Commit)
8083f6b7
authored
Eyl 08, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove unused function params
Change-Id: I1b72a95b7367bb555d37a9a073ca4da2b01cf53f
üst
dd0ceb50
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
25 deletions
+11
-25
tablemodel.hxx
include/svtools/table/tablemodel.hxx
+2
-5
mousefunction.cxx
svtools/source/table/mousefunction.cxx
+2
-6
tablecontrol_impl.cxx
svtools/source/table/tablecontrol_impl.cxx
+2
-7
tablecontrol_impl.hxx
svtools/source/table/tablecontrol_impl.hxx
+2
-2
unocontroltablemodel.cxx
svtools/source/uno/unocontroltablemodel.cxx
+3
-5
No files found.
include/svtools/table/tablemodel.hxx
Dosyayı görüntüle @
8083f6b7
...
@@ -110,11 +110,8 @@ namespace svt { namespace table
...
@@ -110,11 +110,8 @@ namespace svt { namespace table
/** notifies the listener that one or more columns have been removed from
/** notifies the listener that one or more columns have been removed from
the table
the table
@param i_colIndex
the old index of the removed column
*/
*/
virtual
void
columnRemoved
(
ColPos
const
i_colIndex
)
=
0
;
virtual
void
columnRemoved
()
=
0
;
/** notifies the listener that all columns have been removed form the model
/** notifies the listener that all columns have been removed form the model
*/
*/
...
@@ -127,7 +124,7 @@ namespace svt { namespace table
...
@@ -127,7 +124,7 @@ namespace svt { namespace table
they have about the cells in question, in particular any possibly
they have about the cells in question, in particular any possibly
cached cell values.
cached cell values.
*/
*/
virtual
void
cellsUpdated
(
ColPos
const
i_firstCol
,
ColPos
i_lastCol
,
RowPos
const
i_firstRow
,
RowPos
const
i_lastRow
)
=
0
;
virtual
void
cellsUpdated
(
RowPos
const
i_firstRow
,
RowPos
const
i_lastRow
)
=
0
;
/** notifies the listener that attributes of a given column changed
/** notifies the listener that attributes of a given column changed
...
...
svtools/source/table/mousefunction.cxx
Dosyayı görüntüle @
8083f6b7
...
@@ -163,10 +163,8 @@ namespace svt { namespace table
...
@@ -163,10 +163,8 @@ namespace svt { namespace table
//= RowSelection
//= RowSelection
FunctionResult
RowSelection
::
handleMouseMove
(
ITableControl
&
i_tableControl
,
MouseEvent
const
&
i_event
)
FunctionResult
RowSelection
::
handleMouseMove
(
ITableControl
&
,
MouseEvent
const
&
)
{
{
OSL_UNUSED
(
i_tableControl
);
OSL_UNUSED
(
i_event
);
return
SkipFunction
;
return
SkipFunction
;
}
}
...
@@ -217,10 +215,8 @@ namespace svt { namespace table
...
@@ -217,10 +215,8 @@ namespace svt { namespace table
//= ColumnSortHandler
//= ColumnSortHandler
FunctionResult
ColumnSortHandler
::
handleMouseMove
(
ITableControl
&
i_tableControl
,
MouseEvent
const
&
i_event
)
FunctionResult
ColumnSortHandler
::
handleMouseMove
(
ITableControl
&
,
MouseEvent
const
&
)
{
{
OSL_UNUSED
(
i_tableControl
);
OSL_UNUSED
(
i_event
);
return
SkipFunction
;
return
SkipFunction
;
}
}
...
...
svtools/source/table/tablecontrol_impl.cxx
Dosyayı görüntüle @
8083f6b7
...
@@ -434,7 +434,7 @@ namespace svt { namespace table
...
@@ -434,7 +434,7 @@ namespace svt { namespace table
}
}
void
TableControl_Impl
::
columnRemoved
(
ColPos
const
i_colIndex
)
void
TableControl_Impl
::
columnRemoved
()
{
{
m_nColumnCount
=
m_pModel
->
getColumnCount
();
m_nColumnCount
=
m_pModel
->
getColumnCount
();
...
@@ -450,8 +450,6 @@ namespace svt { namespace table
...
@@ -450,8 +450,6 @@ namespace svt { namespace table
impl_ni_relayout
();
impl_ni_relayout
();
m_rAntiImpl
.
Invalidate
();
m_rAntiImpl
.
Invalidate
();
OSL_UNUSED
(
i_colIndex
);
}
}
...
@@ -464,12 +462,9 @@ namespace svt { namespace table
...
@@ -464,12 +462,9 @@ namespace svt { namespace table
}
}
void
TableControl_Impl
::
cellsUpdated
(
ColPos
const
i_firstCol
,
ColPos
i_lastCol
,
RowPos
const
i_firstRow
,
RowPos
const
i_lastRow
)
void
TableControl_Impl
::
cellsUpdated
(
RowPos
const
i_firstRow
,
RowPos
const
i_lastRow
)
{
{
invalidateRowRange
(
i_firstRow
,
i_lastRow
);
invalidateRowRange
(
i_firstRow
,
i_lastRow
);
OSL_UNUSED
(
i_firstCol
);
OSL_UNUSED
(
i_lastCol
);
}
}
...
...
svtools/source/table/tablecontrol_impl.hxx
Dosyayı görüntüle @
8083f6b7
...
@@ -299,9 +299,9 @@ namespace svt { namespace table
...
@@ -299,9 +299,9 @@ namespace svt { namespace table
virtual
void
rowsInserted
(
RowPos
first
,
RowPos
last
)
SAL_OVERRIDE
;
virtual
void
rowsInserted
(
RowPos
first
,
RowPos
last
)
SAL_OVERRIDE
;
virtual
void
rowsRemoved
(
RowPos
first
,
RowPos
last
)
SAL_OVERRIDE
;
virtual
void
rowsRemoved
(
RowPos
first
,
RowPos
last
)
SAL_OVERRIDE
;
virtual
void
columnInserted
()
SAL_OVERRIDE
;
virtual
void
columnInserted
()
SAL_OVERRIDE
;
virtual
void
columnRemoved
(
ColPos
const
i_colIndex
)
SAL_OVERRIDE
;
virtual
void
columnRemoved
()
SAL_OVERRIDE
;
virtual
void
allColumnsRemoved
()
SAL_OVERRIDE
;
virtual
void
allColumnsRemoved
()
SAL_OVERRIDE
;
virtual
void
cellsUpdated
(
ColPos
const
i_firstCol
,
ColPos
i_lastCol
,
RowPos
const
i_firstRow
,
RowPos
const
i_lastRow
)
SAL_OVERRIDE
;
virtual
void
cellsUpdated
(
RowPos
const
i_firstRow
,
RowPos
const
i_lastRow
)
SAL_OVERRIDE
;
virtual
void
columnChanged
(
ColPos
const
i_column
,
ColumnAttributeGroup
const
i_attributeGroup
)
SAL_OVERRIDE
;
virtual
void
columnChanged
(
ColPos
const
i_column
,
ColumnAttributeGroup
const
i_attributeGroup
)
SAL_OVERRIDE
;
virtual
void
tableMetricsChanged
()
SAL_OVERRIDE
;
virtual
void
tableMetricsChanged
()
SAL_OVERRIDE
;
...
...
svtools/source/uno/unocontroltablemodel.cxx
Dosyayı görüntüle @
8083f6b7
...
@@ -261,7 +261,7 @@ namespace svt { namespace table
...
@@ -261,7 +261,7 @@ namespace svt { namespace table
++
loop
++
loop
)
)
{
{
(
*
loop
)
->
columnRemoved
(
i_position
);
(
*
loop
)
->
columnRemoved
();
}
}
// dispose the column
// dispose the column
...
@@ -896,8 +896,6 @@ namespace svt { namespace table
...
@@ -896,8 +896,6 @@ namespace svt { namespace table
void
UnoControlTableModel
::
notifyDataChanged
(
::
com
::
sun
::
star
::
awt
::
grid
::
GridDataEvent
const
&
i_event
)
const
void
UnoControlTableModel
::
notifyDataChanged
(
::
com
::
sun
::
star
::
awt
::
grid
::
GridDataEvent
const
&
i_event
)
const
{
{
ColPos
const
firstCol
=
i_event
.
FirstColumn
==
-
1
?
0
:
i_event
.
FirstColumn
;
ColPos
const
lastCol
=
i_event
.
FirstColumn
==
-
1
?
getColumnCount
()
-
1
:
i_event
.
LastColumn
;
RowPos
const
firstRow
=
i_event
.
FirstRow
==
-
1
?
0
:
i_event
.
FirstRow
;
RowPos
const
firstRow
=
i_event
.
FirstRow
==
-
1
?
0
:
i_event
.
FirstRow
;
RowPos
const
lastRow
=
i_event
.
FirstRow
==
-
1
?
getRowCount
()
-
1
:
i_event
.
LastRow
;
RowPos
const
lastRow
=
i_event
.
FirstRow
==
-
1
?
getRowCount
()
-
1
:
i_event
.
LastRow
;
...
@@ -907,7 +905,7 @@ namespace svt { namespace table
...
@@ -907,7 +905,7 @@ namespace svt { namespace table
++
loop
++
loop
)
)
{
{
(
*
loop
)
->
cellsUpdated
(
first
Col
,
lastCol
,
first
Row
,
lastRow
);
(
*
loop
)
->
cellsUpdated
(
firstRow
,
lastRow
);
}
}
}
}
...
@@ -920,7 +918,7 @@ namespace svt { namespace table
...
@@ -920,7 +918,7 @@ namespace svt { namespace table
++
loop
++
loop
)
)
{
{
(
*
loop
)
->
cellsUpdated
(
0
,
get
ColumnCount
()
-
1
,
0
,
get
RowCount
()
-
1
);
(
*
loop
)
->
cellsUpdated
(
0
,
getRowCount
()
-
1
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment