Kaydet (Commit) 823b334a authored tarafından Enrico Weigelt, metux ITS's avatar Enrico Weigelt, metux ITS Kaydeden (comit) Tor Lillqvist

dropped unused method: FileStream::open

Change-Id: I3e6c1341666fddcfd1bd272a0943ca1de3e5d629
Reviewed-on: https://gerrit.libreoffice.org/1072Reviewed-by: 's avatarTor Lillqvist <tml@iki.fi>
Tested-by: 's avatarTor Lillqvist <tml@iki.fi>
üst d2f6a87a
......@@ -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();
......
......@@ -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() )
......
FileStream::open(rtl::OString const&, FileAccessMode)
FontSelectPattern::FontSelectPattern(PhysicalFontFace const&, Size const&, float, int, bool)
GraphicObject::SwapIn(SvStream*)
LiblantagDataRef::presetDataPath(rtl::OUString const&)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment