diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-01-13 23:10:37 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-01-13 23:10:37 -0500 |
commit | c88a779c43c98db1f93a28fe667e29e94b8918f5 (patch) | |
tree | 2b5e165b3c9be1d6d7ca588078aace5f6eacfb87 /sc/inc | |
parent | fb092f75bdc057437624e3f40268db4f7f1bbf3f (diff) |
More on unittesting data pilot.
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/dpobject.hxx | 7 | ||||
-rw-r--r-- | sc/inc/dpoutput.hxx | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx index 95ebbd375b75..9b504516b483 100644 --- a/sc/inc/dpobject.hxx +++ b/sc/inc/dpobject.hxx @@ -132,6 +132,11 @@ public: virtual ScDataObject* Clone() const; + /** + * When a DP object is "alive", it has table output on a sheet. This flag + * doesn't really change the behavior of the object, but is used only for + * testing purposes. + */ void SetAlive(BOOL bSet); void SetAllowMove(BOOL bSet); @@ -140,7 +145,7 @@ public: void Output( const ScAddress& rPos ); - ScRange GetNewOutputRange( BOOL& rOverflow ); + ScRange GetNewOutputRange( bool& rOverflow ); const ScRange GetOutputRangeByType( sal_Int32 nType ); void SetSaveData(const ScDPSaveData& rData); diff --git a/sc/inc/dpoutput.hxx b/sc/inc/dpoutput.hxx index 77c552ec7026..970445f64ba8 100644 --- a/sc/inc/dpoutput.hxx +++ b/sc/inc/dpoutput.hxx @@ -144,7 +144,7 @@ public: void Output(); //! Refresh? ScRange GetOutputRange( sal_Int32 nRegionType = ::com::sun::star::sheet::DataPilotOutputRangeType::WHOLE ); long GetHeaderRows(); - BOOL HasError(); // range overflow or exception from source + bool HasError(); // range overflow or exception from source void GetPositionData(const ScAddress& rPos, ::com::sun::star::sheet::DataPilotTablePositionData& rPosData); |