[Libreoffice-commits] core.git: sc/source

Michael Meeks michael.meeks at suse.com
Mon Sep 9 06:15:43 PDT 2013


 sc/source/ui/collab/sendfunc.cxx |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

New commits:
commit 11f50dfa91ae382d59e751fa33c98d5478a2d52b
Author: Michael Meeks <michael.meeks at suse.com>
Date:   Wed Sep 4 07:19:17 2013 +0100

    tubes: build fixes.
    
    Change-Id: I7419df44a1f75a1f8bd93f10a8104b75784e6fee

diff --git a/sc/source/ui/collab/sendfunc.cxx b/sc/source/ui/collab/sendfunc.cxx
index 30a4765..1ee3da7 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
 }
 


More information about the Libreoffice-commits mailing list