summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-03 16:01:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-06 05:59:56 +0000
commitaadf790bbceb1cde94c2a6fe8edfb9951edca0a0 (patch)
treef48bea8591e2def6579c5095989ea425211a0063 /svx
parent6b58caf0597fed21c78fd806e5f2cef6fc43c502 (diff)
remove some unnecessary use of OUString constructor
found with git grep -nP '<<= OUString\(\w*[A-Za-z]+' Change-Id: I43354842f1e0418fb292f2e8e0cb30f1229d1c67 Reviewed-on: https://gerrit.libreoffice.org/34864 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/rubydialog.cxx4
-rw-r--r--svx/source/dialog/srchdlg.cxx2
-rw-r--r--svx/source/fmcomp/gridcell.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx
index 9ef4e9558f06..489572f644a8 100644
--- a/svx/source/dialog/rubydialog.cxx
+++ b/svx/source/dialog/rubydialog.cxx
@@ -439,9 +439,9 @@ void SvxRubyDialog::GetRubyText()
for (sal_Int32 nProp = 0; nProp < rProps.getLength(); nProp++)
{
if (pProps[nProp].Name == cRubyBaseText)
- pProps[nProp].Value <<= OUString(aEditArr[i]->GetText());
+ pProps[nProp].Value <<= aEditArr[i]->GetText();
else if (pProps[nProp].Name == cRubyText)
- pProps[nProp].Value <<= OUString(aEditArr[i + 1]->GetText());
+ pProps[nProp].Value <<= aEditArr[i + 1]->GetText();
}
}
}
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx
index 35903aaf4b5f..c5a16a3ac170 100644
--- a/svx/source/dialog/srchdlg.cxx
+++ b/svx/source/dialog/srchdlg.cxx
@@ -1433,7 +1433,7 @@ IMPL_LINK( SvxSearchDialog, CommandHdl_Impl, Button *, pBtn, void )
uno::Sequence < beans::PropertyValue > aArgs(2);
beans::PropertyValue* pArgs = aArgs.getArray();
pArgs[0].Name = "SearchString";
- pArgs[0].Value <<= OUString(m_pSearchLB->GetText());
+ pArgs[0].Value <<= m_pSearchLB->GetText();
pArgs[1].Name = "ParentWindow";
pArgs[1].Value <<= VCLUnoHelper::GetInterface( this );
if(pBtn == m_pSearchComponent1PB)
diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx
index 705653d61bc7..a2a8960146dd 100644
--- a/svx/source/fmcomp/gridcell.cxx
+++ b/svx/source/fmcomp/gridcell.cxx
@@ -1584,7 +1584,7 @@ bool DbFormattedField::commitControl()
// ein LeerString wird erst mal standardmaessig als void weitergereicht
}
else
- aNewVal <<= OUString(rField.GetTextValue());
+ aNewVal <<= rField.GetTextValue();
m_rColumn.getModel()->setPropertyValue(FM_PROP_EFFECTIVE_VALUE, aNewVal);
return true;