summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorudareechk <udareeck@gmail.com>2017-09-21 01:30:46 +0530
committerMichael Stahl <mstahl@redhat.com>2017-10-23 16:51:09 +0200
commit022b1b2a40fcaf8d201081dead44c1d3346d1972 (patch)
treeceb0671118004125c35c157978080adbd93edcaf /sc
parentf68c1a0f03b974839b02cbff400f1a2785489c87 (diff)
tdf#96505 Get rid of cargo cult long integer literals
Removed 0L, 1L and 2L Change-Id: Icb38de1cdd8e1215a86118b0c8af993025fd790e Reviewed-on: https://gerrit.libreoffice.org/42567 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/subsequent_export-test.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx
index ee8e33433bab..43faffb75127 100644
--- a/sc/qa/unit/subsequent_export-test.cxx
+++ b/sc/qa/unit/subsequent_export-test.cxx
@@ -2299,18 +2299,18 @@ void ScExportTest::testExcelCellBorders( sal_uLong nFormatType )
SvxBorderLineStyle mnStyle;
long mnWidth;
} aChecks[] = {
- { 1, SvxBorderLineStyle::SOLID, 1L }, // hair
- { 3, SvxBorderLineStyle::DOTTED, 15L }, // dotted
- { 5, SvxBorderLineStyle::DASH_DOT_DOT, 15L }, // dash dot dot
- { 7, SvxBorderLineStyle::DASH_DOT, 15L }, // dash dot
- { 9, SvxBorderLineStyle::FINE_DASHED, 15L }, // dashed
- { 11, SvxBorderLineStyle::SOLID, 15L }, // thin
- { 13, SvxBorderLineStyle::DASH_DOT_DOT, 35L }, // medium dash dot dot
- { 17, SvxBorderLineStyle::DASH_DOT, 35L }, // medium dash dot
- { 19, SvxBorderLineStyle::DASHED, 35L }, // medium dashed
- { 21, SvxBorderLineStyle::SOLID, 35L }, // medium
- { 23, SvxBorderLineStyle::SOLID, 50L }, // thick
- { 25, SvxBorderLineStyle::DOUBLE_THIN, -1L }, // double (don't check width)
+ { 1, SvxBorderLineStyle::SOLID, 1 }, // hair
+ { 3, SvxBorderLineStyle::DOTTED, 15 }, // dotted
+ { 5, SvxBorderLineStyle::DASH_DOT_DOT, 15 }, // dash dot dot
+ { 7, SvxBorderLineStyle::DASH_DOT, 15 }, // dash dot
+ { 9, SvxBorderLineStyle::FINE_DASHED, 15 }, // dashed
+ { 11, SvxBorderLineStyle::SOLID, 15 }, // thin
+ { 13, SvxBorderLineStyle::DASH_DOT_DOT, 35 }, // medium dash dot dot
+ { 17, SvxBorderLineStyle::DASH_DOT, 35 }, // medium dash dot
+ { 19, SvxBorderLineStyle::DASHED, 35 }, // medium dashed
+ { 21, SvxBorderLineStyle::SOLID, 35 }, // medium
+ { 23, SvxBorderLineStyle::SOLID, 50 }, // thick
+ { 25, SvxBorderLineStyle::DOUBLE_THIN, -1 }, // double (don't check width)
};
ScDocShellRef xDocSh = loadDoc("cell-borders.", nFormatType);