diff options
Diffstat (limited to 'plugins/mTextControl/src/ImageDataObjectHlp.cpp')
-rw-r--r-- | plugins/mTextControl/src/ImageDataObjectHlp.cpp | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/plugins/mTextControl/src/ImageDataObjectHlp.cpp b/plugins/mTextControl/src/ImageDataObjectHlp.cpp index fd81142271..7e2747eb44 100644 --- a/plugins/mTextControl/src/ImageDataObjectHlp.cpp +++ b/plugins/mTextControl/src/ImageDataObjectHlp.cpp @@ -213,40 +213,3 @@ bool InsertBitmap(IRichEditOle* pRichEditOle, HENHMETAFILE hEmf) return sc == S_OK;
}
-/*
-int RichEditVersion(void)
-{
- // get size of version information
- DWORD dummy;
- DWORD size = ::GetFileVersionInfoSize(_T("riched20.dll"), &dummy);
- if (!size) return -1; // unexpected failure
-
- // allocate a buffer for version information
- BYTE* buffer = (BYTE*) new BYTE[size];
-
- // get the version information
- if (!::GetFileVersionInfo(_T("riched20.dll"), 0, size, buffer))
- {
- delete[] buffer;
- return -1; // unexpected faiure
- }
-
- // get the static version information
- VS_FIXEDFILEINFO* vsInfo;
- UINT vsInfoSize;
- if (!::VerQueryValue(buffer, _T("\\"), (LPVOID*) &vsInfo, &vsInfoSize))
- {
- delete[] buffer;
- return -1; // unexpected failure
- }
-
- int FileVersionMinor = LOWORD(vsInfo->dwFileVersionMS);
-
- // free the buffer
- delete[] buffer;
-
- return FileVersionMinor ? 3 : 2;
-}
-
-bool g_HiddenTextSupported = RichEditVersion() == 3;
-*/
\ No newline at end of file |