summaryrefslogtreecommitdiffstats
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-04-18 15:29:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-04-18 15:29:20 +0100
commitf7a86cc350f4364639c95058c32611efb2fde809 (patch)
tree5d6af4f1467cbab49661731b2a42110fa983ba3c /sw
parentno local -Wl,-O1 linker flag (diff)
downloadcore-f7a86cc350f4364639c95058c32611efb2fde809.tar.gz
core-f7a86cc350f4364639c95058c32611efb2fde809.zip
swui links to sw, so export SwRewriter from sw
Diffstat (limited to 'sw')
-rw-r--r--sw/Library_swui.mk1
-rw-r--r--sw/inc/SwRewriter.hxx2
2 files changed, 1 insertions, 2 deletions
diff --git a/sw/Library_swui.mk b/sw/Library_swui.mk
index aee68142ead0..5cad4b195dfc 100644
--- a/sw/Library_swui.mk
+++ b/sw/Library_swui.mk
@@ -68,7 +68,6 @@ $(eval $(call gb_Library_add_linked_libs,swui,\
))
$(eval $(call gb_Library_add_exception_objects,swui,\
- sw/source/core/undo/SwRewriter \
sw/source/ui/chrdlg/break \
sw/source/ui/chrdlg/chardlg \
sw/source/ui/chrdlg/drpcps \
diff --git a/sw/inc/SwRewriter.hxx b/sw/inc/SwRewriter.hxx
index 7e581cfcc854..36981e486a42 100644
--- a/sw/inc/SwRewriter.hxx
+++ b/sw/inc/SwRewriter.hxx
@@ -39,7 +39,7 @@ extern SW_DLLPUBLIC String const UNDO_ARG3;
typedef std::pair<String, String> SwRewriteRule;
-class SwRewriter
+class SW_DLLPUBLIC SwRewriter
{
std::vector<SwRewriteRule> mRules;