summaryrefslogtreecommitdiff
path: root/tools/source/stream/strmunx.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/stream/strmunx.cxx')
-rw-r--r--tools/source/stream/strmunx.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/source/stream/strmunx.cxx b/tools/source/stream/strmunx.cxx
index 206ec6c57255..1533cc5ea00c 100644
--- a/tools/source/stream/strmunx.cxx
+++ b/tools/source/stream/strmunx.cxx
@@ -307,9 +307,7 @@ SvFileStream::~SvFileStream()
std::size_t SvFileStream::GetData( void* pData, std::size_t nSize )
{
-#ifdef DBG_UTIL
SAL_INFO("tools", OString::number(static_cast<sal_Int64>(nSize)) << " Bytes from " << aFilename);
-#endif
sal_uInt64 nRead = 0;
if ( IsOpen() )
@@ -326,9 +324,7 @@ std::size_t SvFileStream::GetData( void* pData, std::size_t nSize )
std::size_t SvFileStream::PutData( const void* pData, std::size_t nSize )
{
-#ifdef DBG_UTIL
SAL_INFO("tools", OString::number(static_cast<sal_Int64>(nSize)) << " Bytes to " << aFilename);
-#endif
sal_uInt64 nWrite = 0;
if ( IsOpen() )
@@ -458,9 +454,7 @@ void SvFileStream::Open( const OUString& rFilename, StreamMode nOpenMode )
aFilename = rFilename;
-#ifdef DBG_UTIL
SAL_INFO("tools", aFilename);
-#endif
OUString aFileURL;
osl::DirectoryItem aItem;
@@ -554,10 +548,7 @@ void SvFileStream::Close()
if ( IsOpen() )
{
-#ifdef DBG_UTIL
SAL_INFO("tools", aFilename);
-#endif
-
Flush();
osl_closeFile( pInstanceData->rHandle );
pInstanceData->rHandle = nullptr;