> fl_DocLayout::_getDefaultPageSize() is called from the fl_DocLayout
> contrutctor and does not have an obvious means to access the preferences
> hash table. Ideally this routine would examine the preferences and return
> the appropriate value. Neither of the values passed to the fl_DocLayout
> constructor has a getApp method (although GR_Graphics does store 
> it protected).
> 


Try using  

        XAP_App *p_app = XAP_App::getApp();



Reply via email to