summaryrefslogtreecommitdiff
path: root/plugins/ImportTXT
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-09-13 17:11:58 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-09-13 17:11:58 +0000
commitf51995e13679a37851baef8e7f52f2d993cbc7c1 (patch)
tree25ccd03cf2dc4b897cc0dc6fcbe4cc78ddb122c7 /plugins/ImportTXT
parentfe1e8456d2488095f409a4f2d38b7251abdedccf (diff)
mode old database junk to die
git-svn-id: http://svn.miranda-ng.org/main/trunk@17291 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ImportTXT')
-rw-r--r--plugins/ImportTXT/General.pas9
1 files changed, 2 insertions, 7 deletions
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;