Hi,

I did a small patch to fix https://bugs.freedesktop.org/show_bug.cgi?id=40505

The patch fixes the issue with the reversed Right/Left arrow keys without affecting the Right/Left buttons in the dialog. It's a small fix were only to lines of code is changed.

It's my first contribution to the source of LO so I hope I've done everything correctly.
Please let me know otherwise.

Thanks,
Niklas Johansson
>From cbfebdf8f18aa0e1a3c05f6c8b22715a0e1a3721 Mon Sep 17 00:00:00 2001
From: Niklas Johansson <niklas@niklas-VirtualBox.(none)>
Date: Mon, 7 Nov 2011 16:51:27 +0100
Subject: [PATCH] Fixed for bug 40505 UI: HYPHENATION Right/Left arrow key
 reversed (keyboard)

SvxHyphenWordDialog::SelLeft() and SvxHyphenWordDialog::SelRight() was
reversed witch caused the arrowkeys to be reversed in the hyphenation
dialog.
---
 cui/source/dialogs/hyphen.cxx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cui/source/dialogs/hyphen.cxx b/cui/source/dialogs/hyphen.cxx
index 1b9b63b..da10e83 100644
--- a/cui/source/dialogs/hyphen.cxx
+++ b/cui/source/dialogs/hyphen.cxx
@@ -640,13 +640,13 @@ void SvxHyphenWordDialog::SetWindowTitle( LanguageType 
nLang )
 
 void SvxHyphenWordDialog::SelLeft()
 {
-    m_pImpl->SelRight_Impl();
+    m_pImpl->SelLeft_Impl();
 }
 
 
 void SvxHyphenWordDialog::SelRight()
 {
-    m_pImpl->SelLeft_Impl();
+    m_pImpl->SelRight_Impl();
 }
 
 
-- 
1.7.5.4

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to