summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-03-22 16:17:11 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-03-25 16:19:13 +0100
commita58391b1f61db702a5246c5a33717cbba68c5252 (patch)
tree6f11643c3de1c2688829f125a9a063fce5930528 /test
parentcc83ef83b041cb9b69a97b871694dc5f7cfe2729 (diff)
Related tdf#124263 Make sure sidebar is wide enough for content
If panel's requested minimal size is smaller than current sidebar width, enlarge the sidebar to fit the content. Change-Id: I9baa4ef6c01d5563951d4df0d939883fce02e87b Reviewed-on: https://gerrit.libreoffice.org/69561 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'test')
-rw-r--r--test/source/sheet/xviewsplitable.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/source/sheet/xviewsplitable.cxx b/test/source/sheet/xviewsplitable.cxx
index 7dd18aed2ebb..d88122f584f6 100644
--- a/test/source/sheet/xviewsplitable.cxx
+++ b/test/source/sheet/xviewsplitable.cxx
@@ -23,12 +23,12 @@ void XViewSplitable::testSplit()
uno::Reference< sheet::XViewSplitable > xViewSplitable(init(), UNO_QUERY_THROW);
CPPUNIT_ASSERT_MESSAGE("View is already split", !xViewSplitable->getIsWindowSplit());
- xViewSplitable->splitAtPosition(101, 51);
+ xViewSplitable->splitAtPosition(90, 51);
CPPUNIT_ASSERT_MESSAGE("View wasn't split", xViewSplitable->getIsWindowSplit());
CPPUNIT_ASSERT_EQUAL_MESSAGE("Wrong horizontal pixel position",
- sal_Int32(101), xViewSplitable->getSplitHorizontal());
+ sal_Int32(90), xViewSplitable->getSplitHorizontal());
CPPUNIT_ASSERT_EQUAL_MESSAGE("Wrong vertical pixel position",
sal_Int32(51), xViewSplitable->getSplitVertical());