Kaydet (Commit) c72af873 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Some cleanups.

Change-Id: I8812c9928409bcdb78dac1479c5e2205f2616965
üst 0a84d2f3
......@@ -55,15 +55,7 @@ struct ScQueryParam;
*/
class SC_DLLPUBLIC ScDPCacheTable
{
struct RowFlag
{
bool mbShowByFilter:1;
bool mbShowByPage:1;
bool isActive() const;
RowFlag();
};
public:
/** interface class used for filtering of rows. */
class FilterBase
{
......
......@@ -64,17 +64,6 @@ using ::com::sun::star::uno::UNO_QUERY;
using ::com::sun::star::uno::UNO_QUERY_THROW;
using ::com::sun::star::sheet::DataPilotFieldFilter;
bool ScDPCacheTable::RowFlag::isActive() const
{
return mbShowByFilter && mbShowByPage;
}
ScDPCacheTable::RowFlag::RowFlag() :
mbShowByFilter(false),
mbShowByPage(true)
{
}
ScDPCacheTable::SingleFilter::SingleFilter(const ScDPItemData& rItem) :
maItem(rItem) {}
......
......@@ -210,7 +210,7 @@ bool ScDPItemData::IsCaseInsEqual(const ScDPItemData& r) const
;
}
if (mbStringInterned && r.mbStringInterned && mpString == r.mpString)
if (mpString == r.mpString)
// Fast equality check for interned strings.
return true;
......
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