diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-03 21:11:52 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-05 21:18:06 +0200 |
commit | c03009c69deffbc9d19e0f67f9a0e114298e55c4 (patch) | |
tree | c95f9aa94521f2edb6a9ee7cc792a96cf748486b /sc/source/ui/dbgui | |
parent | 760cd5b67be4225b6ff47b80a9afa97f2ddb466a (diff) |
Improved loplugin:cstylecast to reference types: sc
Change-Id: I75bbb06a5dd7a458a8ddb605cd8d722b01da8f54
Diffstat (limited to 'sc/source/ui/dbgui')
-rw-r--r-- | sc/source/ui/dbgui/tpsubt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/dbgui/tpsubt.cxx b/sc/source/ui/dbgui/tpsubt.cxx index 0d3b1e1747b9..43f574740e78 100644 --- a/sc/source/ui/dbgui/tpsubt.cxx +++ b/sc/source/ui/dbgui/tpsubt.cxx @@ -275,7 +275,7 @@ void ScTpSubTotalGroup::FillListBoxes() i++; } // subsequent initialization of the constant: - (sal_uInt16&)nFieldCount = i; + const_cast<sal_uInt16&>(nFieldCount) = i; } } |