summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history_array.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewStory/src/history_array.cpp')
-rw-r--r--plugins/NewStory/src/history_array.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/NewStory/src/history_array.cpp b/plugins/NewStory/src/history_array.cpp
index c510c0f7f8..3d81d77b4b 100644
--- a/plugins/NewStory/src/history_array.cpp
+++ b/plugins/NewStory/src/history_array.cpp
@@ -470,12 +470,6 @@ void ItemData::setText(const wchar_t *pwszText)
{
savedHeight = -1;
- int fontid, colorid;
- getFontColor(fontid, colorid);
-
- pOwner->webPage.clText = g_fontTable[fontid].cl;
- pOwner->webPage.clBack = g_colorTable[colorid].cl;
-
T2Utf szFormattedBody(formatHtml(pwszText));
if (szFormattedBody)
m_doc = litehtml::document::createFromString(litehtml::estring(szFormattedBody.get(), litehtml::encoding::utf_8), &pOwner->webPage);