summaryrefslogtreecommitdiff
path: root/sc/inc/column.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-02-01 20:51:29 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-02-01 20:53:13 -0500
commitf74c0a42b0e176771e15458b1bdb85c0a2dc99db (patch)
tree7403a23e83dc802ee6189f500440860205f7ecbf /sc/inc/column.hxx
parent4bb7e9a1b0dd2f72609affde0170c0a2d4fff44b (diff)
Add RowHeightContext to stuff all parameters for SetOptimalHeights().
To help reduce the number of function arguments. Change-Id: Ic29fff38f6cd844bdaac8ac4b440dfcaba55df61
Diffstat (limited to 'sc/inc/column.hxx')
-rw-r--r--sc/inc/column.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx
index 7fefa0478894..835daa8465db 100644
--- a/sc/inc/column.hxx
+++ b/sc/inc/column.hxx
@@ -58,6 +58,7 @@ struct NoteEntry;
class DocumentStreamAccess;
class CellValues;
struct RowSpan;
+class RowHeightContext;
}
@@ -437,9 +438,8 @@ public:
bool bFormula, sal_uInt16 nOldWidth, const ScMarkData* pMarkData, const ScColWidthParam* pParam) const;
void GetOptimalHeight(
- SCROW nStartRow, SCROW nEndRow, sal_uInt16* pHeight, OutputDevice* pDev,
- double nPPTX, double nPPTY, const Fraction& rZoomX, const Fraction& rZoomY,
- bool bShrink, sal_uInt16 nMinHeight, SCROW nMinStart);
+ sc::RowHeightContext& rCxt, SCROW nStartRow, SCROW nEndRow, sal_uInt16* pHeight,
+ sal_uInt16 nMinHeight, SCROW nMinStart );
/// Including current, may return -1
SCsROW GetNextUnprotected( SCROW nRow, bool bUp ) const;