summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/collab/sendfunc.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/sc/source/ui/collab/sendfunc.cxx b/sc/source/ui/collab/sendfunc.cxx
index 30a4765fd66c..1ee3da715680 100644
--- a/sc/source/ui/collab/sendfunc.cxx
+++ b/sc/source/ui/collab/sendfunc.cxx
@@ -31,7 +31,7 @@ OUString editToString( const EditTextObject& /*rEditText*/ )
return OUString();
}
-EditTextObject stringToEdit( const OUString& rStr )
+EditTextObject stringToEdit( const OUString& /* rStr */ )
{
// FIXME: implement me.
// The code here only serves to make this file compilable.
@@ -196,9 +196,7 @@ public:
void appendAddress( const ScAddress &rPos )
{
- OUString aStr;
- rPos.Format( aStr, SCA_VALID );
- aMessage.append( aStr );
+ aMessage.append( rPos.Format( SCA_VALID ) );
appendSeparator();
}
@@ -379,7 +377,7 @@ bool ScDocFuncSend::SetFormulaCell( const ScAddress& rPos, ScFormulaCell* pCell,
aOp.appendFormulaCell( pCell );
aOp.appendBool( bInteraction );
SendMessage( aOp );
- pCell->Delete();
+ delete pCell;
return true; // needs some code auditing action
}