summaryrefslogtreecommitdiff
path: root/sw/source/ui/app/docsh.cxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2010-10-28 23:02:10 +0200
committerMathias Bauer <mba@openoffice.org>2010-10-28 23:02:10 +0200
commit0fe045d9566b66b766a8dd967e65ad6d57d78e5b (patch)
tree7a7506427f1225f68a2179fa9e40f9e013549ea4 /sw/source/ui/app/docsh.cxx
parent75999228ead62620ed8b9d3970277bf916af3d6d (diff)
parent8409cfd0c4842fae1e087f8c932748f9305871a8 (diff)
CWS gnumake: resync to m91; conflicts unresolved
Diffstat (limited to 'sw/source/ui/app/docsh.cxx')
-rw-r--r--[-rwxr-xr-x]sw/source/ui/app/docsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/app/docsh.cxx b/sw/source/ui/app/docsh.cxx
index 3c14ed6c46f0..c7ee43255f3b 100755..100644
--- a/sw/source/ui/app/docsh.cxx
+++ b/sw/source/ui/app/docsh.cxx
@@ -1399,7 +1399,7 @@ bool SwDocShell::SetProtectionPassword( const String &rNewPassword )
IDocumentRedlineAccess* pIDRA = pWrtShell->getIDocumentRedlineAccess();
Sequence< sal_Int8 > aPasswd = pIDRA->GetRedlinePassword();
if (pArgs && SFX_ITEM_SET == pArgs->GetItemState( FN_REDLINE_PROTECT, FALSE, &pItem )
- && ((SfxBoolItem*)pItem)->GetValue() == aPasswd.getLength() > 0)
+ && ((SfxBoolItem*)pItem)->GetValue() == (aPasswd.getLength() > 0))
return false;
bool bRes = false;