diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-06-02 03:27:26 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-06-02 03:27:26 +0200 |
commit | 998326779db3ef3c8915745069bc88ab99fe0c89 (patch) | |
tree | a6246829483acc752483ed34d906daa6d1b50ea7 /sc | |
parent | 3b6734d1986b832858a58b89a84095593d94e495 (diff) |
fix warnings after merge
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/output2.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx index 1f93b5e712f7..b572cb91ec7b 100644 --- a/sc/source/ui/view/output2.cxx +++ b/sc/source/ui/view/output2.cxx @@ -155,7 +155,7 @@ public: const Size& GetTextSize() const { return aTextSize; } long GetOriginalWidth() const { return nOriginalWidth; } - sal_uLong GetResultValueFormat( const ScRefCellValue& rCell ) const; + sal_uLong GetResultValueFormat() const; sal_uLong GetValueFormat() const { return nValueFormat; } sal_Bool GetLineBreak() const { return bLineBreak; } @@ -598,7 +598,7 @@ void ScDrawStringsVars::SetTextToWidthOrHash( ScRefCellValue& rCell, long nWidth return; } - sal_uLong nFormat = GetResultValueFormat(rCell); + sal_uLong nFormat = GetResultValueFormat(); if ((nFormat % SV_COUNTRY_LANGUAGE_OFFSET) != 0) { // Not 'General' number format. Set hash text and bail out. @@ -784,7 +784,7 @@ sal_Bool ScDrawStringsVars::HasEditCharacters() const return aString.SearchChar( pChars ) != STRING_NOTFOUND; } -sal_uLong ScDrawStringsVars::GetResultValueFormat( const ScRefCellValue& rCell ) const +sal_uLong ScDrawStringsVars::GetResultValueFormat() const { // Get the effective number format, including formula result types. // This assumes that a formula cell has already been calculated. |