KoTableColumnAndRowStyleManager Question.
Ganesh Paramasivam
ganesh at crystalfab.com
Mon Feb 28 06:50:06 GMT 2011
Casper,
A Quick question
In KoTableColumnAndRowStyleManager.cpp we have a getManager() function
with the prototype
KoTableColumnAndRowStyleManager
KoTableColumnAndRowStyleManager::getManager(QTextTable *table)
Shouldn't the function return a reference or a pointer ? like this
KoTableColumnAndRowStyleManager&
KoTableColumnAndRowStyleManager::getManager(QTextTable *table)
If I were to set a row-style or a column-style for a table and do this
KoTableColumnAndRowStyleManager::getManager(table)->setRowStyle(0, rowStyle)
I would be setting these values on a copy of the return value ( and
not on the actual Manager ).
Am I missing something ?
Thanks,
Ganesh
More information about the calligra-devel
mailing list