summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-23 12:34:38 +0200
committerNoel Grandin <noel@peralex.com>2013-08-29 09:30:02 +0200
commit7c9188659d0882906ed917d5251d5faaf007a477 (patch)
tree74b7ab7be808657179820283fdbea0a973051fd1 /sw/source/ui
parent99af8b070c5bff885511b29faf3c9df937297f81 (diff)
convert include/sfx2/objsh.hxx from String to OUString
Change-Id: I9587190cea24da93ec0496f2eccf0d32d98980ee
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/app/docsh.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/app/docsh.cxx b/sw/source/ui/app/docsh.cxx
index 2a0c0af82921..1b6b9a455388 100644
--- a/sw/source/ui/app/docsh.cxx
+++ b/sw/source/ui/app/docsh.cxx
@@ -1235,7 +1235,7 @@ void SwDocShell::SetChangeRecording( bool bActivate )
}
-bool SwDocShell::SetProtectionPassword( const String &rNewPassword )
+bool SwDocShell::SetProtectionPassword( const OUString &rNewPassword )
{
const SfxAllItemSet aSet( GetPool() );
const SfxItemSet* pArgs = &aSet;
@@ -1249,7 +1249,7 @@ bool SwDocShell::SetProtectionPassword( const String &rNewPassword )
bool bRes = false;
- if (rNewPassword.Len())
+ if (!rNewPassword.isEmpty())
{
// when password protection is applied change tracking must always be active
SetChangeRecording( true );