summaryrefslogtreecommitdiff
path: root/sc/inc/dpsdbtab.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/dpsdbtab.hxx')
-rw-r--r--sc/inc/dpsdbtab.hxx32
1 files changed, 16 insertions, 16 deletions
diff --git a/sc/inc/dpsdbtab.hxx b/sc/inc/dpsdbtab.hxx
index 9863e332058e..9baf4b182a73 100644
--- a/sc/inc/dpsdbtab.hxx
+++ b/sc/inc/dpsdbtab.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -41,19 +41,19 @@ class ScDocument;
// --------------------------------------------------------------------
//
-// implementation of ScDPTableData with database data
+// implementation of ScDPTableData with database data
//
struct ScImportSourceDesc
{
- String aDBName;
- String aObject;
- USHORT nType; // enum DataImportMode
- BOOL bNative;
+ String aDBName;
+ String aObject;
+ USHORT nType; // enum DataImportMode
+ BOOL bNative;
ScImportSourceDesc() : nType(0), bNative(FALSE) {}
- BOOL operator== ( const ScImportSourceDesc& rOther ) const
+ BOOL operator== ( const ScImportSourceDesc& rOther ) const
{ return aDBName == rOther.aDBName &&
aObject == rOther.aObject &&
nType == rOther.nType &&
@@ -64,7 +64,7 @@ struct ScImportSourceDesc
ScDPTableDataCache* GetExistDPObjectCache( ScDocument* pDoc ) const;
ScDPTableDataCache* CreateCache( ScDocument* pDoc , long nID ) const;
ScDPTableDataCache* GetCache( ScDocument* pDoc, long nID ) const;
- long GetCacheId( ScDocument* pDoc, long nID ) const;
+ long GetCacheId( ScDocument* pDoc, long nID ) const;
// End Comments
};
@@ -74,14 +74,14 @@ private:
ScDPCacheTable aCacheTable;
public:
ScDatabaseDPData(ScDocument* pDoc, const ScImportSourceDesc& rImport, long nCacheId = -1);
- virtual ~ScDatabaseDPData();
-
- virtual long GetColumnCount();
- virtual String getDimensionName(long nColumn);
- virtual BOOL getIsDataLayoutDimension(long nColumn);
- virtual BOOL IsDateDimension(long nDim);
- virtual void DisposeData();
- virtual void SetEmptyFlags( BOOL bIgnoreEmptyRows, BOOL bRepeatIfEmpty );
+ virtual ~ScDatabaseDPData();
+
+ virtual long GetColumnCount();
+ virtual String getDimensionName(long nColumn);
+ virtual BOOL getIsDataLayoutDimension(long nColumn);
+ virtual BOOL IsDateDimension(long nDim);
+ virtual void DisposeData();
+ virtual void SetEmptyFlags( BOOL bIgnoreEmptyRows, BOOL bRepeatIfEmpty );
virtual void CreateCacheTable();
virtual void FilterCacheTable(const ::std::vector<ScDPCacheTable::Criterion>& rCriteria, const ::std::hash_set<sal_Int32>& rDataDims);