fpspreadsheet: Set package versions 1.3 in order to follow the convention of giving the trunk version an odd number. Silence some compiler hints.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3826 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz 2014-12-06 18:09:15 +00:00
parent ec9ab37f74
commit fdd9b88f43
7 changed files with 7 additions and 4 deletions

View File

@ -1037,6 +1037,7 @@ var
lCell: TCell;
begin
// a temporary cell record to store the formatting if there is any
lCell.Row := ARow; // to silence a compiler warning...
InitCell(ARow, ACol, lCell);
lCell.ContentType := cctEmpty;
@ -3813,6 +3814,7 @@ begin
// Empty cell? Need to count how many "table:number-columns-repeated" to be added
colsRepeated := 1;
lCell.Row := r; // to silence a compiler hint...
InitCell(r, c, lCell);
value := varNull;
styleCell := nil;

View File

@ -2018,7 +2018,6 @@ end;
procedure TsWorksheet.CopyFormula(AFromCell, AToCell: PCell);
var
rpnFormula: TsRPNFormula;
isSharedFormula: Boolean;
lCell: TCell;
begin
if (AFromCell = nil) or (AToCell = nil) then

View File

@ -25,7 +25,7 @@
This package is all you need if you don't want graphical components (like grids and charts)."/>
<License Value="LGPL with static linking exception. This is the same license as is used in the LCL (Lazarus Component Library)."/>
<Version Major="1" Minor="2"/>
<Version Major="1" Minor="3"/>
<Files Count="27">
<Item1>
<Filename Value="fpolestorage.pas"/>

View File

@ -19,7 +19,7 @@
It provides graphical components like a grid and chart."/>
<License Value="LGPL with static linking exception. This is the same license as is used in the LCL (Lazarus Component Library)."/>
<Version Major="1" Minor="2"/>
<Version Major="1" Minor="3"/>
<Files Count="5">
<Item1>
<Filename Value="fpspreadsheetctrls.pas"/>

View File

@ -23,7 +23,7 @@
It provides a graphical export component on the Data Export tab."/>
<License Value="LGPL with static linking exception. This is the same license as is used in the LCL (Lazarus Component Library)."/>
<Version Major="1" Minor="2"/>
<Version Major="1" Minor="3"/>
<Files Count="2">
<Item1>
<Filename Value="fpsexport.pas"/>

View File

@ -2938,6 +2938,7 @@ begin
for r := 0 to Workbook.VirtualRowCount-1 do
for c := 0 to Workbook.VirtualColCount-1 do
begin
lCell.Row := r; // to silence a compiler hint...
InitCell(lCell);
value := varNull;
styleCell := nil;

View File

@ -1937,6 +1937,7 @@ begin
AppendToStream(AStream, Format(
'<row r="%d" spans="1:%d"%s>', [r+1, Workbook.VirtualColCount, rh]));
for c := 0 to c2 do begin
lCell.Row := r; // to silence a compiler hint
InitCell(lCell);
value := varNull;
styleCell := nil;