summaryrefslogtreecommitdiff
path: root/uui/source/passworddlg.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-17 11:24:40 +0200
committerNoel Grandin <noel@peralex.com>2014-03-17 13:30:53 +0200
commit96b5d4f62709a7db0c1a85f35938abdedea578e3 (patch)
tree3b607833b0af872fe7d0a4e88dd1f9177c1dda1f /uui/source/passworddlg.cxx
parent4386863e1a5b3aebaded5ff66e4bd29ca7ce67d0 (diff)
uui: prefer passing OUString by reference
Change-Id: Iec1fb3fd063d73f04a1600a21d6129e4cd5476b4
Diffstat (limited to 'uui/source/passworddlg.cxx')
-rw-r--r--uui/source/passworddlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/uui/source/passworddlg.cxx b/uui/source/passworddlg.cxx
index 6d6bc023071d..91e05e09eacc 100644
--- a/uui/source/passworddlg.cxx
+++ b/uui/source/passworddlg.cxx
@@ -27,7 +27,7 @@ using namespace ::com::sun::star;
PasswordDialog::PasswordDialog(Window* _pParent,
task::PasswordRequestMode nDlgMode, ResMgr * pResMgr,
- OUString& aDocURL, bool bOpenToModify, bool bIsSimplePasswordRequest)
+ const OUString& aDocURL, bool bOpenToModify, bool bIsSimplePasswordRequest)
: ModalDialog(_pParent, "PasswordDialog", "uui/ui/password.ui")
, nMinLen(1)
, aPasswdMismatch(ResId(STR_PASSWORD_MISMATCH, *pResMgr))