summaryrefslogtreecommitdiff
path: root/sal/osl/unx/osxlocale.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-11-19 20:01:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-11-20 08:34:06 +0100
commit8cbfce51ff659581a9602b22c36b9af1c69e51f8 (patch)
tree9e27f180b1e52d36e03a6b024a748f80e25f7c57 /sal/osl/unx/osxlocale.cxx
parent691f11eb6ec0cb51ae835badd60ed09acd4ec44e (diff)
Unused return value
Change-Id: I963d001aee68f1218ba7273562cb41f3cf4c5e20
Diffstat (limited to 'sal/osl/unx/osxlocale.cxx')
-rw-r--r--sal/osl/unx/osxlocale.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sal/osl/unx/osxlocale.cxx b/sal/osl/unx/osxlocale.cxx
index d2fbdb5f22af..9bc574263e6b 100644
--- a/sal/osl/unx/osxlocale.cxx
+++ b/sal/osl/unx/osxlocale.cxx
@@ -63,7 +63,7 @@ namespace
/** Grab current locale from system.
*/
-int macosx_getLocale(char *locale, sal_uInt32 bufferLen)
+void macosx_getLocale(char *locale, sal_uInt32 bufferLen)
{
CFStringRef sref = getProcessLocale();
CFStringGuard sGuard(sref);
@@ -91,8 +91,6 @@ int macosx_getLocale(char *locale, sal_uInt32 bufferLen)
// system interface is UTF-8 based and sal tries to determine
// the file system locale from the locale information
strlcat(locale, ".UTF-8", bufferLen - strlen(locale));
-
- return noErr;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */