Kaydet (Commit) 8a228f51 authored tarafından Kurt Zenker's avatar Kurt Zenker

INTEGRATION: CWS sixtyfour01 (1.11.10); FILE MERGED

2006/01/14 13:13:27 pjanik 1.11.10.1: #i59448#: trivial sal_Int32 -> long fixes

Patch from Jan Holesovsky (JCA).
üst a5d6d2eb
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: dp_gui_dialog.cxx,v $ * $RCSfile: dp_gui_dialog.cxx,v $
* *
* $Revision: 1.11 $ * $Revision: 1.12 $
* *
* last change: $Author: hr $ $Date: 2005-12-28 17:40:01 $ * last change: $Author: kz $ $Date: 2006-02-28 10:34:38 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -205,11 +205,11 @@ DialogImpl::~DialogImpl() ...@@ -205,11 +205,11 @@ DialogImpl::~DialogImpl()
that->Resize(); that->Resize();
// calculate tabs: // calculate tabs:
sal_Int32 selWidth = that->m_treelb->GetSizePixel().getWidth(); long selWidth = that->m_treelb->GetSizePixel().getWidth();
sal_Int32 vscrollWidth = long vscrollWidth =
Application::GetSettings().GetStyleSettings().GetScrollBarSize(); Application::GetSettings().GetStyleSettings().GetScrollBarSize();
sal_Int32 statusWidth = that->m_treelb->GetTextWidth( long statusWidth = that->m_treelb->GetTextWidth(
that->m_treelb->m_strEnabled ); that->m_treelb->m_strEnabled );
statusWidth = ::std::max( statusWidth = ::std::max(
statusWidth, that->m_treelb->GetTextWidth( statusWidth, that->m_treelb->GetTextWidth(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment