summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-07-09 14:54:57 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-07-09 15:40:34 +0100
commit88a3cd7a39fc3dbbe8627c4bb1fc1195136df432 (patch)
tree9cd7da37a7e47a8115711d8615ba900183cddb13 /sw
parent98cbfb087eed0d1defa6ef26385fcf47f95c05fc (diff)
Resolves: tdf#78112 print preview underlines spelling errors...
after unrelated display option used, e.g. display field shadings Change-Id: I61cb2456fb4b048fab571d0f2c57855ea4da0336
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/uiview/pview.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/uibase/uiview/pview.cxx b/sw/source/uibase/uiview/pview.cxx
index de1b914a0a25..3754e0eddfc8 100644
--- a/sw/source/uibase/uiview/pview.cxx
+++ b/sw/source/uibase/uiview/pview.cxx
@@ -1161,6 +1161,7 @@ void SwPagePreview::Init()
aOpt.SetTable( true );
aOpt.SetSnap( false );
aOpt.SetGridVisible( false );
+ aOpt.SetOnlineSpell( false );
aOpt.SetHideWhitespaceMode( false );
GetViewShell()->ApplyViewOptions( aOpt );