fpspreadsheet: Fix worksheet ignoring cell borderstyle if cell borderstyle is set before calling WriteBorders. Add '.' to package unit path (seems to fix compilation issue of several laz versions using the same fpx sources).

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4411 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2015-12-30 09:42:57 +00:00
parent ff1da55ac3
commit bb0a3ea92c
4 changed files with 5 additions and 2 deletions

View File

@ -1271,7 +1271,7 @@ begin
// Border styles can be set even if borders are not used --> don't check uffBorder! // Border styles can be set even if borders are not used --> don't check uffBorder!
equ := true; equ := true;
for b in AItem.Border do begin for b in TsCellBorder {AItem.Border} do begin
if (P^.BorderStyles[b].LineStyle <> AItem.BorderStyles[b].LineStyle) or if (P^.BorderStyles[b].LineStyle <> AItem.BorderStyles[b].LineStyle) or
(P^.BorderStyles[b].Color <> Aitem.BorderStyles[b].Color) (P^.BorderStyles[b].Color <> Aitem.BorderStyles[b].Color)
then begin then begin

View File

@ -9,6 +9,7 @@
<Version Value="11"/> <Version Value="11"/>
<PathDelim Value="\"/> <PathDelim Value="\"/>
<SearchPaths> <SearchPaths>
<OtherUnitFiles Value="."/>
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/> <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
</SearchPaths> </SearchPaths>
<Parsing> <Parsing>
@ -204,7 +205,7 @@ This package is all you need if you don't want graphical components (like grids
</Item43> </Item43>
<Item44> <Item44>
<Filename Value="fpsregfileformats.pas"/> <Filename Value="fpsregfileformats.pas"/>
<UnitName Value="fpsregfileformats"/> <UnitName Value="fpsRegFileFormats"/>
</Item44> </Item44>
</Files> </Files>
<RequiredPkgs Count="2"> <RequiredPkgs Count="2">

View File

@ -9,6 +9,7 @@
<Version Value="11"/> <Version Value="11"/>
<PathDelim Value="\"/> <PathDelim Value="\"/>
<SearchPaths> <SearchPaths>
<OtherUnitFiles Value="."/>
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/> <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
</SearchPaths> </SearchPaths>
<Other> <Other>

View File

@ -9,6 +9,7 @@
<Version Value="11"/> <Version Value="11"/>
<PathDelim Value="\"/> <PathDelim Value="\"/>
<SearchPaths> <SearchPaths>
<OtherUnitFiles Value="."/>
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/> <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
</SearchPaths> </SearchPaths>
<Parsing> <Parsing>