diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-03 13:54:07 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-04 14:49:08 +0200 |
commit | 6f2edd4514dc59f5cbac8c653c6e4b1a96ec28a2 (patch) | |
tree | 3dda70a8a50943514c82c7c7493416fc84fc9cd7 /svtools/source/control/fmtfield.cxx | |
parent | 866a4436d3cfac1ff42d7996250bf96fb703aeaa (diff) |
new loplugin: inlinesimpleaccessmethods
Create a rewriting plugin for finding methods that simply return
object fields, and should therefore be declared in the header,
so that the compiler can reduce method calls into a simple
fixed-offset load instruction.
Change-Id: I7a620fc54250b79681918dc31ed9a8f21118c037
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svtools/source/control/fmtfield.cxx')
-rw-r--r-- | svtools/source/control/fmtfield.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/svtools/source/control/fmtfield.cxx b/svtools/source/control/fmtfield.cxx index e31bc1187ee4..272955d97b75 100644 --- a/svtools/source/control/fmtfield.cxx +++ b/svtools/source/control/fmtfield.cxx @@ -1023,10 +1023,6 @@ void FormattedField::UseInputStringForFormatting( bool bUseInputStr /* = true */ m_bUseInputStringForFormatting = bUseInputStr; } -bool FormattedField::IsUsingInputStringForFormatting() const -{ - return m_bUseInputStringForFormatting; -} DoubleNumericField::~DoubleNumericField() { |