summaryrefslogtreecommitdiff
path: root/sc/inc
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/inc
parent236d6cd67e5024ecbe9baccc8f1db597bea4bfa9 (diff)
sc: prefer passing OUString by reference
Change-Id: I85e8823e872bf53182ce90576225e462edb1930a
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/scabstdlg.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/scabstdlg.hxx b/sc/inc/scabstdlg.hxx
index e4e5fd9ab75d..e28fdbf9147e 100644
--- a/sc/inc/scabstdlg.hxx
+++ b/sc/inc/scabstdlg.hxx
@@ -326,7 +326,7 @@ class ScAbstractDialogFactory
public:
SC_DLLPUBLIC static ScAbstractDialogFactory* Create();
- virtual AbstractScImportAsciiDlg * CreateScImportAsciiDlg( Window* pParent, OUString aDatName,
+ virtual AbstractScImportAsciiDlg * CreateScImportAsciiDlg( Window* pParent, const OUString& aDatName,
SvStream* pInStream,
ScImportAsciiCall eCall) = 0;
@@ -367,7 +367,7 @@ public:
FillDir eFillDir,
FillCmd eFillCmd,
FillDateCmd eFillDateCmd,
- OUString aStartStr,
+ const OUString& aStartStr,
double fStep,
double fMax,
sal_uInt16 nPossDir) = 0;
@@ -392,7 +392,7 @@ public:
virtual AbstractScLinkedAreaDlg * CreateScLinkedAreaDlg(Window* pParent) = 0;
virtual AbstractScMetricInputDlg * CreateScMetricInputDlg ( Window* pParent,
- OString sDialogName,
+ const OString& sDialogName,
long nCurrent,
long nDefault,
FieldUnit eFUnit = FUNIT_MM,