diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-15 11:05:19 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-19 10:29:31 +0200 |
commit | 610b2b94b33b0fc2d79cd515f9e293ca1c2610e8 (patch) | |
tree | 6eab2639cb8104ca54daa3f7a2ebd83ef1566cf0 /basctl | |
parent | 2c35fff7eca3a143d28dc75e6a73fe1101d2af77 (diff) |
remove unnecessary use of OUString constructor when assigning
change code like
aStr = OUString("xxxx");
to
aStr = "xxxx";
Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index 87556d88a809..76b717f88cee 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -252,8 +252,8 @@ EditorWindow::EditorWindow (Window* pParent, ModulWindow* pModulWindow) : notifier_ = n; } Sequence< OUString > s(2); - s[0] = OUString( "FontHeight" ); - s[1] = OUString( "FontName" ); + s[0] = "FontHeight"; + s[1] = "FontName"; n->addPropertiesChangeListener(s, listener_.get()); } @@ -779,9 +779,9 @@ void EditorWindow::HandleProcedureCompletion() OUString sText("\nEnd "); aSel = GetEditView()->GetSelection(); if( sProcType.equalsIgnoreAsciiCase("function") ) - sText += OUString( "Function\n" ); + sText += "Function\n"; if( sProcType.equalsIgnoreAsciiCase("sub") ) - sText += OUString( "Sub\n" ); + sText += "Sub\n"; if( nLine+1 == pEditEngine->GetParagraphCount() ) { @@ -2539,7 +2539,7 @@ void WatchTreeListBox::UpdateWatches( bool bBasicStopped ) } else { - aWatchStr = OUString( "Null" ); + aWatchStr = "Null"; if( pItem->mpObject != NULL ) { bCollapse = true; |