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–824 unchanged (824 lines)
825 {
826 T tmp (m_value);
827 set (T());
828 return tmp;
829 }
830
831 ResourceHolder & operator= (ResourceHolder & rhs)
832 {
833 reset (rhs.release());
834 return *this;
835 }
836};
837
…lines 838–884 unchanged (47 lines)

After

…lines 1–824 unchanged (824 lines)
825 {
826 T tmp (m_value);
827 set (T());
828 return tmp;
829 }
830
831 ResourceHolder & operator= (const ResourceHolder & rhs)
832 {
833 reset (rhs.release());
834 return *this;
835 }
836};
837
…lines 838–884 unchanged (47 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"
string_literal
" "\""
string_content "lockbyte.hxx"
" "\""
preproc_include
#include "#include"
system_lib_string "<sal/types.h>"
preproc_include
#include "#include"
system_lib_string "<osl/diagnose.h>"
preproc_include
#include "#include"
system_lib_string "<osl/file.h>"
preproc_include
#include "#include"
system_lib_string "<osl/process.h>"
preproc_include
#include "#include"
system_lib_string "<rtl/ustring.hxx>"
preproc_include
#include "#include"
system_lib_string "<sal/log.hxx>"
preproc_include
#include "#include"
string_literal
" "\""
string_content "object.hxx"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "storbase.hxx"
" "\""
preproc_include
#include "#include"
system_lib_string "<memory>"
preproc_include
#include "#include"
system_lib_string "<string.h>"
using_declaration
using "using"
namespace "namespace"
identifier "store"
; ";"
function_definition (+83 nodes collapsed)
function_definition (+76 nodes collapsed)
function_definition (+183 nodes collapsed)
function_definition (+182 nodes collapsed)
function_definition (+190 nodes collapsed)
function_definition (+33 nodes collapsed)
function_definition (+25 nodes collapsed)
function_definition (+21 nodes collapsed)
namespace_definition (+994 nodes collapsed)
comment "// namespace store"
function_definition (+37 nodes collapsed)
function_definition (+25 nodes collapsed)
function_definition (+100 nodes collapsed)
function_definition (+102 nodes collapsed)
function_definition (+166 nodes collapsed)
function_definition (+89 nodes collapsed)
function_definition (+104 nodes collapsed)
function_definition (+152 nodes collapsed)
function_definition (+28 nodes collapsed)
function_definition (+61 nodes collapsed)
function_definition (+50 nodes collapsed)
comment "/*=========================================================="...
namespace_definition (+718 nodes collapsed)
comment "// namespace store"
function_definition (+57 nodes collapsed)
function_definition (+29 nodes collapsed)
function_definition (+99 nodes collapsed)
function_definition (+49 nodes collapsed)
function_definition (+50 nodes collapsed)
function_definition (+188 nodes collapsed)
function_definition (+37 nodes collapsed)
function_definition (+132 nodes collapsed)
function_definition (+32 nodes collapsed)
function_definition (+28 nodes collapsed)
function_definition
type_identifier "storeError"
function_declarator
qualified_identifier
namespace_identifier "MappedLockBytes"
:: "::"
identifier "setSize_Impl"
parameter_list
( "("
parameter_declaration
type_identifier "sal_uInt32"
comment "/*nSize*/"
) ")"
compound_statement
{ "{"
return_statement
return "return"
identifier "store_E_AccessViolation"
; ";"
} "}"
function_definition
type_identifier "storeError"
function_declarator
qualified_identifier
namespace_identifier "MappedLockBytes"
:: "::"
identifier "flush_Impl"
parameter_list
( "("
) ")"
compound_statement
{ "{"
return_statement
return "return"
identifier "store_E_None"
; ";"
} "}"
namespace_definition (+307 nodes collapsed)
comment "// namespace store"
function_definition (+28 nodes collapsed)
function_definition (+25 nodes collapsed)
function_definition (+77 nodes collapsed)
function_definition (+166 nodes collapsed)
function_definition (+89 nodes collapsed)
function_definition (+132 nodes collapsed)
function_definition (+206 nodes collapsed)
function_definition (+28 nodes collapsed)
function_definition (+148 nodes collapsed)
function_definition
type_identifier "storeError"
function_declarator
qualified_identifier
namespace_identifier "MemoryLockBytes"
:: "::"
identifier "flush_Impl"
parameter_list
( "("
) ")"
compound_statement
{ "{"
return_statement
return "return"
identifier "store_E_None"
; ";"
} "}"
comment "// ILockBytes factory implementations."
namespace_definition
namespace "namespace"
namespace_identifier "store"
declaration_list
{ "{"
namespace_definition
namespace "namespace"
declaration_list
{ "{"
template_declaration
template "template"
template_parameter_list
< "<"
type_parameter_declaration
class "class"
type_identifier "T"
> ">"
struct_specifier
struct "struct"
type_identifier "ResourceHolder"
field_declaration_list
{ "{"
type_definition
typedef "typedef"
dependent_type
typename "typename"
qualified_identifier
namespace_identifier "T"
:: "::"
type_identifier "destructor_type"
type_identifier "destructor_type"
; ";"
field_declaration
type_identifier "T"
field_identifier "m_value"
; ";"
function_definition (+32 nodes collapsed)
function_definition (+23 nodes collapsed)
function_definition
type_identifier "T"
reference_declarator
& "&"
function_declarator
field_identifier "get"
parameter_list
( "("
) ")"
compound_statement
{ "{"
return_statement
return "return"
identifier "m_value"
; ";"
} "}"
function_definition
type_identifier "T"
type_qualifier
const "const"
reference_declarator
& "&"
function_declarator
field_identifier "get"
parameter_list
( "("
) ")"
type_qualifier
const "const"
compound_statement
{ "{"
return_statement
return "return"
identifier "m_value"
; ";"
} "}"
function_definition (+23 nodes collapsed)
function_definition (+56 nodes collapsed)
function_definition (+36 nodes collapsed)
function_definition
type_identifier "ResourceHolder"
reference_declarator
& "&"
function_declarator
operator_name
operator "operator"
= "="
parameter_list
( "("
parameter_declaration
type_identifier "ResourceHolder"
reference_declarator
& "&"
identifier "rhs"
) ")"
compound_statement (+24 nodes collapsed)
} "}"
; ";"
} "}"
function_definition (+249 nodes collapsed)
function_definition (+39 nodes collapsed)
} "}"
comment "// namespace store"
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"
string_literal
" "\""
string_content "lockbyte.hxx"
" "\""
preproc_include
#include "#include"
system_lib_string "<sal/types.h>"
preproc_include
#include "#include"
system_lib_string "<osl/diagnose.h>"
preproc_include
#include "#include"
system_lib_string "<osl/file.h>"
preproc_include
#include "#include"
system_lib_string "<osl/process.h>"
preproc_include
#include "#include"
system_lib_string "<rtl/ustring.hxx>"
preproc_include
#include "#include"
system_lib_string "<sal/log.hxx>"
preproc_include
#include "#include"
string_literal
" "\""
string_content "object.hxx"
" "\""
preproc_include
#include "#include"
string_literal
" "\""
string_content "storbase.hxx"
" "\""
preproc_include
#include "#include"
system_lib_string "<memory>"
preproc_include
#include "#include"
system_lib_string "<string.h>"
using_declaration
using "using"
namespace "namespace"
identifier "store"
; ";"
function_definition (+83 nodes collapsed)
function_definition (+76 nodes collapsed)
function_definition (+183 nodes collapsed)
function_definition (+182 nodes collapsed)
function_definition (+190 nodes collapsed)
function_definition (+33 nodes collapsed)
function_definition (+25 nodes collapsed)
function_definition (+21 nodes collapsed)
namespace_definition (+994 nodes collapsed)
comment "// namespace store"
function_definition (+37 nodes collapsed)
function_definition (+25 nodes collapsed)
function_definition (+100 nodes collapsed)
function_definition (+102 nodes collapsed)
function_definition (+166 nodes collapsed)
function_definition (+89 nodes collapsed)
function_definition (+104 nodes collapsed)
function_definition (+152 nodes collapsed)
function_definition (+28 nodes collapsed)
function_definition (+61 nodes collapsed)
function_definition (+50 nodes collapsed)
comment "/*=========================================================="...
namespace_definition (+718 nodes collapsed)
comment "// namespace store"
function_definition (+57 nodes collapsed)
function_definition (+29 nodes collapsed)
function_definition (+99 nodes collapsed)
function_definition (+49 nodes collapsed)
function_definition (+50 nodes collapsed)
function_definition (+188 nodes collapsed)
function_definition (+37 nodes collapsed)
function_definition (+132 nodes collapsed)
function_definition (+32 nodes collapsed)
function_definition (+28 nodes collapsed)
function_definition
type_identifier "storeError"
function_declarator
qualified_identifier
namespace_identifier "MappedLockBytes"
:: "::"
identifier "setSize_Impl"
parameter_list
( "("
parameter_declaration
type_identifier "sal_uInt32"
comment "/*nSize*/"
) ")"
compound_statement
{ "{"
return_statement
return "return"
identifier "store_E_AccessViolation"
; ";"
} "}"
function_definition
type_identifier "storeError"
function_declarator
qualified_identifier
namespace_identifier "MappedLockBytes"
:: "::"
identifier "flush_Impl"
parameter_list
( "("
) ")"
compound_statement
{ "{"
return_statement
return "return"
identifier "store_E_None"
; ";"
} "}"
namespace_definition (+307 nodes collapsed)
comment "// namespace store"
function_definition (+28 nodes collapsed)
function_definition (+25 nodes collapsed)
function_definition (+77 nodes collapsed)
function_definition (+166 nodes collapsed)
function_definition (+89 nodes collapsed)
function_definition (+132 nodes collapsed)
function_definition (+206 nodes collapsed)
function_definition (+28 nodes collapsed)
function_definition (+148 nodes collapsed)
function_definition
type_identifier "storeError"
function_declarator
qualified_identifier
namespace_identifier "MemoryLockBytes"
:: "::"
identifier "flush_Impl"
parameter_list
( "("
) ")"
compound_statement
{ "{"
return_statement
return "return"
identifier "store_E_None"
; ";"
} "}"
comment "// ILockBytes factory implementations."
namespace_definition
namespace "namespace"
namespace_identifier "store"
declaration_list
{ "{"
namespace_definition
namespace "namespace"
declaration_list
{ "{"
template_declaration
template "template"
template_parameter_list
< "<"
type_parameter_declaration
class "class"
type_identifier "T"
> ">"
struct_specifier
struct "struct"
type_identifier "ResourceHolder"
field_declaration_list
{ "{"
type_definition
typedef "typedef"
dependent_type
typename "typename"
qualified_identifier
namespace_identifier "T"
:: "::"
type_identifier "destructor_type"
type_identifier "destructor_type"
; ";"
field_declaration
type_identifier "T"
field_identifier "m_value"
; ";"
function_definition (+32 nodes collapsed)
function_definition (+23 nodes collapsed)
function_definition
type_identifier "T"
reference_declarator
& "&"
function_declarator
field_identifier "get"
parameter_list
( "("
) ")"
compound_statement
{ "{"
return_statement
return "return"
identifier "m_value"
; ";"
} "}"
function_definition
type_identifier "T"
type_qualifier
const "const"
reference_declarator
& "&"
function_declarator
field_identifier "get"
parameter_list
( "("
) ")"
type_qualifier
const "const"
compound_statement
{ "{"
return_statement
return "return"
identifier "m_value"
; ";"
} "}"
function_definition (+23 nodes collapsed)
function_definition (+56 nodes collapsed)
function_definition (+36 nodes collapsed)
function_definition
type_identifier "ResourceHolder"
reference_declarator
& "&"
function_declarator
operator_name
operator "operator"
= "="
parameter_list
( "("
parameter_declaration
type_qualifier
const "const"
type_identifier "ResourceHolder"
reference_declarator
& "&"
identifier "rhs"
) ")"
compound_statement (+24 nodes collapsed)
} "}"
; ";"
} "}"
function_definition (+249 nodes collapsed)
function_definition (+39 nodes collapsed)
} "}"
comment "// namespace store"
comment "/* vim:set shiftwidth=4 softtabstop=4 expandtab: */"