summaryrefslogtreecommitdiff
path: root/sw/source/uibase/docvw/edtwin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/docvw/edtwin.cxx')
-rw-r--r--sw/source/uibase/docvw/edtwin.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index 322928eb4ead..4d9750a98602 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -5422,8 +5422,7 @@ SwEditWin::SwEditWin(vcl::Window *pParent, SwView &rMyView):
// insert position at every cursor movement!
if( !rMyView.GetDocShell()->IsReadOnly() )
{
- vcl::Font aFont;
- SetInputContext( InputContext( aFont, InputContextFlags::Text |
+ SetInputContext( InputContext(vcl::Font(), InputContextFlags::Text |
InputContextFlags::ExtText ) );
}
}