From a152440377a65b9ea4246f33b9e176a09161cf67 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 12 Apr 2023 19:40:25 +0300 Subject: useless function DbEvent_GetString removed --- plugins/Dbx_sqlite/src/dbevents.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Dbx_sqlite/src/dbevents.cpp') diff --git a/plugins/Dbx_sqlite/src/dbevents.cpp b/plugins/Dbx_sqlite/src/dbevents.cpp index 6e91e33f98..36350ebeb0 100644 --- a/plugins/Dbx_sqlite/src/dbevents.cpp +++ b/plugins/Dbx_sqlite/src/dbevents.cpp @@ -40,7 +40,7 @@ void CDbxSQLite::InitEvents() GetEvent(hEvent, &dbei); const char *p = (const char*)dbei.pBlob + sizeof(uint32_t); - DB::FILE_BLOB blob(DbEvent_GetString(&dbei, p), DbEvent_GetString(&dbei, p + mir_strlen(p) + 1)); + DB::FILE_BLOB blob(dbei.getString(p), dbei.getString(p + mir_strlen(p) + 1)); blob.write(dbei); EditEvent(hEvent, &dbei); } -- cgit v1.2.3