Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

…lines 1–56 unchanged (56 lines)
57 }
58
59 return QtInstance::GetUseReducedAnimation();
60}
61#endif
62
63bool KFSalInstance::hasNativeFileSelection() const
64{
65 const OUString sDesktop = Application::GetDesktopEnvironment();
66 if (sDesktop == "PLASMA5" || sDesktop == "PLASMA6")
67 return true;
68 return QtInstance::hasNativeFileSelection();
69}
70
71rtl::Reference<QtFilePicker>
72KFSalInstance::createPicker(css::uno::Reference<css::uno::XComponentContext> const& context,
73 QFileDialog::FileMode eMode)
74{
75 if (!IsMainThread())
…lines 76–98 unchanged (23 lines)

After

…lines 1–55 unchanged (55 lines)
56 return qFuzzyIsNull(fAnimationSpeedModifier);
57 }
58
59 return QtInstance::GetUseReducedAnimation();
60}
61#endif
62
63rtl::Reference<QtFilePicker>
64KFSalInstance::createPicker(css::uno::Reference<css::uno::XComponentContext> const& context,
65 QFileDialog::FileMode eMode)
66{
67 if (!IsMainThread())
68 {
…lines 69–90 unchanged (22 lines)

Before

translation_unit
comment "/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-bas"...
comment "/*\n * This file is part of the LibreOffice project.\n *\n * Th"...
preproc_include
#include "#include"
system_lib_string "<sal/config.h>"
preproc_include
#include "#include"
system_lib_string "<utility>"
preproc_include
#include "#include"
system_lib_string "<KConfigCore/KConfigGroup>"
preproc_include
#include "#include"
system_lib_string "<KConfigCore/KSharedConfig>"
preproc_include
#include "#include"
system_lib_string "<QtWidgets/QApplication>"
preproc_include
#include "#include"
system_lib_string "<sal/log.hxx>"
preproc_include
#include "#include"
string_literal
" "\""
string_content "KFFilePicker.hxx"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "KFSalInstance.hxx"
" "\""
using_declaration
using "using"
namespace "namespace"
qualified_identifier
namespace_identifier "com"
:: "::"
qualified_identifier
namespace_identifier "sun"
:: "::"
identifier "star"
; ";"
function_definition (+34 nodes collapsed)
preproc_if (+162 nodes collapsed)
function_definition
primitive_type "bool"
function_declarator
qualified_identifier
namespace_identifier "KFSalInstance"
:: "::"
identifier "hasNativeFileSelection"
parameter_list
( "("
) ")"
type_qualifier
const "const"
compound_statement
{ "{"
declaration
type_qualifier
const "const"
type_identifier "OUString"
init_declarator
identifier "sDesktop"
= "="
call_expression
qualified_identifier
namespace_identifier "Application"
:: "::"
identifier "GetDesktopEnvironment"
argument_list
( "("
) ")"
; ";"
if_statement
if "if"
condition_clause
( "("
binary_expression
binary_expression
identifier "sDesktop"
== "=="
string_literal
" "\""
string_content "PLASMA5"
" "\""
|| "||"
binary_expression
identifier "sDesktop"
== "=="
string_literal
" "\""
string_content "PLASMA6"
" "\""
) ")"
return_statement
return "return"
true "true"
; ";"
return_statement
return "return"
call_expression
qualified_identifier
namespace_identifier "QtInstance"
:: "::"
identifier "hasNativeFileSelection"
argument_list
( "("
) ")"
; ";"
} "}"
function_definition (+199 nodes collapsed)
linkage_specification (+30 nodes collapsed)
comment "/* vim:set shiftwidth=4 softtabstop=4 expandtab: */"

After

translation_unit
comment "/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-bas"...
comment "/*\n * This file is part of the LibreOffice project.\n *\n * Th"...
preproc_include
#include "#include"
system_lib_string "<sal/config.h>"
preproc_include
#include "#include"
system_lib_string "<utility>"
preproc_include
#include "#include"
system_lib_string "<KConfigCore/KConfigGroup>"
preproc_include
#include "#include"
system_lib_string "<KConfigCore/KSharedConfig>"
preproc_include
#include "#include"
system_lib_string "<QtWidgets/QApplication>"
preproc_include
#include "#include"
system_lib_string "<sal/log.hxx>"
preproc_include
#include "#include"
string_literal
" "\""
string_content "KFFilePicker.hxx"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "KFSalInstance.hxx"
" "\""
using_declaration
using "using"
namespace "namespace"
qualified_identifier
namespace_identifier "com"
:: "::"
qualified_identifier
namespace_identifier "sun"
:: "::"
identifier "star"
; ";"
function_definition (+34 nodes collapsed)
preproc_if (+162 nodes collapsed)
function_definition (+199 nodes collapsed)
linkage_specification (+30 nodes collapsed)
comment "/* vim:set shiftwidth=4 softtabstop=4 expandtab: */"