summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2013-09-04 07:19:17 +0100
committerMichael Meeks <michael.meeks@collabora.com>2013-09-09 14:13:41 +0100
commit11f50dfa91ae382d59e751fa33c98d5478a2d52b (patch)
treeb1ea0fdb2572b7542b85aeeaecc12b0c578eb5bf
parentd9e21015d28b03c5df73b4e819ed2a6fc85c3a7e (diff)
tubes: build fixes.
Change-Id: I7419df44a1f75a1f8bd93f10a8104b75784e6fee
-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
}