diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2023-08-28 18:36:10 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2023-09-01 22:52:16 +0200 |
commit | 03bc5199f92e70b6168e4f79600ac288aa7b26ec (patch) | |
tree | d302cfcd52bb8a8a2ed7d868e8824e23edc9b01b /sc/source/ui/drawfunc/drawsh.cxx | |
parent | ee3c3fcf5c48964f7bc1d64484409f072c614866 (diff) |
various theme and complex color related fixes
Most of changes are a results of code reviews.
Added comments and clarifications, removed unneeded methods,
renamed variables to be more clear, protection against nullptr
dereference,...
Change-Id: Iae2b6abfa90b3bbd3f28328ca7fcf429765cbe9d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156203
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sc/source/ui/drawfunc/drawsh.cxx')
-rw-r--r-- | sc/source/ui/drawfunc/drawsh.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/drawfunc/drawsh.cxx b/sc/source/ui/drawfunc/drawsh.cxx index fde34e9d6686..2369ad0884c9 100644 --- a/sc/source/ui/drawfunc/drawsh.cxx +++ b/sc/source/ui/drawfunc/drawsh.cxx @@ -260,9 +260,9 @@ void ScDrawShell::ExecDrawAttr( SfxRequest& rReq ) if( pView->AreObjectsMarked() ) { - std::unique_ptr<SfxItemSet> aNewArgs = rReq.GetArgs()->Clone(); - lcl_convertStringArguments(*aNewArgs); - pView->SetAttrToMarked(*aNewArgs, false); + std::unique_ptr<SfxItemSet> pNewArgs = rReq.GetArgs()->Clone(); + lcl_convertStringArguments(*pNewArgs); + pView->SetAttrToMarked(*pNewArgs, false); } else pView->SetDefaultAttr( *rReq.GetArgs(), false); |