summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history_control.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewStory/src/history_control.cpp')
-rw-r--r--plugins/NewStory/src/history_control.cpp22
1 files changed, 6 insertions, 16 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp
index d7f1217477..0f7fd29da9 100644
--- a/plugins/NewStory/src/history_control.cpp
+++ b/plugins/NewStory/src/history_control.cpp
@@ -436,22 +436,12 @@ CMStringW NewstoryListData::GatherSelected(bool bTextOnly)
if (!p->m_bSelected)
continue;
- if (p->m_bOfflineFile) {
- DB::EventInfo dbei(p->hEvent);
- DB::FILE_BLOB blob(dbei);
- if (p->m_bOfflineDownloaded)
- ret.Append(blob.getLocalName());
- else
- ret.Append(_A2T(blob.getUrl()));
- }
- else {
- if (bTextOnly)
- ret.Append(p->wtext);
- else { // copy text only
- CMStringW wszText(p->formatString());
- RemoveBbcodes(wszText);
- ret.Append(wszText);
- }
+ if (bTextOnly)
+ ret.Append(p->wtext);
+ else { // copy text only
+ CMStringW wszText(p->formatString());
+ RemoveBbcodes(wszText);
+ ret.Append(wszText);
}
ret.Append(L"\r\n");
}