summaryrefslogtreecommitdiff
path: root/include/sfx2/mailmodelapi.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-23 15:10:03 +0200
committerNoel Grandin <noel@peralex.com>2013-08-29 09:30:05 +0200
commit878f279f51940f470f09ea34f2e77f33131f1603 (patch)
treebece73d59f4fdc0e5c9699d2c8d7d1ff03410532 /include/sfx2/mailmodelapi.hxx
parent92cda0a9e81663a06076b466c779381cd98b2ed3 (diff)
convert include/sfx2/mailmodelapi.hxx from String to OUString
Change-Id: Ib6ea30bf17a30f7df9be8ce5643b34eed360a06e
Diffstat (limited to 'include/sfx2/mailmodelapi.hxx')
-rw-r--r--include/sfx2/mailmodelapi.hxx16
1 files changed, 7 insertions, 9 deletions
diff --git a/include/sfx2/mailmodelapi.hxx b/include/sfx2/mailmodelapi.hxx
index 042a364e2b5a..87f3d09010e4 100644
--- a/include/sfx2/mailmodelapi.hxx
+++ b/include/sfx2/mailmodelapi.hxx
@@ -27,8 +27,7 @@
#include "sfx2/dllapi.h"
// class AddressList_Impl ------------------------------------------------
-typedef String* AddressItemPtr_Impl;
-typedef ::std::vector< AddressItemPtr_Impl > AddressList_Impl;
+typedef ::std::vector< OUString > AddressList_Impl;
// class SfxMailModel_Impl -----------------------------------------------
@@ -74,13 +73,12 @@ private:
AddressList_Impl* mpToList;
AddressList_Impl* mpCcList;
AddressList_Impl* mpBccList;
- String maFromAddress;
- String maSubject;
+ OUString maFromAddress;
+ OUString maSubject;
MailPriority mePriority;
sal_Bool mbLoadDone;
- void ClearList( AddressList_Impl* pList );
SaveResult ShowFilterOptionsDialog( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xSMGR,
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > xModel,
const OUString& rFilterName,
@@ -102,9 +100,9 @@ public:
SfxMailModel();
~SfxMailModel();
- void AddAddress( const String& rAddress, AddressRole eRole );
- void SetFromAddress( const String& rAddress ) { maFromAddress = rAddress; }
- void SetSubject( const String& rSubject ) { maSubject = rSubject; }
+ void AddAddress( const OUString& rAddress, AddressRole eRole );
+ void SetFromAddress( const OUString& rAddress ) { maFromAddress = rAddress; }
+ void SetSubject( const OUString& rSubject ) { maSubject = rSubject; }
void SetPriority( MailPriority ePrio ) { mePriority = ePrio; }
/** attaches a document to the current attachment list, can be called more than once.
@@ -129,7 +127,7 @@ public:
sal_Bool IsEmpty() const;
};
-sal_Bool CreateFromAddress_Impl( String& rFrom );
+sal_Bool CreateFromAddress_Impl( OUString& rFrom );
#endif // INCLUDED_SFX_MAILMODEL_HXX