From 11f50dfa91ae382d59e751fa33c98d5478a2d52b Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Wed, 4 Sep 2013 07:19:17 +0100 Subject: tubes: build fixes. Change-Id: I7419df44a1f75a1f8bd93f10a8104b75784e6fee --- sc/source/ui/collab/sendfunc.cxx | 8 +++----- 1 file 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 } -- cgit v1.2.3