diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-10 14:39:10 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-10 17:25:22 +0200 |
commit | e8e22fcefd569bdf6c3fbe67bb64206e67c3e6b7 (patch) | |
tree | efca25202ccd9e8cad6c262846366d5b216ba1e2 /sc | |
parent | 989527ab41efce2b389fd2d319c87c3f237510f3 (diff) |
-Werror,-Wtautological-undefined-compare
Change-Id: Ibf0abf45f0522c7e887f9ce4567aca647325b9ce
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/cellform.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sc/source/core/tool/cellform.cxx b/sc/source/core/tool/cellform.cxx index 0a7f894b5300..9c1e3e4f8424 100644 --- a/sc/source/core/tool/cellform.cxx +++ b/sc/source/core/tool/cellform.cxx @@ -41,11 +41,6 @@ void ScCellFormat::GetString( ScRefCellValue& rCell, sal_uLong nFormat, OUString bool bUseStarFormat ) { *ppColor = NULL; - if (&rFormatter==NULL) - { - rString = EMPTY_OUSTRING; - return; - } switch (rCell.meType) { @@ -231,12 +226,6 @@ OUString ScCellFormat::GetString( void ScCellFormat::GetInputString( ScRefCellValue& rCell, sal_uLong nFormat, OUString& rString, SvNumberFormatter& rFormatter, const ScDocument* pDoc ) { - if (&rFormatter == NULL) - { - rString = EMPTY_OUSTRING; - return; - } - OUString aString = rString; switch (rCell.meType) { |