diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-06-21 13:47:18 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-06-24 16:51:39 -0400 |
commit | 92a78a052efcb3122932894fb446c62733daad42 (patch) | |
tree | a90a038f8364eccb6712c316c7220375904285ce /sc/inc | |
parent | 5f188d659e8601e577f3a837c9dd3459761371ac (diff) |
Don't allow outside code to set text attributes.
Also, use position() to update the value, to avoid performing position
lookups twice (once for getting the current value, and once for setting
the updated one).
Change-Id: Iaa1575a4938b996266c01c8b3170e6a65b871961
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/document.hxx | 1 | ||||
-rw-r--r-- | sc/inc/table.hxx | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 64f66e991e13..9d4224451004 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -1942,7 +1942,6 @@ public: void SetSubTotalCellsDirty(const ScRange& rDirtyRange); sal_uInt16 GetTextWidth( const ScAddress& rPos ) const; - void SetTextWidth( const ScAddress& rPos, sal_uInt16 nWidth ); sal_uInt8 GetScriptType( const ScAddress& rPos ) const; void SetScriptType( const ScAddress& rPos, sal_uInt8 nType ); diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx index c5c02862e4cc..65cb18042bfe 100644 --- a/sc/inc/table.hxx +++ b/sc/inc/table.hxx @@ -220,7 +220,6 @@ public: sal_uLong GetCodeCount() const; // RPN code in formula sal_uInt16 GetTextWidth(SCCOL nCol, SCROW nRow) const; - void SetTextWidth(SCCOL nCol, SCROW nRow, sal_uInt16 nWidth); bool SetOutlineTable( const ScOutlineTable* pNewOutline ); void StartOutlineTable(); |