diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2016-12-02 22:29:50 -0500 |
---|---|---|
committer | Kohei Yoshida <libreoffice@kohei.us> | 2016-12-03 12:21:48 +0000 |
commit | 072003142ee8bce41aff1b4db228819ca64926f9 (patch) | |
tree | d149bace4d14c26573ca0096a9c69951205be79d /sc/source/filter/oox/worksheethelper.cxx | |
parent | 0d2e083fed20e4f0c263e2373aeee83bc7cee9cd (diff) |
Remove unnecessary indirections.
Especially in the oox code there are many...
Change-Id: I16915cc207c274e5bcdb5d1f4f8708db5a0479a1
Reviewed-on: https://gerrit.libreoffice.org/31578
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
Diffstat (limited to 'sc/source/filter/oox/worksheethelper.cxx')
-rw-r--r-- | sc/source/filter/oox/worksheethelper.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sc/source/filter/oox/worksheethelper.cxx b/sc/source/filter/oox/worksheethelper.cxx index 525b03673d3b..3583837c63ba 100644 --- a/sc/source/filter/oox/worksheethelper.cxx +++ b/sc/source/filter/oox/worksheethelper.cxx @@ -1562,23 +1562,12 @@ void WorksheetHelper::setRowModel( const RowModel& rModel ) mrSheetGlob.setRowModel( rModel ); } -void WorksheetHelper::putValue( const ScAddress& rAddress, double fValue ) -{ - getDocImport().setNumericCell(rAddress, fValue); -} - void WorksheetHelper::setCellFormulaValue( const ScAddress& rAddress, const OUString& rValueStr, sal_Int32 nCellType ) { getFormulaBuffer().setCellFormulaValue(rAddress, rValueStr, nCellType); } -void WorksheetHelper::putString( const ScAddress& rAddress, const OUString& rText ) -{ - if ( !rText.isEmpty() ) - getDocImport().setStringCell(rAddress, rText); -} - void WorksheetHelper::putRichString( const ScAddress& rAddress, const RichString& rString, const oox::xls::Font* pFirstPortionFont ) { ScEditEngineDefaulter& rEE = getEditEngine(); |