summaryrefslogtreecommitdiff
path: root/codemaker
diff options
context:
space:
mode:
authorEnrico Weigelt, metux ITS <metuxitservice@googlemail.com>2012-11-15 08:30:26 +0100
committerTor Lillqvist <tml@iki.fi>2012-11-15 07:31:17 +0000
commit823b334ad73c1caa961b8ff55bf59600ae137741 (patch)
tree7cc52b2d90f247b784fe1ff56e61b608b800ce51 /codemaker
parentd2f6a87ac7adb3f60f7eae7c5a8f8a9076b7a75c (diff)
dropped unused method: FileStream::open
Change-Id: I3e6c1341666fddcfd1bd272a0943ca1de3e5d629 Reviewed-on: https://gerrit.libreoffice.org/1072 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
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() )