diff options
author | Rohan Kumar <rohankanojia420@gmail.com> | 2016-03-05 00:23:12 +0530 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-03-04 20:10:56 +0000 |
commit | 5f164b6e01496655ee0616e16d251e066d99ea73 (patch) | |
tree | cc4bf7cc772f14a208030804ea4fc5f7ccb26d90 /sc/inc/attarray.hxx | |
parent | 6381d26d73c614681601fda4a49c96e11a0e6f06 (diff) |
tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionals
I made small changes to disable some test code conditionally by adding a few
new debug macros.
Change-Id: Ieaf6f1b29343fb896cc64163a116c629165e8db3
Reviewed-on: https://gerrit.libreoffice.org/22711
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/inc/attarray.hxx')
-rw-r--r-- | sc/inc/attarray.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/inc/attarray.hxx b/sc/inc/attarray.hxx index bf6a916ee304..2be8e552ef25 100644 --- a/sc/inc/attarray.hxx +++ b/sc/inc/attarray.hxx @@ -44,6 +44,8 @@ namespace editeng { class SvxBorderLine; } #define SC_ATTRARRAY_DELTA 4 +#define DEBUG_SC_TESTATTRARRAY 0 + struct ScLineFlags { sal_uInt8 nLeft; @@ -104,7 +106,7 @@ public: void SetTab(SCTAB nNewTab) { nTab = nNewTab; } void SetCol(SCCOL nNewCol) { nCol = nNewCol; } -#if OSL_DEBUG_LEVEL > 1 +#if DEBUG_SC_TESTATTRARRAY void TestData() const; #endif void Reset( const ScPatternAttr* pPattern); |