summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-18 13:20:20 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-18 14:12:23 +0100
commitd9e2c2704466caaef52bdabf2689220ce6fa1cf7 (patch)
tree3aef7cf443707c7a9c54e21aec57df1a1a5446b2 /basctl
parenta33b4428bd7482a9460d0743f95749ad7d8c289c (diff)
basctl: Use appropriate OUString functions on string constants
Change-Id: I3e1ff06ac42b53d4cbbdc5a4590bf505d0746d2d
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside2b.cxx2
-rw-r--r--basctl/source/basicide/basides1.cxx2
-rw-r--r--basctl/source/basicide/moduldlg.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index bbfe171e3452..452bf878e747 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -139,7 +139,7 @@ void lcl_DrawIDEWindowFrame( DockingWindow* pWin )
void lcl_SeparateNameAndIndex( const OUString& rVName, OUString& rVar, OUString& rIndex )
{
rVar = rVName;
- rIndex = "";
+ rIndex.clear();
sal_Int32 nIndexStart = rVar.indexOf( '(' );
if ( nIndexStart != -1 )
{
diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx
index e5d4da4a7710..1ec577b743bd 100644
--- a/basctl/source/basicide/basides1.cxx
+++ b/basctl/source/basicide/basides1.cxx
@@ -472,7 +472,7 @@ void Shell::ExecuteGlobal( SfxRequest& rReq )
if ( aDocument == m_aCurDocument && aLibName == m_aCurLibName )
{
m_aCurDocument = ScriptDocument::getApplicationScriptDocument();
- m_aCurLibName = "";
+ m_aCurLibName.clear();
// no UpdateWindows!
if (SfxBindings* pBindings = GetBindingsPtr())
pBindings->Invalidate( SID_BASICIDE_LIBSELECTOR );
diff --git a/basctl/source/basicide/moduldlg.cxx b/basctl/source/basicide/moduldlg.cxx
index 7e0b61014cbf..b34dbeb1b040 100644
--- a/basctl/source/basicide/moduldlg.cxx
+++ b/basctl/source/basicide/moduldlg.cxx
@@ -547,9 +547,9 @@ IMPL_LINK( OrganizeDialog, ActivatePageHdl, TabControl *, pTabCtrl )
ObjectPage::ObjectPage(vcl::Window *pParent, const OString &rName, sal_uInt16 nMode)
- : TabPage(pParent, rName, OUString("modules/BasicIDE/ui/") +
+ : TabPage(pParent, rName, "modules/BasicIDE/ui/" +
OStringToOUString(rName, RTL_TEXTENCODING_UTF8).toAsciiLowerCase() +
- OUString(".ui"))
+ ".ui")
{
get(m_pBasicBox, "library");
Size aSize(m_pBasicBox->LogicToPixel(Size(130, 117), MAP_APPFONT));