diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-05-16 09:44:04 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-05-16 09:44:04 +0000 |
commit | e492240eaecde5d5520beca70cbcfdc27b8d5304 (patch) | |
tree | bfc59a7338a38bbf73b405b871f7f4632b68aaa0 /xmlsecurity | |
parent | 14f58aeb5d19a42e86c0f7c8568d25f2eaaad1e5 (diff) |
#100000# get rid of cc1plus warnings
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx index 389469167200..8fd875f23cb9 100644 --- a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx +++ b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: digitalsignaturesdialog.cxx,v $ - * $Revision: 1.33 $ + * $Revision: 1.34 $ * * This file is part of OpenOffice.org. * @@ -95,10 +95,15 @@ namespace if ( aValues[0] >>= nTmp ) m_nODF = nTmp; else - DBG_ASSERT(0, "SaveODFItem::SaveODFItem(): Wrong Type!" ); + throw uno::RuntimeException( + OUString(RTL_CONSTASCII_USTRINGPARAM( + "[xmlsecurity]SaveODFItem::SaveODFItem(): Wrong Type!")), 0 ); + } else - DBG_ASSERT(0, "No ODF/DefaultVersion"); + throw uno::RuntimeException( + OUString(RTL_CONSTASCII_USTRINGPARAM( + "[xmlsecurity] Could not open property Office.Common/Save/ODF/DefaultVersion")), 0); } } |