summaryrefslogtreecommitdiff
path: root/sfx2/qa/python/check_sidebar.py
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/qa/python/check_sidebar.py')
-rw-r--r--sfx2/qa/python/check_sidebar.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/qa/python/check_sidebar.py b/sfx2/qa/python/check_sidebar.py
index e8fd50338b27..59cc955b8016 100644
--- a/sfx2/qa/python/check_sidebar.py
+++ b/sfx2/qa/python/check_sidebar.py
@@ -24,7 +24,6 @@ class CheckSidebar(unittest.TestCase):
def setUpClass(cls):
cls._uno = UnoInProcess()
cls._uno.setUp()
- cls._xDoc = cls._uno.openEmptyDoc( url = "private:factory/scalc", bHidden = False, bReadOnly = False)
@classmethod
def tearDownClass(cls):
@@ -32,7 +31,7 @@ class CheckSidebar(unittest.TestCase):
def test_check_sidebar(self):
- xDoc = self.__class__._xDoc
+ xDoc = self.__class__._uno.openEmptyDoc( url = "private:factory/scalc", bHidden = False, bReadOnly = False)
xController = xDoc.getCurrentController()
xSidebar = xController.getSidebar()