summaryrefslogtreecommitdiff
path: root/sc/qa/unit
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-06-22 23:44:56 +0200
committerMichael Stahl <mstahl@redhat.com>2012-06-25 12:46:17 +0200
commit463e59d680467a7b0d30ae956935a444c513de9e (patch)
tree34691ff4b80743167e4c5ad5ca3517d8bf098204 /sc/qa/unit
parent003b4d21a43b607fb754ca3a65746937cbcc20e9 (diff)
rename SvxBorderLine::SetStyle to something unambiguous
Change-Id: Iec70985319a64cdc3630e15499ac304a7f1aabae
Diffstat (limited to 'sc/qa/unit')
-rw-r--r--sc/qa/unit/subsequent_filters-test.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx
index 7b6fd25dbcf1..f621c8322ca9 100644
--- a/sc/qa/unit/subsequent_filters-test.cxx
+++ b/sc/qa/unit/subsequent_filters-test.cxx
@@ -581,7 +581,7 @@ void ScFiltersTest::testBorderODS()
CPPUNIT_ASSERT(!pTop);
CPPUNIT_ASSERT(!pBottom);
CPPUNIT_ASSERT(pRight);
- CPPUNIT_ASSERT_EQUAL(pRight->GetStyle(),editeng::SOLID);
+ CPPUNIT_ASSERT_EQUAL(pRight->GetSvxBorderStyle(),editeng::SOLID);
pDoc->GetBorderLines( 2, 1, 0, &pLeft, &pTop, &pRight, &pBottom );
CPPUNIT_ASSERT(!pLeft);
@@ -589,7 +589,7 @@ void ScFiltersTest::testBorderODS()
CPPUNIT_ASSERT(!pBottom);
CPPUNIT_ASSERT(pRight);
- CPPUNIT_ASSERT_EQUAL(pRight->GetStyle(),editeng::SOLID);
+ CPPUNIT_ASSERT_EQUAL(pRight->GetSvxBorderStyle(),editeng::SOLID);
CPPUNIT_ASSERT_EQUAL(pRight->GetWidth(),20L);
pDoc->GetBorderLines( 2, 8, 0, &pLeft, &pTop, &pRight, &pBottom );
@@ -598,7 +598,7 @@ void ScFiltersTest::testBorderODS()
CPPUNIT_ASSERT(pTop);
CPPUNIT_ASSERT(pBottom);
CPPUNIT_ASSERT(pRight);
- CPPUNIT_ASSERT_EQUAL(pRight->GetStyle(),editeng::SOLID);
+ CPPUNIT_ASSERT_EQUAL(pRight->GetSvxBorderStyle(),editeng::SOLID);
CPPUNIT_ASSERT_EQUAL(pRight->GetWidth(),5L);
CPPUNIT_ASSERT(pRight->GetColor() == Color(COL_BLUE));
@@ -620,17 +620,17 @@ void ScFiltersTest::testBorderXLS()
pDoc->GetBorderLines( 2, 3, 0, &pLeft, &pTop, &pRight, &pBottom );
CPPUNIT_ASSERT(pRight);
- CPPUNIT_ASSERT_EQUAL(pRight->GetStyle(),editeng::SOLID);
+ CPPUNIT_ASSERT_EQUAL(pRight->GetSvxBorderStyle(),editeng::SOLID);
CPPUNIT_ASSERT_EQUAL(pRight->GetWidth(),6L);
pDoc->GetBorderLines( 3, 5, 0, &pLeft, &pTop, &pRight, &pBottom );
CPPUNIT_ASSERT(pRight);
- CPPUNIT_ASSERT_EQUAL(pRight->GetStyle(),editeng::SOLID);
+ CPPUNIT_ASSERT_EQUAL(pRight->GetSvxBorderStyle(),editeng::SOLID);
CPPUNIT_ASSERT_EQUAL(pRight->GetWidth(),18L);
pDoc->GetBorderLines( 5, 7, 0, &pLeft, &pTop, &pRight, &pBottom );
CPPUNIT_ASSERT(pRight);
- CPPUNIT_ASSERT_EQUAL(pRight->GetStyle(),editeng::SOLID);
+ CPPUNIT_ASSERT_EQUAL(pRight->GetSvxBorderStyle(),editeng::SOLID);
CPPUNIT_ASSERT_EQUAL(pRight->GetWidth(),24L);
}