summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--codemaker/inc/codemaker/global.hxx1
-rw-r--r--codemaker/source/codemaker/global.cxx12
-rwxr-xr-xunusedcode.easy1
3 files changed, 0 insertions, 14 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() )
diff --git a/unusedcode.easy b/unusedcode.easy
index 55a29aebe09c..cc9cdb097249 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1,4 +1,3 @@
-FileStream::open(rtl::OString const&, FileAccessMode)
FontSelectPattern::FontSelectPattern(PhysicalFontFace const&, Size const&, float, int, bool)
GraphicObject::SwapIn(SvStream*)
LiblantagDataRef::presetDataPath(rtl::OUString const&)