diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-11-23 22:32:49 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-11-23 22:39:04 +0100 |
commit | db4aab0e114df7eda1a53a218de41a38c5bde7f2 (patch) | |
tree | ea85a19c5fd36a39a7786514334be903a1557fa8 /codemaker | |
parent | 5eb9c58c31ac0ab1042ef1c2cc8b61e932dddf8d (diff) |
Remove some newly tagged unused methods
Change-Id: Ie55dfd19f223df62c091ffc4fdf28789b308a1c7
Diffstat (limited to 'codemaker')
-rw-r--r-- | codemaker/inc/codemaker/global.hxx | 2 | ||||
-rw-r--r-- | codemaker/source/codemaker/global.cxx | 16 |
2 files changed, 0 insertions, 18 deletions
diff --git a/codemaker/inc/codemaker/global.hxx b/codemaker/inc/codemaker/global.hxx index 359596d65665..f4eff3d92dc0 100644 --- a/codemaker/inc/codemaker/global.hxx +++ b/codemaker/inc/codemaker/global.hxx @@ -98,8 +98,6 @@ public: friend FileStream &operator<<(FileStream& o, const ::rtl::OStringBuffer& s); private: - sal_uInt32 checkAccessMode(FileAccessMode mode); - oslFileHandle m_file; ::rtl::OString m_name; }; diff --git a/codemaker/source/codemaker/global.cxx b/codemaker/source/codemaker/global.cxx index 35d7ed085aa2..34b0490c7d17 100644 --- a/codemaker/source/codemaker/global.cxx +++ b/codemaker/source/codemaker/global.cxx @@ -340,22 +340,6 @@ void FileStream::close() } } -sal_uInt32 FileStream::checkAccessMode(FileAccessMode mode) -{ - switch( mode ) - { - case FAM_READ: - return osl_File_OpenFlag_Read; - case FAM_WRITE: - return osl_File_OpenFlag_Write; - case FAM_READWRITE_EXIST: - return osl_File_OpenFlag_Read | osl_File_OpenFlag_Write; - case FAM_READWRITE: - return osl_File_OpenFlag_Read | osl_File_OpenFlag_Write | osl_File_OpenFlag_Create; - } - return osl_File_OpenFlag_Read | osl_File_OpenFlag_Write | osl_File_OpenFlag_Create; -} - bool FileStream::write(void const * buffer, sal_uInt64 size) { while (size > 0) { sal_uInt64 written; |