summaryrefslogtreecommitdiff
path: root/plugins/BasicHistory/src/TxtExport.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-08-31 12:19:31 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-08-31 12:19:31 +0000
commitca942b88c295830544e03804666229e0e955f64b (patch)
treee19134219dae9befdf0b5cb1764873830058d5ad /plugins/BasicHistory/src/TxtExport.cpp
parent75a38acd5c2a1e0abd08d3458d36a452dfd0879a (diff)
- memory leak fixed;
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@17226 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/BasicHistory/src/TxtExport.cpp')
-rw-r--r--plugins/BasicHistory/src/TxtExport.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/plugins/BasicHistory/src/TxtExport.cpp b/plugins/BasicHistory/src/TxtExport.cpp
index 89df71c8b3..45874d7276 100644
--- a/plugins/BasicHistory/src/TxtExport.cpp
+++ b/plugins/BasicHistory/src/TxtExport.cpp
@@ -30,23 +30,15 @@ void TxtExport::WriteHeader(const std::wstring&, const std::wstring &filterName,
EXP_FILE << start << "\n" << start << L" " << TranslateT("History Log") << L"\n";
EXP_FILE << start << L" " << myName;
if (proto1.length() || myId.length())
- {
EXP_FILE << L" (" << proto1 << L": " << myId << L") - ";
- }
else
- {
EXP_FILE << L" - ";
- }
EXP_FILE << name1;
if (proto1.length() || id1.length())
- {
EXP_FILE << L" (" << proto1 << L": " << id1 << L")\n";
- }
else
- {
EXP_FILE << L"\n";
- }
EXP_FILE << start << L" " << TranslateT("Filter:") << L" " << filterName << L"\n" << start << L"\n";
}