projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed compilation problem in pror commit
[wxWidgets.git]
/
src
/
msw
/
ole
/
automtn.cpp
diff --git
a/src/msw/ole/automtn.cpp
b/src/msw/ole/automtn.cpp
index 2a64cb87c15ecc754f493be01101485be1eb7bfe..86156519cb75c063704af0501ce01916045d178c 100644
(file)
--- a/
src/msw/ole/automtn.cpp
+++ b/
src/msw/ole/automtn.cpp
@@
-1,5
+1,5
@@
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
-// Name: automtn.cpp
+// Name:
src/msw/ole/
automtn.cpp
// Purpose: OLE automation utilities
// Author: Julian Smart
// Modified by:
// Purpose: OLE automation utilities
// Author: Julian Smart
// Modified by:
@@
-597,8
+597,8
@@
bool wxConvertVariantToOle(const wxVariant& variant, VARIANTARG& oleVariant)
oleVariant.vt = VT_DATE;
long dosDateTime = date.GetAsDOS();
oleVariant.vt = VT_DATE;
long dosDateTime = date.GetAsDOS();
- short dosDate =
(dosDateTime & 0xFFFF0000) >> 16
;
- short dosTime =
dosDateTime & 0xFFFF
;
+ short dosDate =
short((dosDateTime & 0xFFFF0000) >> 16)
;
+ short dosTime =
short(dosDateTime & 0xFFFF)
;
DosDateTimeToVariantTime(dosDate, dosTime, & oleVariant.date);
}
DosDateTimeToVariantTime(dosDate, dosTime, & oleVariant.date);
}
@@
-930,4
+930,3
@@
void ShowException(LPOLESTR szMember, HRESULT hr, EXCEPINFO *pexcep, unsigned in
#endif
#endif // wxUSE_OLE && !(defined(__BORLANDC__) && (__BORLANDC__ < 0x520)) && !defined(__CYGWIN10__)
#endif
#endif // wxUSE_OLE && !(defined(__BORLANDC__) && (__BORLANDC__ < 0x520)) && !defined(__CYGWIN10__)
-