Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.