summaryrefslogtreecommitdiff
path: root/sw/qa/core/edit/edit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/qa/core/edit/edit.cxx')
-rw-r--r--sw/qa/core/edit/edit.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/sw/qa/core/edit/edit.cxx b/sw/qa/core/edit/edit.cxx
index 9f0b3d4dd62b..9edbdb8ceb6e 100644
--- a/sw/qa/core/edit/edit.cxx
+++ b/sw/qa/core/edit/edit.cxx
@@ -13,20 +13,23 @@
#include <view.hxx>
#include <wrtsh.hxx>
-constexpr OUStringLiteral DATA_DIRECTORY = u"/sw/qa/core/edit/data/";
-
namespace
{
/// Covers sw/source/core/edit/ fixes.
class Test : public SwModelTestBase
{
+public:
+ Test()
+ : SwModelTestBase("/sw/qa/core/edit/data/")
+ {
+ }
};
}
CPPUNIT_TEST_FIXTURE(Test, testRedlineHidden)
{
// Given a document with ShowRedlineChanges=false:
- SwDoc* pDoc = createSwDoc(DATA_DIRECTORY, "redline-hidden.fodt");
+ SwDoc* pDoc = createSwDoc("redline-hidden.fodt");
// When formatting a paragraph by setting the para adjust to center, then make sure setting the
// new item set on the paragraph doesn't crash: