summaryrefslogtreecommitdiff
path: root/testshl2/source/dynamicregister.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2009-11-13 19:13:08 +0100
committerKurt Zenker <kz@openoffice.org>2009-11-13 19:13:08 +0100
commitf9e98c2a8916e4003ed2014b88202cac0aad8a84 (patch)
treee87384248b716fb462ff852761890cc1dcda64ef /testshl2/source/dynamicregister.cxx
parent6ff0116714daf6fb06c9eacaa5d79524ca5dc623 (diff)
parentc1942c7468e9c13cb057ee5a7959760a5b999819 (diff)
CWS-TOOLING: integrate CWS cmcfixes65
Notes
Notes: split repo tag: testing_ooo/DEV300_m65
Diffstat (limited to 'testshl2/source/dynamicregister.cxx')
-rw-r--r--testshl2/source/dynamicregister.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/testshl2/source/dynamicregister.cxx b/testshl2/source/dynamicregister.cxx
index 02fb05871303..801e7702ab65 100644
--- a/testshl2/source/dynamicregister.cxx
+++ b/testshl2/source/dynamicregister.cxx
@@ -46,14 +46,14 @@
namespace fixes
{
- void changedir(const char* _sPath)
+ int changedir(const char* _sPath)
{
#if defined(WIN32)
// chdir(_sPath) is marked depricated since Visual C++ 2005
// use _chdir instead
- ::_chdir(_sPath);
+ return ::_chdir(_sPath);
#else
- ::chdir(_sPath);
+ return ::chdir(_sPath);
#endif
}
}