summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-11 20:08:48 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-12 15:50:22 +0200
commit459f9c9c2b20cebd500f055d67a634160442ce56 (patch)
tree44c6765e1862632c2b5f569926dac75f2ba9bec1 /filter
parent89edb26c253f3c4f1f0717716b15d1b2e5471c5d (diff)
Elide macros used only once
Change-Id: I1f1adf0790490a600ec164793ab7ee8ed0adc29e
Diffstat (limited to 'filter')
-rw-r--r--filter/source/xsltfilter/LibXSLTTransformer.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/filter/source/xsltfilter/LibXSLTTransformer.cxx b/filter/source/xsltfilter/LibXSLTTransformer.cxx
index 4ec2c2a81b1f..3dbe7a43ffb8 100644
--- a/filter/source/xsltfilter/LibXSLTTransformer.cxx
+++ b/filter/source/xsltfilter/LibXSLTTransformer.cxx
@@ -58,9 +58,6 @@ using ::std::list;
using ::std::map;
using ::std::pair;
-#define _INPUT_BUFFER_SIZE 4096
-#define _OUTPUT_BUFFER_SIZE 4096
-
namespace XSLT
{
const char* const LibXSLTTransformer::PARAM_SOURCE_URL = "sourceURL";
@@ -71,9 +68,9 @@ namespace XSLT
"targetBaseURL";
const char* const LibXSLTTransformer::PARAM_DOCTYPE_PUBLIC = "publicType";
- const sal_Int32 Reader::OUTPUT_BUFFER_SIZE = _OUTPUT_BUFFER_SIZE;
+ const sal_Int32 Reader::OUTPUT_BUFFER_SIZE = 4096;
- const sal_Int32 Reader::INPUT_BUFFER_SIZE = _INPUT_BUFFER_SIZE;
+ const sal_Int32 Reader::INPUT_BUFFER_SIZE = 4096;
/**
* ParserInputBufferCallback forwards IO call-backs to libxml stream IO.