summaryrefslogtreecommitdiff
path: root/plugins/IEView/src/ieview_services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/IEView/src/ieview_services.cpp')
-rw-r--r--plugins/IEView/src/ieview_services.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/plugins/IEView/src/ieview_services.cpp b/plugins/IEView/src/ieview_services.cpp
index 1a14332b91..2db0aa73de 100644
--- a/plugins/IEView/src/ieview_services.cpp
+++ b/plugins/IEView/src/ieview_services.cpp
@@ -26,14 +26,8 @@ INT_PTR HandleIEWindow(WPARAM, LPARAM lParam)
IEVIEWWINDOW *window = (IEVIEWWINDOW *)lParam;
Options::init();
if (window->iType == IEW_CREATE) {
- HTMLBuilder *builder = nullptr;
+ HTMLBuilder *builder;
switch (window->dwMode) {
- case IEWM_MUCC:
- builder = new MUCCHTMLBuilder();
- break;
- case IEWM_CHAT:
- builder = new ChatHTMLBuilder();
- break;
case IEWM_TABSRMM:
builder = new TabSRMMHTMLBuilder();
break;