void Datapicker::exportView() const { Spreadsheet* s = currentSpreadsheet(); if (s) { s->exportView(); } else { m_image->exportView(); } }
bool Datapicker::exportView() const { Spreadsheet* s = currentSpreadsheet(); bool ret; if (s) { ret = s->exportView(); } else { ret = m_image->exportView(); } return ret; }