summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-01-20 02:10:42 -0500
committerKohei Yoshida <kyoshida@novell.com>2011-01-20 02:10:42 -0500
commite02fdfc51aa55b0f8f03aecafcea0087fbdbaf27 (patch)
tree88984c8a74f22009810bdac340182c4356180ad2 /sc
parentb8a9b968996c38e104b97bebc034e898f44603d6 (diff)
Blank line cleanup.
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/dptablecache.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/source/core/data/dptablecache.cxx b/sc/source/core/data/dptablecache.cxx
index 6641db87536d..32ce72289656 100644
--- a/sc/source/core/data/dptablecache.cxx
+++ b/sc/source/core/data/dptablecache.cxx
@@ -300,7 +300,6 @@ TypedStrData* ScDPItemData::CreateTypeString( )
sal_uInt8 ScDPItemData::GetType() const
{
-
if ( IsHasErr() )
return SC_VALTYPE_ERROR;
else if ( !IsHasData() )
@@ -309,7 +308,6 @@ sal_uInt8 ScDPItemData::GetType() const
return SC_VALTYPE_VALUE;
else
return SC_VALTYPE_STRING;
-
}
bool ScDPItemData::IsHasData() const
@@ -329,7 +327,6 @@ bool ScDPItemData::IsValue() const
String ScDPItemData::GetString() const
{
-
return aString;
}
@@ -343,18 +340,20 @@ ULONG ScDPItemData::GetNumFormat() const
}
bool ScDPItemData::HasStringData() const
-
{
return IsHasData()&&!IsHasErr()&&!IsValue();
}
+
bool ScDPItemData::IsDate() const
{
return !!(mbFlag&MK_DATE);
}
+
bool ScDPItemData::HasDatePart() const
{
return !!(mbFlag&MK_DATEPART);
}
+
void ScDPItemData::SetDate( bool b )
{
b ? ( mbFlag |= MK_DATE ) : ( mbFlag &= ~MK_DATE );