diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-05-17 21:08:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-05-17 21:08:15 +0100 |
commit | 5ba99a8055faa6c2c4e5e69c5874d4d01abc5e8a (patch) | |
tree | 2e2652fb25c9b80fd877eee3705ca58b35c8237b /basctl/source/basicide/baside2b.cxx | |
parent | e049dd5f11dab0b29b85d8977a78cacef1ee22f9 (diff) |
drop IDE_RESSTR
Change-Id: Iee1479d472d224bdf19890bbac29d9eeb4e3d00d
Diffstat (limited to 'basctl/source/basicide/baside2b.cxx')
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index 8b9137db9262..3a9d1d4bc405 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -478,7 +478,7 @@ bool EditorWindow::ImpCanModify() { // If in Trace-mode, abort the trace or refuse input // Remove markers in the modules in Notify at Basic::Stopped - if (ScopedVclPtrInstance<QueryBox>(nullptr, WB_OK_CANCEL, IDEResId(RID_STR_WILLSTOPPRG).toString())->Execute() == RET_OK) + if (ScopedVclPtrInstance<QueryBox>(nullptr, WB_OK_CANCEL, IDEResId(RID_STR_WILLSTOPPRG))->Execute() == RET_OK) { rModulWindow.GetBasicStatus().bIsRunning = false; StopBasic(); @@ -980,7 +980,7 @@ void EditorWindow::CreateEditEngine() // it could be cut down on one formatting but you would wait even longer // for the text then if the source code is long... pProgress.reset(new ProgressInfo(GetShell()->GetViewFrame()->GetObjectShell(), - IDEResId(RID_STR_GENERATESOURCE).toString(), + IDEResId(RID_STR_GENERATESOURCE), nLines * 4)); setTextEngineText(*pEditEngine, aOUSource); @@ -1552,10 +1552,10 @@ WatchWindow::WatchWindow (Layout* pParent) WB_HASLINESATROOT | WB_HASBUTTONSATROOT)) , aHeaderBar(VclPtr<HeaderBar>::Create(this, WB_BUTTONSTYLE | WB_BORDER)) { - aXEdit->SetAccessibleName(IDEResId(RID_STR_WATCHNAME).toString()); + aXEdit->SetAccessibleName(IDEResId(RID_STR_WATCHNAME)); aXEdit->SetHelpId(HID_BASICIDE_WATCHWINDOW_EDIT); aXEdit->SetSizePixel(aXEdit->LogicToPixel(Size(80, 12), MapUnit::MapAppFont)); - aTreeListBox->SetAccessibleName(IDEResId(RID_STR_WATCHNAME).toString()); + aTreeListBox->SetAccessibleName(IDEResId(RID_STR_WATCHNAME)); long nTextLen = GetTextWidth( aWatchStr ) + DWBORDER + 3; aXEdit->SetPosPixel( Point( nTextLen, 3 ) ); @@ -1597,9 +1597,9 @@ WatchWindow::WatchWindow (Layout* pParent) long nVarTabWidth = 220; long nValueTabWidth = 100; long nTypeTabWidth = 1250; - aHeaderBar->InsertItem( ITEM_ID_VARIABLE, IDEResId(RID_STR_WATCHVARIABLE).toString(), nVarTabWidth ); - aHeaderBar->InsertItem( ITEM_ID_VALUE, IDEResId(RID_STR_WATCHVALUE).toString(), nValueTabWidth ); - aHeaderBar->InsertItem( ITEM_ID_TYPE, IDEResId(RID_STR_WATCHTYPE).toString(), nTypeTabWidth ); + aHeaderBar->InsertItem( ITEM_ID_VARIABLE, IDEResId(RID_STR_WATCHVARIABLE), nVarTabWidth ); + aHeaderBar->InsertItem( ITEM_ID_VALUE, IDEResId(RID_STR_WATCHVALUE), nValueTabWidth ); + aHeaderBar->InsertItem( ITEM_ID_TYPE, IDEResId(RID_STR_WATCHTYPE), nTypeTabWidth ); long tabs[ 4 ]; tabs[ 0 ] = 3; // two tabs @@ -1615,7 +1615,7 @@ WatchWindow::WatchWindow (Layout* pParent) aTreeListBox->Show(); - SetText(IDEResId(RID_STR_WATCHNAME).toString()); + SetText(IDEResId(RID_STR_WATCHNAME)); SetHelpId( HID_BASICIDE_WATCHWINDOW ); @@ -1832,14 +1832,14 @@ StackWindow::StackWindow (Layout* pParent) : aStackStr( IDEResId( RID_STR_STACK ) ) { aTreeListBox->SetHelpId(HID_BASICIDE_STACKWINDOW_LIST); - aTreeListBox->SetAccessibleName(IDEResId(RID_STR_STACKNAME).toString()); + aTreeListBox->SetAccessibleName(IDEResId(RID_STR_STACKNAME)); aTreeListBox->SetPosPixel( Point( DWBORDER, nVirtToolBoxHeight ) ); aTreeListBox->SetHighlightRange(); aTreeListBox->SetSelectionMode( SelectionMode::NONE ); aTreeListBox->InsertEntry( OUString() ); aTreeListBox->Show(); - SetText(IDEResId(RID_STR_STACKNAME).toString()); + SetText(IDEResId(RID_STR_STACKNAME)); SetHelpId( HID_BASICIDE_STACKWINDOW ); |