summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/mailmodel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/dialog/mailmodel.cxx')
-rw-r--r--sfx2/source/dialog/mailmodel.cxx24
1 files changed, 0 insertions, 24 deletions
diff --git a/sfx2/source/dialog/mailmodel.cxx b/sfx2/source/dialog/mailmodel.cxx
index 65b558f32b4b..fcf077e47ec8 100644
--- a/sfx2/source/dialog/mailmodel.cxx
+++ b/sfx2/source/dialog/mailmodel.cxx
@@ -130,30 +130,6 @@ void PrepareListener_Impl::disposing(const css::lang::EventObject& /*rEvent*/) t
static const char PDF_DOCUMENT_TYPE[] = "pdf_Portable_Document_Format";
-bool HasDocumentValidSignature( const css::uno::Reference< css::frame::XModel >& xModel )
-{
- try
- {
- css::uno::Reference< css::beans::XPropertySet > xPropSet( xModel, css::uno::UNO_QUERY );
- if ( xPropSet.is() )
- {
- Any a = xPropSet->getPropertyValue("HasValidSignatures");
- bool bReturn;
- if ( a >>= bReturn )
- return bReturn;
- }
- }
- catch ( css::uno::RuntimeException& )
- {
- throw;
- }
- catch ( css::uno::Exception& )
- {
- }
-
- return false;
-}
-
SfxMailModel::SaveResult SfxMailModel::ShowFilterOptionsDialog(
uno::Reference< lang::XMultiServiceFactory > xSMGR,
uno::Reference< frame::XModel > xModel,