From 71c88f02a019dee180686ac9ec88d8c7c1f7f534 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 17 Mar 2014 09:13:09 +0200 Subject: sc: prefer passing OUString by reference Change-Id: I85e8823e872bf53182ce90576225e462edb1930a --- sc/inc/scabstdlg.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sc/inc') 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, -- cgit