summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/osl/detail/file.h5
-rw-r--r--sal/osl/unx/file.cxx15
-rw-r--r--sal/osl/w32/file.cxx15
-rw-r--r--sal/util/sal.map5
4 files changed, 0 insertions, 40 deletions
diff --git a/include/osl/detail/file.h b/include/osl/detail/file.h
index a3cfc732c5aa..ddcc47eda260 100644
--- a/include/osl/detail/file.h
+++ b/include/osl/detail/file.h
@@ -38,11 +38,6 @@ SAL_DLLPUBLIC oslFileError SAL_CALL osl_openFilePath(
oslFileHandle* pHandle,
sal_uInt32 uFlags );
-/* Get the OS specific "handle" of an open file. */
-SAL_DLLPUBLIC oslFileError SAL_CALL osl_getFileOSHandle(
- oslFileHandle Handle,
- sal_IntPtr *piFileHandle );
-
#if defined __cplusplus
}
#endif
diff --git a/sal/osl/unx/file.cxx b/sal/osl/unx/file.cxx
index 99fee40c956d..330f194475f7 100644
--- a/sal/osl/unx/file.cxx
+++ b/sal/osl/unx/file.cxx
@@ -1081,21 +1081,6 @@ SAL_CALL osl_syncFile(oslFileHandle Handle)
}
oslFileError
-SAL_CALL osl_getFileOSHandle(
- oslFileHandle Handle,
- sal_IntPtr *piFileHandle )
-{
- FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle);
-
- if (0 == pImpl || pImpl->m_kind != FileHandle_Impl::KIND_FD || -1 == pImpl->m_fd)
- return osl_File_E_INVAL;
-
- *piFileHandle = pImpl->m_fd;
-
- return osl_File_E_None;
-}
-
-oslFileError
SAL_CALL osl_mapFile (
oslFileHandle Handle,
void** ppAddr,
diff --git a/sal/osl/w32/file.cxx b/sal/osl/w32/file.cxx
index d51c243b5a38..1d13804e01b3 100644
--- a/sal/osl/w32/file.cxx
+++ b/sal/osl/w32/file.cxx
@@ -751,21 +751,6 @@ SAL_CALL osl_syncFile(oslFileHandle Handle)
}
oslFileError
-SAL_CALL osl_getFileOSHandle(
- oslFileHandle Handle,
- sal_IntPtr *piFileHandle )
-{
- FileHandle_Impl* pImpl = static_cast<FileHandle_Impl*>(Handle);
-
- if (0 == pImpl || !IsValidHandle(pImpl->m_hFile))
- return osl_File_E_INVAL;
-
- *piFileHandle = (sal_IntPtr) pImpl->m_hFile;
-
- return osl_File_E_None;
-}
-
-oslFileError
SAL_CALL osl_closeFile(oslFileHandle Handle)
{
FileHandle_Impl * pImpl = static_cast<FileHandle_Impl*>(Handle);
diff --git a/sal/util/sal.map b/sal/util/sal.map
index 8380e7e4786b..e601c6d57863 100644
--- a/sal/util/sal.map
+++ b/sal/util/sal.map
@@ -706,11 +706,6 @@ PRIVATE_textenc.1 { # LibreOffice 3.6
_ZN3sal6detail7textenc37handleBadInputUnicodeToTextConversion*;
};
-PRIVATE_file.1 { # LibreOffice 3.6
- global:
- osl_getFileOSHandle;
-};
-
# Unique libstdc++ symbols:
GLIBCXX_3.4 {
global: