[Libreoffice-commits] core.git: 2 commits - dbaccess/source editeng/source

Caolán McNamara caolanm at redhat.com
Sun Jan 25 06:04:52 PST 2015


 dbaccess/source/core/api/SingleSelectQueryComposer.cxx |    2 +-
 editeng/source/editeng/impedit4.cxx                    |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

New commits:
commit db15e9290e8e966edc83393c2abc793bcd954193
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Jan 25 14:03:56 2015 +0000

    coverity#1266514 Useless call
    
    Change-Id: I2a95e2faa7682934cd69264c82ed2618225be2a7

diff --git a/dbaccess/source/core/api/SingleSelectQueryComposer.cxx b/dbaccess/source/core/api/SingleSelectQueryComposer.cxx
index f8f8c2b..f4b765b 100644
--- a/dbaccess/source/core/api/SingleSelectQueryComposer.cxx
+++ b/dbaccess/source/core/api/SingleSelectQueryComposer.cxx
@@ -1660,7 +1660,7 @@ void OSingleSelectQueryComposer::setConditionByColumn( const Reference< XPropert
                         const sal_Int8* pEnd    = pBegin + aSeq.getLength();
                         for(;pBegin != pEnd;++pBegin)
                         {
-                            aSQL.append( (sal_Int32)*pBegin, 16 ).getStr();
+                            aSQL.append( (sal_Int32)*pBegin, 16 );
                         }
                         if(nSearchable == ColumnSearch::CHAR)
                             aSQL.append( "\'" );
commit f2a817edb0f31f65111544b57ee1bccc1a8d60a3
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Jan 25 14:01:55 2015 +0000

    coverity#1266515 Useless call
    
    Change-Id: I554ca2a961a9ba6009bef23067febe8611ba1f80

diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx
index d721ca3..667a969 100644
--- a/editeng/source/editeng/impedit4.cxx
+++ b/editeng/source/editeng/impedit4.cxx
@@ -1918,7 +1918,6 @@ void ImpEditEngine::StartSpelling(EditView& rEditView, bool bMultipleDoc)
 
 Reference< XSpellAlternatives > ImpEditEngine::ImpFindNextError(EditSelection& rSelection)
 {
-    aEditDoc.GetObject( (aEditDoc.Count()-1) );
     EditSelection aCurSel( rSelection.Min() );
 
     OUString aWord;


More information about the Libreoffice-commits mailing list