Index: core/src/fxge/win32/fx_win32_gdipext.cpp |
diff --git a/core/src/fxge/win32/fx_win32_gdipext.cpp b/core/src/fxge/win32/fx_win32_gdipext.cpp |
index 3c63efed6aac633059970e999ac26fe865241aed..fff9e88bbb937261034a023252aec50e7febabe6 100644 |
--- a/core/src/fxge/win32/fx_win32_gdipext.cpp |
+++ b/core/src/fxge/win32/fx_win32_gdipext.cpp |
@@ -1013,14 +1013,14 @@ public: |
virtual HRESULT STDMETHODCALLTYPE |
QueryInterface(REFIID iid, void ** ppvObject) |
{ |
- if (iid == __uuidof(IUnknown) || iid == __uuidof(IStream) || |
- iid == __uuidof(ISequentialStream)) { |
+ if (iid == __uuidof(IUnknown) || |
+ iid == __uuidof(IStream) || |
+ iid == __uuidof(ISequentialStream)) { |
*ppvObject = static_cast<IStream*>(this); |
AddRef(); |
return S_OK; |
- } else { |
- return E_NOINTERFACE; |
} |
+ return E_NOINTERFACE; |
} |
virtual ULONG STDMETHODCALLTYPE AddRef(void) |
{ |