summaryrefslogtreecommitdiff
path: root/sc/source/ui/miscdlgs
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-17 09:13:09 +0200
committerNoel Grandin <noel@peralex.com>2014-03-17 13:30:50 +0200
commit71c88f02a019dee180686ac9ec88d8c7c1f7f534 (patch)
tree601702c26d9fc4fd97a88e8625e580871c5f9d01 /sc/source/ui/miscdlgs
parent236d6cd67e5024ecbe9baccc8f1db597bea4bfa9 (diff)
sc: prefer passing OUString by reference
Change-Id: I85e8823e872bf53182ce90576225e462edb1930a
Diffstat (limited to 'sc/source/ui/miscdlgs')
-rw-r--r--sc/source/ui/miscdlgs/mtrindlg.cxx2
-rw-r--r--sc/source/ui/miscdlgs/solvrdlg.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/miscdlgs/mtrindlg.cxx b/sc/source/ui/miscdlgs/mtrindlg.cxx
index 0ef64464f46d..1626febd0888 100644
--- a/sc/source/ui/miscdlgs/mtrindlg.cxx
+++ b/sc/source/ui/miscdlgs/mtrindlg.cxx
@@ -32,7 +32,7 @@
ScMetricInputDlg::ScMetricInputDlg( Window* pParent,
- OString sDialogName,
+ const OString& sDialogName,
long nCurrent,
long nDefault,
FieldUnit eFUnit,
diff --git a/sc/source/ui/miscdlgs/solvrdlg.cxx b/sc/source/ui/miscdlgs/solvrdlg.cxx
index 7999bd8b2c09..718e22517696 100644
--- a/sc/source/ui/miscdlgs/solvrdlg.cxx
+++ b/sc/source/ui/miscdlgs/solvrdlg.cxx
@@ -36,7 +36,7 @@
namespace
{
- void lclErrorDialog( Window* pParent, OUString aString )
+ void lclErrorDialog( Window* pParent, const OUString& aString )
{
ErrorBox( pParent, WinBits( WB_OK | WB_DEF_OK), aString ).Execute();
}