summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/propertyeditor.cxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2011-03-18 15:35:18 +0100
committerJan Holesovsky <kendy@suse.cz>2011-03-18 15:35:18 +0100
commit6a75a47be7b3aafbb655ffa70609fd2ed7ca4b3e (patch)
treed00d2024213e09b8eba4704b8b6660eb42c3921c /extensions/source/propctrlr/propertyeditor.cxx
parent7fb1e1ea8c9f8d3ef13524d1327272824df7110d (diff)
parenteee3dbc7af039669d447d2e55abd896ea3383df1 (diff)
Merge remote-tracking branch 'origin/integration/dev300_m101'
Conflicts: automation/source/communi/communi.cxx automation/source/server/recorder.cxx automation/source/server/server.cxx basctl/source/basicide/basobj2.cxx
Diffstat (limited to 'extensions/source/propctrlr/propertyeditor.cxx')
-rw-r--r--extensions/source/propctrlr/propertyeditor.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/extensions/source/propctrlr/propertyeditor.cxx b/extensions/source/propctrlr/propertyeditor.cxx
index 657c59961430..8a11e023df3d 100644
--- a/extensions/source/propctrlr/propertyeditor.cxx
+++ b/extensions/source/propctrlr/propertyeditor.cxx
@@ -221,7 +221,7 @@ namespace pcr
}
//------------------------------------------------------------------
- sal_uInt16 OPropertyEditor::AppendPage( const String & _rText, const SmartId& _rHelpId )
+ sal_uInt16 OPropertyEditor::AppendPage( const String & _rText, const rtl::OString& _rHelpId )
{
// obtain a new id
sal_uInt16 nId = m_nNextId++;
@@ -237,7 +237,7 @@ namespace pcr
pPage->getListBox().SetObserver(m_pObserver);
pPage->getListBox().EnableHelpSection( m_bHasHelpSection );
pPage->getListBox().SetHelpLineLimites( m_nMinHelpLines, m_nMaxHelpLines );
- pPage->SetSmartHelpId( _rHelpId );
+ pPage->SetHelpId( _rHelpId );
// immediately activate the page
m_aTabControl.SetTabPage(nId, pPage);
@@ -247,10 +247,10 @@ namespace pcr
}
//------------------------------------------------------------------
- void OPropertyEditor::SetHelpId( sal_uInt32 nHelpId )
+ void OPropertyEditor::SetHelpId( const rtl::OString& rHelpId )
{
- Control::SetHelpId(0);
- m_aTabControl.SetHelpId(nHelpId);
+ Control::SetHelpId("");
+ m_aTabControl.SetHelpId(rHelpId);
}
//------------------------------------------------------------------
@@ -482,7 +482,7 @@ namespace pcr
//------------------------------------------------------------------
void OPropertyEditor::EnablePropertyControls( const ::rtl::OUString& _rEntryName, sal_Int16 _nControls, bool _bEnable )
{
- for ( USHORT i = 0; i < m_aTabControl.GetPageCount(); ++i )
+ for ( sal_uInt16 i = 0; i < m_aTabControl.GetPageCount(); ++i )
{
OBrowserPage* pPage = static_cast< OBrowserPage* >( m_aTabControl.GetTabPage( m_aTabControl.GetPageId( i ) ) );
if ( pPage )
@@ -493,7 +493,7 @@ namespace pcr
//------------------------------------------------------------------
void OPropertyEditor::EnablePropertyLine( const ::rtl::OUString& _rEntryName, bool _bEnable )
{
- for ( USHORT i = 0; i < m_aTabControl.GetPageCount(); ++i )
+ for ( sal_uInt16 i = 0; i < m_aTabControl.GetPageCount(); ++i )
{
OBrowserPage* pPage = static_cast< OBrowserPage* >( m_aTabControl.GetTabPage( m_aTabControl.GetPageId( i ) ) );
if ( pPage )