summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/app/AppDetailPageHelper.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2005-09-23 11:15:34 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2005-09-23 11:15:34 +0000
commit3f0ba30e739b819624b1dd4d93e65475619243f6 (patch)
tree4a6dc0dadb087c7a01d7b2b50e29f0a919c2ec99 /dbaccess/source/ui/app/AppDetailPageHelper.cxx
parent4e88a89ffbbfa65918cb6f46ebb10277531504b0 (diff)
INTEGRATION: CWS dba201b (1.7.38); FILE MERGED
2005/09/21 07:47:22 oj 1.7.38.2: RESYNC: (1.7-1.8); FILE MERGED 2005/07/11 13:37:10 fs 1.7.38.1: merging CWS dba201 into CWS dba201b
Diffstat (limited to 'dbaccess/source/ui/app/AppDetailPageHelper.cxx')
-rw-r--r--dbaccess/source/ui/app/AppDetailPageHelper.cxx16
1 files changed, 12 insertions, 4 deletions
diff --git a/dbaccess/source/ui/app/AppDetailPageHelper.cxx b/dbaccess/source/ui/app/AppDetailPageHelper.cxx
index 4e1890af1..febfd3865 100644
--- a/dbaccess/source/ui/app/AppDetailPageHelper.cxx
+++ b/dbaccess/source/ui/app/AppDetailPageHelper.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: AppDetailPageHelper.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 14:19:54 $
+ * last change: $Author: hr $ $Date: 2005-09-23 12:15:34 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -143,6 +143,9 @@
#ifndef _STREAM_HXX
#include <tools/stream.hxx>
#endif
+#ifndef _TOOLS_DEBUG_HXX
+#include <tools/debug.hxx>
+#endif
using namespace ::dbaui;
using namespace ::com::sun::star::container;
@@ -222,8 +225,9 @@ namespace
}
//==================================================================
// class OAppDetailPageHelper
+DBG_NAME(OAppDetailPageHelper)
//==================================================================
-OAppDetailPageHelper::OAppDetailPageHelper(Window* _pParent,OAppBorderWindow* _pBorderWin) : Window(_pParent,WB_DIALOGCONTROL)
+OAppDetailPageHelper::OAppDetailPageHelper(Window* _pParent,OAppBorderWindow* _pBorderWin,PreviewMode _ePreviewMode) : Window(_pParent,WB_DIALOGCONTROL)
,m_pBorderWin(_pBorderWin)
,m_aFL(this,WB_VERT)
,m_aTBPreview(this,WB_TABSTOP )
@@ -231,8 +235,10 @@ OAppDetailPageHelper::OAppDetailPageHelper(Window* _pParent,OAppBorderWindow* _p
,m_aPreview(&m_aBorder)
,m_aDocumentInfo(&m_aBorder,WB_LEFT | WB_VSCROLL | WB_READONLY )
,m_pTablePreview(NULL)
- ,m_ePreviewMode(E_PREVIEWNONE)
+ ,m_ePreviewMode(_ePreviewMode)
{
+ DBG_CTOR(OAppDetailPageHelper,NULL);
+
m_aBorder.SetBorderStyle(WINDOW_BORDER_MONO);
m_aMenu.reset(new PopupMenu( ModuleRes( RID_MENU_APP_PREVIEW ) ));
@@ -283,6 +289,8 @@ OAppDetailPageHelper::~OAppDetailPageHelper()
}
}
+
+ DBG_DTOR(OAppDetailPageHelper,NULL);
}
// -----------------------------------------------------------------------------
int OAppDetailPageHelper::getVisibleControlIndex() const