diff options
author | Noel Power <noel.power@novell.com> | 2012-01-06 09:43:42 +0000 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2012-01-10 10:08:44 +0000 |
commit | ffbd3846d40eaf3dc8e8fa37e57d48ff7da88a5b (patch) | |
tree | 76bf37b81a11d7dfc47d528761acd1175cc12293 /basctl | |
parent | 6639eb9c306cd59482f259330258caea84239fc1 (diff) |
some misc tidyup ( that was reverted )
some id and string renaming from b08e273015d72251b68bca86535cf5919dd9e40e was reverted, those parts of the changes are reapplied here
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/sdi/baside.sdi | 14 | ||||
-rw-r--r-- | basctl/source/basicide/baside3.cxx | 28 | ||||
-rw-r--r-- | basctl/source/basicide/basides1.cxx | 14 | ||||
-rw-r--r-- | basctl/uiconfig/basicide/toolbar/formcontrolsbar.xml | 1 |
4 files changed, 28 insertions, 29 deletions
diff --git a/basctl/sdi/baside.sdi b/basctl/sdi/baside.sdi index de6160125a3d..2f03ddee0e5e 100644 --- a/basctl/sdi/baside.sdi +++ b/basctl/sdi/baside.sdi @@ -471,43 +471,43 @@ shell BasicIDEShell StateMethod = GetState; ] - SID_INSERT_RADIO + SID_INSERT_FORM_RADIO [ ExecMethod = ExecuteDialog; StateMethod = GetState; ] - SID_INSERT_CHECK + SID_INSERT_FORM_CHECK [ ExecMethod = ExecuteDialog; StateMethod = GetState; ] - SID_INSERT_LIST + SID_INSERT_FORM_LIST [ ExecMethod = ExecuteDialog; StateMethod = GetState; ] - SID_INSERT_COMBO + SID_INSERT_FORM_COMBO [ ExecMethod = ExecuteDialog; StateMethod = GetState; ] - SID_INSERT_VSCROLL + SID_INSERT_FORM_VSCROLL [ ExecMethod = ExecuteDialog; StateMethod = GetState; ] - SID_INSERT_HSCROLL + SID_INSERT_FORM_HSCROLL [ ExecMethod = ExecuteDialog; StateMethod = GetState; ] - SID_INSERT_SPIN + SID_INSERT_FORM_SPIN [ ExecMethod = ExecuteDialog; StateMethod = GetState; diff --git a/basctl/source/basicide/baside3.cxx b/basctl/source/basicide/baside3.cxx index 2b5829bf0d16..55e72c9c7270 100644 --- a/basctl/source/basicide/baside3.cxx +++ b/basctl/source/basicide/baside3.cxx @@ -401,13 +401,13 @@ void DialogWindow::GetState( SfxItemSet& rSet ) rSet.DisableItem( nWh ); } break; - case SID_INSERT_RADIO: - case SID_INSERT_CHECK: - case SID_INSERT_LIST: - case SID_INSERT_COMBO: - case SID_INSERT_VSCROLL: - case SID_INSERT_HSCROLL: - case SID_INSERT_SPIN: + case SID_INSERT_FORM_RADIO: + case SID_INSERT_FORM_CHECK: + case SID_INSERT_FORM_LIST: + case SID_INSERT_FORM_COMBO: + case SID_INSERT_FORM_VSCROLL: + case SID_INSERT_FORM_HSCROLL: + case SID_INSERT_FORM_SPIN: { if ( !bIsCalc || IsReadOnly() ) rSet.DisableItem( nWh ); @@ -453,31 +453,31 @@ void DialogWindow::ExecuteCommand( SfxRequest& rReq ) pBindings->Invalidate( SID_DOC_MODIFIED ); } break; - case SID_INSERT_RADIO: + case SID_INSERT_FORM_RADIO: GetEditor()->SetMode( DLGED_INSERT ); GetEditor()->SetInsertObj( OBJ_DLG_FORMRADIO ); break; - case SID_INSERT_CHECK: + case SID_INSERT_FORM_CHECK: GetEditor()->SetMode( DLGED_INSERT ); GetEditor()->SetInsertObj( OBJ_DLG_FORMCHECK ); break; - case SID_INSERT_LIST: + case SID_INSERT_FORM_LIST: GetEditor()->SetMode( DLGED_INSERT ); GetEditor()->SetInsertObj( OBJ_DLG_FORMLIST ); break; - case SID_INSERT_COMBO: + case SID_INSERT_FORM_COMBO: GetEditor()->SetMode( DLGED_INSERT ); GetEditor()->SetInsertObj( OBJ_DLG_FORMCOMBO ); break; - case SID_INSERT_SPIN: + case SID_INSERT_FORM_SPIN: GetEditor()->SetMode( DLGED_INSERT ); GetEditor()->SetInsertObj( OBJ_DLG_FORMSPIN ); break; - case SID_INSERT_VSCROLL: + case SID_INSERT_FORM_VSCROLL: GetEditor()->SetMode( DLGED_INSERT ); GetEditor()->SetInsertObj( OBJ_DLG_FORMVSCROLL ); break; - case SID_INSERT_HSCROLL: + case SID_INSERT_FORM_HSCROLL: GetEditor()->SetMode( DLGED_INSERT ); GetEditor()->SetInsertObj( OBJ_DLG_FORMHSCROLL ); break; diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx index 0cded4925d6f..bcf4006ce9e7 100644 --- a/basctl/source/basicide/basides1.cxx +++ b/basctl/source/basicide/basides1.cxx @@ -915,13 +915,13 @@ void BasicIDEShell::GetState(SfxItemSet &rSet) break; case SID_CHOOSE_CONTROLS: case SID_DIALOG_TESTMODE: - case SID_INSERT_RADIO: - case SID_INSERT_CHECK: - case SID_INSERT_LIST: - case SID_INSERT_COMBO: - case SID_INSERT_VSCROLL: - case SID_INSERT_HSCROLL: - case SID_INSERT_SPIN: + case SID_INSERT_FORM_RADIO: + case SID_INSERT_FORM_CHECK: + case SID_INSERT_FORM_LIST: + case SID_INSERT_FORM_COMBO: + case SID_INSERT_FORM_VSCROLL: + case SID_INSERT_FORM_HSCROLL: + case SID_INSERT_FORM_SPIN: { if( !pCurWin || !pCurWin->IsA( TYPE( DialogWindow ) ) ) rSet.DisableItem( nWh ); diff --git a/basctl/uiconfig/basicide/toolbar/formcontrolsbar.xml b/basctl/uiconfig/basicide/toolbar/formcontrolsbar.xml index a4afa1d1a748..5a4a9ad40162 100644 --- a/basctl/uiconfig/basicide/toolbar/formcontrolsbar.xml +++ b/basctl/uiconfig/basicide/toolbar/formcontrolsbar.xml @@ -12,5 +12,4 @@ <toolbar:toolbaritem xlink:href=".uno:InsertFormHScroll" toolbar:helpid="helpid:10146" toolbar:style="radio" /> <toolbar:toolbarbreak/> <toolbar:toolbaritem xlink:href=".uno:InsertFormSpin" toolbar:helpid="helpid:10146" toolbar:style="radio" /> - <toolbar:toolbarbreak/> </toolbar:toolbar> |