From f51995e13679a37851baef8e7f52f2d993cbc7c1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 13 Sep 2016 17:11:58 +0000 Subject: mode old database junk to die git-svn-id: http://svn.miranda-ng.org/main/trunk@17291 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ImportTXT/General.pas | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'plugins/ImportTXT') diff --git a/plugins/ImportTXT/General.pas b/plugins/ImportTXT/General.pas index f68486afac..0a53d03ffc 100644 --- a/plugins/ImportTXT/General.pas +++ b/plugins/ImportTXT/General.pas @@ -342,11 +342,6 @@ begin result := Proto_GetProtoName(hContact); end; -function DBFreeVariant(dbv: PDBVARIANT): integer; -begin - result := db_free(dbv); -end; - function GetContactID(hContact: THandle; proto: AnsiString = ''; Contact: boolean = false): WideString; var @@ -387,7 +382,7 @@ begin result := dbv.szVal.w; end; // free variant - DBFreeVariant(@dbv); + db_free(@dbv); end; end; end; @@ -429,7 +424,7 @@ begin result := dbv.szVal.w; end; // free variant - DBFreeVariant(@dbv); + db_free(@dbv); end; end; end; -- cgit v1.2.3