diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2010-12-29 09:49:33 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2010-12-29 10:52:55 +0100 |
commit | d31993e9c08c12c8d6bc27557feb17405ec580b4 (patch) | |
tree | 0976911ef5a773561602093cc86a674d396025a3 /svx/source/table/tablelayouter.cxx | |
parent | c8913235844104085a8b7c57058ba14825a88446 (diff) |
Some cppcheck cleaning
Diffstat (limited to 'svx/source/table/tablelayouter.cxx')
-rw-r--r-- | svx/source/table/tablelayouter.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/svx/source/table/tablelayouter.cxx b/svx/source/table/tablelayouter.cxx index b849a88cde7e..8f892e80605c 100644 --- a/svx/source/table/tablelayouter.cxx +++ b/svx/source/table/tablelayouter.cxx @@ -156,8 +156,7 @@ bool TableLayouter::getCellArea( const CellPos& rPos, basegfx::B2IRectangle& rAr } // ----------------------------------------------------------------------------- - -sal_Int32 TableLayouter::getRowHeight( sal_Int32 nRow ) +sal_Int32 TableLayouter::getRowHeight( sal_Int32 nRow ) const { if( isValidRow(nRow) ) return maRows[nRow].mnSize; @@ -180,8 +179,7 @@ void TableLayouter::setRowHeight( sal_Int32 nRow, sal_Int32 nHeight ) } // ----------------------------------------------------------------------------- - -sal_Int32 TableLayouter::getColumnWidth( sal_Int32 nColumn ) +sal_Int32 TableLayouter::getColumnWidth( sal_Int32 nColumn ) const { if( isValidColumn(nColumn) ) return maColumns[nColumn].mnSize; @@ -1204,7 +1202,6 @@ void TableLayouter::DistributeRows( ::Rectangle& rArea, sal_Int32 nFirstRow, sal } // ----------------------------------------------------------------------------- - void TableLayouter::SetWritingMode( com::sun::star::text::WritingMode eWritingMode ) { meWritingMode = eWritingMode; |