diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2021-11-08 15:31:51 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2021-11-08 20:34:09 +0100 |
commit | 1a588c71a0b60d200077138eaff54fced14c4fe2 (patch) | |
tree | 5a54419c44bec4082c8254fbf55716403b9be187 /sc/source/ui/docshell/docsh4.cxx | |
parent | 4d66721962f60a9c8b4653dc724f163c45e6ddd9 (diff) |
make a number of Calc functions return value by actually returning it
All these returned their value using a reference argument, for
apprently no good reason.
Change-Id: I6a33417e7df2aac67427c16e5003dfaaa1a814d7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124872
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'sc/source/ui/docshell/docsh4.cxx')
-rw-r--r-- | sc/source/ui/docshell/docsh4.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx index e4fb0ee54627..1c32a670baf1 100644 --- a/sc/source/ui/docshell/docsh4.cxx +++ b/sc/source/ui/docshell/docsh4.cxx @@ -2487,7 +2487,7 @@ bool ScDocShell::DdeSetData( const OUString& rItem, if( pData->HasType( ScRangeData::Type::RefArea ) || pData->HasType( ScRangeData::Type::AbsArea ) || pData->HasType( ScRangeData::Type::AbsPos ) ) - pData->GetSymbol( aPos ); // continue with the name's contents + aPos = pData->GetSymbol(); // continue with the name's contents } } |