[Libreoffice-commits] core.git: svl/source svx/source

Caolán McNamara caolanm at redhat.com
Thu Jul 2 00:23:57 PDT 2015


 svl/source/inc/passwordcontainer.hxx               |    2 +-
 svl/source/passwordcontainer/passwordcontainer.cxx |    2 +-
 svx/source/svdraw/svdobj.cxx                       |    1 +
 3 files changed, 3 insertions(+), 2 deletions(-)

New commits:
commit a9ad8444b8e1c47a47dc4ef6367335e3ccad59ea
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Jul 2 08:23:17 2015 +0100

    coverity#1309051 Uncaught exception
    
    Change-Id: Ia1ae16d9560c1eac294e29445e71dcee49ed16ce

diff --git a/svl/source/inc/passwordcontainer.hxx b/svl/source/inc/passwordcontainer.hxx
index df421b5..ba8e72f 100644
--- a/svl/source/inc/passwordcontainer.hxx
+++ b/svl/source/inc/passwordcontainer.hxx
@@ -248,7 +248,7 @@ private:
     ::com::sun::star::uno::Sequence< ::com::sun::star::task::UserRecord > CopyToUserRecordSequence(
                                         const ::std::list< NamePassRecord >& original,
                                         const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >& Handler )
-                                                        throw(::com::sun::star::uno::RuntimeException);
+                                                        throw(css::uno::RuntimeException, std::exception);
 
     ::com::sun::star::task::UserRecord CopyToUserRecord(
                                         const NamePassRecord& aRecord,
diff --git a/svl/source/passwordcontainer/passwordcontainer.cxx b/svl/source/passwordcontainer/passwordcontainer.cxx
index 6b8fa7f..5b807cd 100644
--- a/svl/source/passwordcontainer/passwordcontainer.cxx
+++ b/svl/source/passwordcontainer/passwordcontainer.cxx
@@ -623,7 +623,7 @@ UserRecord PasswordContainer::CopyToUserRecord( const NamePassRecord& aRecord, b
 }
 
 
-Sequence< UserRecord > PasswordContainer::CopyToUserRecordSequence( const list< NamePassRecord >& original, const Reference< XInteractionHandler >& aHandler ) throw(RuntimeException)
+Sequence< UserRecord > PasswordContainer::CopyToUserRecordSequence( const list< NamePassRecord >& original, const Reference< XInteractionHandler >& aHandler ) throw(RuntimeException, std::exception)
 {
     Sequence< UserRecord >     aResult( original.size() );
     sal_uInt32 nInd = 0;
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx
index 9bf94f7..51b5e0d 100644
--- a/svx/source/svdraw/svdobj.cxx
+++ b/svx/source/svdraw/svdobj.cxx
@@ -1620,6 +1620,7 @@ void SdrObject::ImpSetAnchorPos(const Point& rPnt)
 
 void SdrObject::NbcSetAnchorPos(const Point& rPnt)
 {
+    fprintf(stderr, "NbcSetAnchorPos %ld %ld\n", rPnt.X(), rPnt.Y());
     Size aSiz(rPnt.X()-aAnchor.X(),rPnt.Y()-aAnchor.Y());
     aAnchor=rPnt;
     NbcMove(aSiz); // This also calls SetRectsDirty()


More information about the Libreoffice-commits mailing list