summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorDaniel Sikeler <d.sikeler94@gmail.com>2014-11-26 07:09:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-11-28 11:18:11 +0000
commit94bcfb04194baa55f995de57981a293cbd1a4f5e (patch)
treebc3bcfe4ff948837956ac0409c97efa5eddad61d /sw/inc
parent45ca1bfc22f5d6857aeefc1e444f369cf6519805 (diff)
Unittest for autocorrect in writer
At first we test normal replacement of wrong words. Second part of the test is about style changes during autocorrection. And at the end we replace a word with a table. The rules for the autocorrection are in test/user-template/user/autocorr/acor_fr.dat I needed to make SwAutoCorrect public for my test. Conflicts: sw/qa/extras/uiwriter/uiwriter.cxx Change-Id: Ie753c2187c1f4eddaefe0cc428a605107112c24f Reviewed-on: https://gerrit.libreoffice.org/13131 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/swacorr.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/swacorr.hxx b/sw/inc/swacorr.hxx
index 33598c6dbc16..ebcb30470433 100644
--- a/sw/inc/swacorr.hxx
+++ b/sw/inc/swacorr.hxx
@@ -25,8 +25,9 @@
#include <com/sun/star/embed/XStorage.hpp>
#include "SwXMLTextBlocks.hxx"
+#include "swdllapi.h"
-class SwAutoCorrect : public SvxAutoCorrect
+class SW_DLLPUBLIC SwAutoCorrect : public SvxAutoCorrect
{
using SvxAutoCorrect::PutText;