summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-03-12 06:36:03 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-03-12 06:36:03 +0000
commit1040dd168a0048afa0b0076f90882405f02f9c02 (patch)
tree8c6b2dedeb406039917dfd89402cee9da961c9bd
parente3c20ccc69948d2821597a79c19e08798c6ace99 (diff)
INTEGRATION: CWS hro34 (1.10.120); FILE MERGED
2008/03/07 10:38:16 hro 1.10.120.1: #i78851# #i72556# Implemented Vista style File Dialog
-rw-r--r--fpicker/source/win32/misc/WinImplHelper.cxx13
1 files changed, 11 insertions, 2 deletions
diff --git a/fpicker/source/win32/misc/WinImplHelper.cxx b/fpicker/source/win32/misc/WinImplHelper.cxx
index 65f5a677d596..535d7d37a0e9 100644
--- a/fpicker/source/win32/misc/WinImplHelper.cxx
+++ b/fpicker/source/win32/misc/WinImplHelper.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: WinImplHelper.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: hr $ $Date: 2007-01-02 16:11:11 $
+ * last change: $Author: rt $ $Date: 2008-03-12 07:36:03 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -117,6 +117,15 @@ bool SAL_CALL IsWindowsVersion(unsigned int PlatformId, unsigned int MajorVersio
// determine if we are running under Win2000
//------------------------------------------------------------
+bool SAL_CALL IsWindowsVista()
+{
+ return IsWindowsVersion(VER_PLATFORM_WIN32_NT, 6, 0);
+}
+
+//------------------------------------------------------------
+// determine if we are running under Win2000
+//------------------------------------------------------------
+
bool SAL_CALL IsWindows2000()
{
return IsWindowsVersion(VER_PLATFORM_WIN32_NT, 5, 0);