[PATCH] Use brackets, to be safe.
Thomas Arnhold
thomas at arnhold.org
Wed Feb 2 14:26:47 PST 2011
---
sc/source/ui/miscdlgs/acredlin.cxx | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/sc/source/ui/miscdlgs/acredlin.cxx b/sc/source/ui/miscdlgs/acredlin.cxx
index ceba5b4..d4ea8de 100644
--- a/sc/source/ui/miscdlgs/acredlin.cxx
+++ b/sc/source/ui/miscdlgs/acredlin.cxx
@@ -343,8 +343,10 @@ BOOL ScAcceptChgDlg::IsValidAction(const ScChangeAction* pScChangeAction)
aComment.EraseAllChars('\n');
if(eType==SC_CAT_CONTENT)
+ {
if(!pScChangeAction->IsDialogParent())
pScChangeAction->GetDescription( aDesc, pDoc, TRUE);
+ }
else
pScChangeAction->GetDescription( aDesc, pDoc,!pScChangeAction->IsMasterDelete());
--
1.7.3.5
--------------020904020700090806020305--
More information about the LibreOffice
mailing list