summaryrefslogtreecommitdiff
path: root/tools/source/stream
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-15 12:03:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-19 08:29:01 +0000
commitf573de2a956d91f67c384dbb54c980c117219032 (patch)
tree05c58829e18e4099b56c3edaf2c6477b065a1a5b /tools/source/stream
parent6fd7c0c7714a90a6b99003b67a47b28b800cfdff (diff)
no need to wrap calls to SAL_INFO in #ifdef DBG_UTIL
Change-Id: Ic373a8f145f3f78c3f109e36a9c1dd9156f0dd75 Reviewed-on: https://gerrit.libreoffice.org/32034 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools/source/stream')
-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;