diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2022-03-03 10:57:21 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2022-03-03 22:37:35 +0100 |
commit | f92e15bc09def64a718b52812a9cb39e43fb8b5b (patch) | |
tree | 5448da27a291b2bd240f033facd0fb81322e5e15 /sc/source/ui/view/cellsh2.cxx | |
parent | dd6ff950cbc570a11100a7cce69d51577a26bbd7 (diff) |
improve ScMark* classes a bit
Bin pointless empty destructors, make trivial functions inline,
return value by simply returning it.
Change-Id: Ia71e73262802bbe6b022ca4bafb2b958ffdf39f5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130915
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'sc/source/ui/view/cellsh2.cxx')
-rw-r--r-- | sc/source/ui/view/cellsh2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx index c9b13c3503d2..8f160bea96b0 100644 --- a/sc/source/ui/view/cellsh2.cxx +++ b/sc/source/ui/view/cellsh2.cxx @@ -79,7 +79,7 @@ static bool lcl_GetTextToColumnsRange( const ScViewData& rData, ScRange& rRange, { if ( !rMark.IsMultiMarked() ) { - rMark.GetMarkArea( rRange ); + rRange = rMark.GetMarkArea(); if ( rRange.aStart.Col() == rRange.aEnd.Col() ) { bRet = true; |