Quellcode durchsuchen

- Removed outdated VER2_0 defines

git-svn-id: trunk@19513 -
sergei vor 13 Jahren
Ursprung
Commit
f4023ef49e
2 geänderte Dateien mit 0 neuen und 16 gelöschten Zeilen
  1. 0 8
      rtl/inc/variant.inc
  2. 0 8
      rtl/inc/varianth.inc

+ 0 - 8
rtl/inc/variant.inc

@@ -294,14 +294,12 @@ end;
 {$endif SUPPORT_COMP}
 
 
-{$ifndef VER2_0}
 {$ifndef FPUNONE}
 Operator :=(const source : real) dest : variant;{$ifdef SYSTEMINLINE}inline;{$endif}
 begin
   VariantManager.VarFromReal(Dest,Source);
 end;
 {$endif}
-{$endif VER2_0}
 
 
 { Misc. }
@@ -502,14 +500,12 @@ end;
 {$endif SUPPORT_COMP}
 
 
-{$ifndef VER2_0}
 {$ifndef FPUNONE}
 operator :=(const source : variant) dest : real;{$ifdef SYSTEMINLINE}inline;{$endif}
 begin
   dest:=variantmanager.vartoreal(source);
 end;
 {$endif}
-{$endif VER2_0}
 
 { Misc. }
 operator :=(const source : variant) dest : currency;{$ifdef SYSTEMINLINE}inline;{$endif}
@@ -850,12 +846,10 @@ operator :=(const source : olevariant) dest : comp;{$ifdef SYSTEMINLINE}inline;{
 
 
 {$ifndef FPUNONE}
-{$ifndef VER2_0}
 operator :=(const source : olevariant) dest : real;{$ifdef SYSTEMINLINE}inline;{$endif}
   begin
     dest:=variantmanager.vartoreal(variant(tvardata(source)));
   end;
-{$endif VER2_0}
 {$endif}
 
 { Misc. }
@@ -1021,14 +1015,12 @@ operator :=(const source : comp) dest : olevariant;{$ifdef SYSTEMINLINE}inline;{
 {$endif SUPPORT_COMP}
 
 
-{$ifndef VER2_0}
 {$ifndef FPUNONE}
 operator :=(const source : real) dest : olevariant;{$ifdef SYSTEMINLINE}inline;{$endif}
   begin
     variantmanager.varfromreal(variant(tvardata(dest)),source);
   end;
 {$endif}
-{$endif VER2_0}
 
 
 { Misc. }

+ 0 - 8
rtl/inc/varianth.inc

@@ -278,9 +278,7 @@ operator :=(const source : extended) dest : variant;{$ifdef SYSTEMINLINE}inline;
 operator :=(const source : comp) dest : variant;{$ifdef SYSTEMINLINE}inline;{$endif}
 {$endif SUPPORT_COMP}
 {$ifndef FPUNONE}
-{$ifndef VER2_0}
 operator :=(const source : real) dest : variant;{$ifdef SYSTEMINLINE}inline;{$endif}
-{$endif VER2_0}
 {$endif}
 
 { Misc. }
@@ -337,9 +335,7 @@ operator :=(const source : variant) dest : extended;{$ifdef SYSTEMINLINE}inline;
 operator :=(const source : variant) dest : comp;{$ifdef SYSTEMINLINE}inline;{$endif}
 {$endif SUPPORT_COMP}
 {$ifndef FPUNONE}
-{$ifndef VER2_0}
 operator :=(const source : variant) dest : real;{$ifdef SYSTEMINLINE}inline;{$endif}
-{$endif VER2_0}
 {$endif}
 
 { done by the compiler now }
@@ -431,9 +427,7 @@ operator :=(const source : olevariant) dest : extended;{$ifdef SYSTEMINLINE}inli
 operator :=(const source : olevariant) dest : comp;{$ifdef SYSTEMINLINE}inline;{$endif}
 {$endif SUPPORT_COMP}
 {$ifndef FPUNONE}
-{$ifndef VER2_0}
 operator :=(const source : olevariant) dest : real;{$ifdef SYSTEMINLINE}inline;{$endif}
-{$endif VER2_0}
 {$endif}
 
 { Misc. }
@@ -488,9 +482,7 @@ operator :=(const source : extended) dest : olevariant;{$ifdef SYSTEMINLINE}inli
 operator :=(const source : comp) dest : olevariant;{$ifdef SYSTEMINLINE}inline;{$endif}
 {$endif SUPPORT_COMP}
 {$ifndef FPUNONE}
-{$ifndef VER2_0}
 operator :=(const source : real) dest : olevariant;{$ifdef SYSTEMINLINE}inline;{$endif}
-{$endif VER2_0}
 {$endif}
 
 { Misc. }