summaryrefslogtreecommitdiff
path: root/sd/source/ui/toolpanel/ScrollPanel.cxx
diff options
context:
space:
mode:
authorMatthias Huetsch [mhu] <matthias.huetsch@oracle.com>2011-01-27 18:16:28 +0100
committerMatthias Huetsch [mhu] <matthias.huetsch@oracle.com>2011-01-27 18:16:28 +0100
commitcff21146b09d6bd46d83cf6a36bac14d340b6c9c (patch)
treefd3c068484f281253ebe425550fe6b0798d1f79d /sd/source/ui/toolpanel/ScrollPanel.cxx
parent563aab4eddce3503905a2b404f653531b3ba9439 (diff)
parentfa27b2da2f8e7bd9bafb4a057318ac22577727dd (diff)
Update from master repository (DEV300_m98).
Diffstat (limited to 'sd/source/ui/toolpanel/ScrollPanel.cxx')
-rwxr-xr-xsd/source/ui/toolpanel/ScrollPanel.cxx23
1 files changed, 2 insertions, 21 deletions
diff --git a/sd/source/ui/toolpanel/ScrollPanel.cxx b/sd/source/ui/toolpanel/ScrollPanel.cxx
index 6b10ed889424..9c1c087c8ab1 100755
--- a/sd/source/ui/toolpanel/ScrollPanel.cxx
+++ b/sd/source/ui/toolpanel/ScrollPanel.cxx
@@ -41,25 +41,6 @@
namespace sd { namespace toolpanel {
ScrollPanel::ScrollPanel (
- TreeNode* pParent)
- : Control (pParent->GetWindow(), WB_DIALOGCONTROL),
- TreeNode(pParent),
- maScrollWindow(this, WB_DIALOGCONTROL),
- maVerticalScrollBar(this, WB_VERT),
- maHorizontalScrollBar(this, WB_HORZ),
- maScrollBarFiller(this),
- maScrollWindowFiller(&maScrollWindow),
- mbIsRearrangePending(true),
- mbIsLayoutPending(true),
- mnChildrenWidth(0),
- mnVerticalBorder(2),
- mnVerticalGap(3),
- mnHorizontalBorder(2)
-{
- Construct();
-}
-
-ScrollPanel::ScrollPanel (
::Window& i_rParentWindow)
: Control (&i_rParentWindow, WB_DIALOGCONTROL),
TreeNode(NULL),
@@ -137,7 +118,7 @@ ScrollPanel::~ScrollPanel (void)
TitledControl* ScrollPanel::AddControl (
::std::auto_ptr<TreeNode> pControl,
const String& rTitle,
- ULONG nHelpId)
+ const rtl::OString& rHelpId)
{
// We are interested only in the title. The control itself is
// managed by the content object.
@@ -147,7 +128,7 @@ TitledControl* ScrollPanel::AddControl (
rTitle,
TitledControlStandardClickHandler(GetControlContainer(), ControlContainer::ES_TOGGLE),
TitleBar::TBT_SUB_CONTROL_HEADLINE);
- pTitledControl->GetTitleBar()->SetHelpId(nHelpId);
+ pTitledControl->GetTitleBar()->SetHelpId(rHelpId);
AddControl(::std::auto_ptr<TreeNode>(pTitledControl));