diff options
Diffstat (limited to 'sc/source/filter/oox')
-rw-r--r-- | sc/source/filter/oox/workbookfragment.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/oox/workbookhelper.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/oox/worksheethelper.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/oox/workbookfragment.cxx b/sc/source/filter/oox/workbookfragment.cxx index 9cf8d6423edd..d80b594c730e 100644 --- a/sc/source/filter/oox/workbookfragment.cxx +++ b/sc/source/filter/oox/workbookfragment.cxx @@ -294,7 +294,7 @@ public: { aSegments.clear(); } - ISegmentProgressBarRef wrapProgress( const ISegmentProgressBarRef &xProgress ) + const ISegmentProgressBarRef& wrapProgress( const ISegmentProgressBarRef &xProgress ) { aSegments.push_back( ISegmentProgressBarRef( new ProgressWrapper( xProgress ) ) ); return aSegments.back(); diff --git a/sc/source/filter/oox/workbookhelper.cxx b/sc/source/filter/oox/workbookhelper.cxx index b3480d51f6bf..b37638da99cb 100644 --- a/sc/source/filter/oox/workbookhelper.cxx +++ b/sc/source/filter/oox/workbookhelper.cxx @@ -744,7 +744,7 @@ ScEditEngineDefaulter& WorkbookHelper::getEditEngine() const return mrBookGlob.getEditEngine(); } -Reference< XSpreadsheetDocument > WorkbookHelper::getDocument() const +const Reference< XSpreadsheetDocument > & WorkbookHelper::getDocument() const { return mrBookGlob.getDocument(); } diff --git a/sc/source/filter/oox/worksheethelper.cxx b/sc/source/filter/oox/worksheethelper.cxx index 2ef765d932b5..8b61352f5c82 100644 --- a/sc/source/filter/oox/worksheethelper.cxx +++ b/sc/source/filter/oox/worksheethelper.cxx @@ -1389,7 +1389,7 @@ awt::Point WorksheetHelper::getCellPosition( sal_Int32 nCol, sal_Int32 nRow ) co return mrSheetGlob.getCellPosition( nCol, nRow ); } -awt::Size WorksheetHelper::getDrawPageSize() const +const awt::Size& WorksheetHelper::getDrawPageSize() const { return mrSheetGlob.getDrawPageSize(); } |