summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-03-26 10:18:14 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-03-27 09:36:53 +0100
commitaa753f01ba4631614bb88ee7d3a3e6b222208b3e (patch)
treec8b168e8e0619c387d30f206848ec30ca7238a00 /package
parent2ea2860ba56231d989c5e1b8f87392921bc2a8db (diff)
-Wunused-macros
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
Diffstat (limited to 'package')
-rw-r--r--package/source/zipapi/ZipFile.cxx2
-rw-r--r--package/source/zippackage/ZipPackage.cxx10
2 files changed, 4 insertions, 8 deletions
diff --git a/package/source/zipapi/ZipFile.cxx b/package/source/zipapi/ZipFile.cxx
index 0da4c337ef60..1237b26f17a8 100644
--- a/package/source/zipapi/ZipFile.cxx
+++ b/package/source/zipapi/ZipFile.cxx
@@ -47,8 +47,6 @@
#include <CRC32.hxx>
-#define AES_CBC_BLOCK_SIZE 16
-
using namespace com::sun::star;
using namespace com::sun::star::io;
using namespace com::sun::star::uno;
diff --git a/package/source/zippackage/ZipPackage.cxx b/package/source/zippackage/ZipPackage.cxx
index 8c714a38e1ed..db247486a29e 100644
--- a/package/source/zippackage/ZipPackage.cxx
+++ b/package/source/zippackage/ZipPackage.cxx
@@ -97,8 +97,6 @@ using namespace com::sun::star::packages::zip;
using namespace com::sun::star::packages::manifest;
using namespace com::sun::star::packages::zip::ZipConstants;
-#define LOGFILE_AUTHOR "mg115289"
-
//===========================================================================
class ActiveDataStreamer : public ::cppu::WeakImplHelper1< XActiveDataStreamer >
@@ -582,7 +580,7 @@ void ZipPackage::getZipFileContents()
void SAL_CALL ZipPackage::initialize( const uno::Sequence< Any >& aArguments )
throw( Exception, RuntimeException )
{
- RTL_LOGFILE_TRACE_AUTHOR ( "package", LOGFILE_AUTHOR, "{ ZipPackage::initialize" );
+ RTL_LOGFILE_TRACE_AUTHOR ( "package", "mg115289", "{ ZipPackage::initialize" );
sal_Bool bHaveZipFile = sal_True;
uno::Reference< XProgressHandler > xProgressHandler;
beans::NamedValue aNamedValue;
@@ -788,7 +786,7 @@ void SAL_CALL ZipPackage::initialize( const uno::Sequence< Any >& aArguments )
}
}
- RTL_LOGFILE_TRACE_AUTHOR ( "package", LOGFILE_AUTHOR, "} ZipPackage::initialize" );
+ RTL_LOGFILE_TRACE_AUTHOR ( "package", "mg115289", "} ZipPackage::initialize" );
}
//--------------------------------------------------------
@@ -1374,7 +1372,7 @@ void SAL_CALL ZipPackage::commitChanges()
static_cast < OWeakObject * > ( this ), makeAny ( aException ) );
}
- RTL_LOGFILE_TRACE_AUTHOR ( "package", LOGFILE_AUTHOR, "{ ZipPackage::commitChanges" );
+ RTL_LOGFILE_TRACE_AUTHOR ( "package", "mg115289", "{ ZipPackage::commitChanges" );
// first the writeTempFile is called, if it returns a stream the stream should be written to the target
// if no stream was returned, the file was written directly, nothing should be done
@@ -1530,7 +1528,7 @@ void SAL_CALL ZipPackage::commitChanges()
// after successful storing it can be set to false
m_bMediaTypeFallbackUsed = sal_False;
- RTL_LOGFILE_TRACE_AUTHOR ( "package", LOGFILE_AUTHOR, "} ZipPackage::commitChanges" );
+ RTL_LOGFILE_TRACE_AUTHOR ( "package", "mg115289", "} ZipPackage::commitChanges" );
}
//--------------------------------------------------------