summaryrefslogtreecommitdiff
path: root/codemaker
diff options
context:
space:
mode:
Diffstat (limited to 'codemaker')
-rw-r--r--codemaker/inc/codemaker/global.hxx1
-rw-r--r--codemaker/source/codemaker/global.cxx12
2 files changed, 0 insertions, 13 deletions
diff --git a/codemaker/inc/codemaker/global.hxx b/codemaker/inc/codemaker/global.hxx
index af682ea79b9a..359596d65665 100644
--- a/codemaker/inc/codemaker/global.hxx
+++ b/codemaker/inc/codemaker/global.hxx
@@ -82,7 +82,6 @@ public:
sal_Bool isValid();
- void open(const ::rtl::OString& name, FileAccessMode nMode = FAM_READWRITE);
void createTempFile(const ::rtl::OString& sPath);
void close();
diff --git a/codemaker/source/codemaker/global.cxx b/codemaker/source/codemaker/global.cxx
index 9130fd17ff8f..35d7ed085aa2 100644
--- a/codemaker/source/codemaker/global.cxx
+++ b/codemaker/source/codemaker/global.cxx
@@ -330,18 +330,6 @@ void FileStream::createTempFile(const OString& sPath)
m_file = NULL;
}
-void FileStream::open(const OString& name, FileAccessMode mode)
-{
- if ( !name.isEmpty() )
- {
- oslFileError ret = osl_File_E_None;
- if ((ret = osl_openFile(convertToFileUrl(name).pData, &m_file, checkAccessMode(mode))) == osl_File_E_None)
- m_name = name;
- else
- m_file = NULL;
- }
-}
-
void FileStream::close()
{
if ( isValid() )