+ // use default size if none given and also make sure that the dialog is
+ // not less than the default size
+ m_height = m_sizePage.y == -1 ? defaultHeight : m_sizePage.y;
+ m_width = m_sizePage.x == -1 ? DEFAULT_PAGE_WIDTH : m_sizePage.x;
+ if ( m_height < defaultHeight )
+ m_height = defaultHeight;
+ if ( m_width < DEFAULT_PAGE_WIDTH )
+ m_width = DEFAULT_PAGE_WIDTH;