diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-15 12:43:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-15 13:02:24 +0200 |
commit | 27be81819064cb96d98c881f45d6e3fbdf7a33d0 (patch) | |
tree | f182a2979a2c0df28f21c1fa0634d56bc772500f /sal/qa/rtl/alloc | |
parent | f7ae11ce60c0d1d63e09041e621f9e95bb952847 (diff) |
loplugin:singlevalfields in l10ntools..sax
and ignore URE headers in the plugin
Change-Id: I939df744c1173cf0f67d515f6c3fb4ac4cb25588
Diffstat (limited to 'sal/qa/rtl/alloc')
-rw-r--r-- | sal/qa/rtl/alloc/rtl_alloc.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sal/qa/rtl/alloc/rtl_alloc.cxx b/sal/qa/rtl/alloc/rtl_alloc.cxx index f567aa32ed4d..ed0a9def1dbe 100644 --- a/sal/qa/rtl/alloc/rtl_alloc.cxx +++ b/sal/qa/rtl/alloc/rtl_alloc.cxx @@ -48,12 +48,11 @@ class Memory : public CppUnit::TestFixture { // for normal alloc functions char *m_pMemory; - sal_uInt32 m_nSizeOfMemory; + static const sal_uInt32 m_nSizeOfMemory = 1024; public: Memory() : m_pMemory(nullptr) - , m_nSizeOfMemory(1024) { } @@ -96,12 +95,11 @@ class TestZeroMemory : public CppUnit::TestFixture { // for zero functions char *m_pZeroMemory; - sal_uInt32 m_nSizeOfZeroMemory; + static const sal_uInt32 m_nSizeOfZeroMemory = 50 * 1024 * 1024; public: TestZeroMemory() : m_pZeroMemory(nullptr) - , m_nSizeOfZeroMemory( 50 * 1024 * 1024 ) { } |