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