Kaydet (Commit) e8e22fce authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wtautological-undefined-compare

Change-Id: Ibf0abf45f0522c7e887f9ce4567aca647325b9ce
üst 989527ab
...@@ -41,11 +41,6 @@ void ScCellFormat::GetString( ScRefCellValue& rCell, sal_uLong nFormat, OUString ...@@ -41,11 +41,6 @@ void ScCellFormat::GetString( ScRefCellValue& rCell, sal_uLong nFormat, OUString
bool bUseStarFormat ) bool bUseStarFormat )
{ {
*ppColor = NULL; *ppColor = NULL;
if (&rFormatter==NULL)
{
rString = EMPTY_OUSTRING;
return;
}
switch (rCell.meType) switch (rCell.meType)
{ {
...@@ -231,12 +226,6 @@ OUString ScCellFormat::GetString( ...@@ -231,12 +226,6 @@ OUString ScCellFormat::GetString(
void ScCellFormat::GetInputString( void ScCellFormat::GetInputString(
ScRefCellValue& rCell, sal_uLong nFormat, OUString& rString, SvNumberFormatter& rFormatter, const ScDocument* pDoc ) ScRefCellValue& rCell, sal_uLong nFormat, OUString& rString, SvNumberFormatter& rFormatter, const ScDocument* pDoc )
{ {
if (&rFormatter == NULL)
{
rString = EMPTY_OUSTRING;
return;
}
OUString aString = rString; OUString aString = rString;
switch (rCell.meType) switch (rCell.meType)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment