sc/source/ui/view/gridwin.cxx | 48 +++++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 23 deletions(-)
New commits: commit c6ed68c6324f909f3338cde0983aaaff17a801ab Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Sun Sep 25 01:00:10 2016 +0200 handle the debug output earlier Change-Id: I4a47fd063ca9f57d6f5d38abcc84e21899f28876 Reviewed-on: https://gerrit.libreoffice.org/29259 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com> diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index 6d32198..b36b3af 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -3258,6 +3258,31 @@ void ScGridWindow::KeyInput(const KeyEvent& rKEvt) { // Cursor control for ref input dialog const vcl::KeyCode& rKeyCode = rKEvt.GetKeyCode(); + +#ifdef DBG_UTIL + + if (rKeyCode.IsMod1() && rKeyCode.IsShift()) + { + if (rKeyCode.GetCode() == KEY_F12) + { + dumpColumnInformationPixel(); + } + else if (rKeyCode.GetCode() == KEY_F11) + { + dumpGraphicInformation(); + } + else if (rKeyCode.GetCode() == KEY_F10) + { + dumpColumnInformationHmm(); + } + else if (rKeyCode.GetCode() == KEY_F9) + { + dumpCellProperties(); + } + } + +#endif + if( SC_MOD()->IsRefDialogOpen() ) { if( !rKeyCode.GetModifier() && (rKeyCode.GetCode() == KEY_F2) ) @@ -3369,29 +3394,6 @@ void ScGridWindow::KeyInput(const KeyEvent& rKEvt) } } -#ifdef DBG_UTIL - - if (rKeyCode.IsMod1() && rKeyCode.IsShift()) - { - if (rKeyCode.GetCode() == KEY_F12) - { - dumpColumnInformationPixel(); - } - else if (rKeyCode.GetCode() == KEY_F11) - { - dumpGraphicInformation(); - } - else if (rKeyCode.GetCode() == KEY_F10) - { - dumpColumnInformationHmm(); - } - else if (rKeyCode.GetCode() == KEY_F9) - { - dumpCellProperties(); - } - } - -#endif Window::KeyInput(rKEvt); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits