summaryrefslogtreecommitdiff
path: root/include/sfx2/dinfdlg.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-13 10:22:49 +0200
committerNoel Grandin <noel@peralex.com>2014-03-14 07:50:34 +0200
commit5fe7ecc04f35ef785510e3ef404f46eb6f05a123 (patch)
tree4c141983d092ef097c09187abb634f2e4a717452 /include/sfx2/dinfdlg.hxx
parentc2324940d384186ff02581e49a24ea8235cd584c (diff)
sfx2: sal_Bool->bool
Change-Id: I56a50ee4a169c8f82c830ebf498f7ead1335f0b5
Diffstat (limited to 'include/sfx2/dinfdlg.hxx')
-rw-r--r--include/sfx2/dinfdlg.hxx36
1 files changed, 18 insertions, 18 deletions
diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx
index beffc572a5d2..86e466a4146b 100644
--- a/include/sfx2/dinfdlg.hxx
+++ b/include/sfx2/dinfdlg.hxx
@@ -62,9 +62,9 @@ struct CustomProperty;
class SFX2_DLLPUBLIC SfxDocumentInfoItem : public SfxStringItem
{
private:
- sal_Int32 m_AutoloadDelay;
+ sal_Int32 m_AutoloadDelay;
OUString m_AutoloadURL;
- sal_Bool m_isAutoloadEnabled;
+ bool m_isAutoloadEnabled;
OUString m_DefaultTarget;
OUString m_TemplateName;
OUString m_Author;
@@ -73,15 +73,15 @@ private:
::com::sun::star::util::DateTime m_ModificationDate;
OUString m_PrintedBy;
::com::sun::star::util::DateTime m_PrintDate;
- sal_Int16 m_EditingCycles;
- sal_Int32 m_EditingDuration;
+ sal_Int16 m_EditingCycles;
+ sal_Int32 m_EditingDuration;
OUString m_Description;
OUString m_Keywords;
OUString m_Subject;
OUString m_Title;
- sal_Bool m_bHasTemplate;
- sal_Bool m_bDeleteUserData;
- sal_Bool m_bUseUserData;
+ bool m_bHasTemplate;
+ bool m_bDeleteUserData;
+ bool m_bUseUserData;
std::vector< CustomProperty* > m_aCustomProperties;
::com::sun::star::uno::Sequence< ::com::sun::star::document::CmisProperty > m_aCmisProperties;
@@ -93,7 +93,7 @@ public:
::com::sun::star::document::XDocumentProperties> & i_xDocProps,
const ::com::sun::star::uno::Sequence<
::com::sun::star::document::CmisProperty> & i_cmisProps,
- sal_Bool bUseUserData );
+ bool bUseUserData );
SfxDocumentInfoItem( const SfxDocumentInfoItem& );
virtual ~SfxDocumentInfoItem();
@@ -103,10 +103,10 @@ public:
::com::sun::star::document::XDocumentProperties> & i_xDocProps,
bool i_bDoNotUpdateUserDefined = false)
const;
- sal_Bool isCmisDocument() const { return m_aCmisProperties.getLength() > 0;}
+ bool isCmisDocument() const { return m_aCmisProperties.getLength() > 0;}
- sal_Bool isAutoloadEnabled() const { return m_isAutoloadEnabled; }
- void setAutoloadEnabled(sal_Bool i_val) { m_isAutoloadEnabled = i_val; }
+ bool isAutoloadEnabled() const { return m_isAutoloadEnabled; }
+ void setAutoloadEnabled(bool i_val) { m_isAutoloadEnabled = i_val; }
sal_Int32 getAutoloadDelay() const { return m_AutoloadDelay; }
void setAutoloadDelay(sal_Int32 i_val) { m_AutoloadDelay = i_val; }
OUString getAutoloadURL() const { return m_AutoloadURL; }
@@ -154,12 +154,12 @@ public:
/// reset user-specific data (author, modified-by, ...)
void resetUserData(const OUString & i_rAuthor);
- void SetTemplate( sal_Bool b ) { m_bHasTemplate = b; }
- sal_Bool HasTemplate() const { return m_bHasTemplate; }
- void SetDeleteUserData( sal_Bool bSet );
- void SetUseUserData( sal_Bool bSet );
- sal_Bool IsDeleteUserData() const;
- sal_Bool IsUseUserData() const;
+ void SetTemplate( bool b ) { m_bHasTemplate = b; }
+ bool HasTemplate() const { return m_bHasTemplate; }
+ void SetDeleteUserData( bool bSet );
+ void SetUseUserData( bool bSet );
+ bool IsDeleteUserData() const;
+ bool IsUseUserData() const;
std::vector< CustomProperty* > GetCustomProperties() const;
void ClearCustomProperties();
@@ -207,7 +207,7 @@ private:
OUString m_aUnknownSize;
OUString m_aMultiSignedStr;
- sal_Bool bEnableUseUserData : 1,
+ bool bEnableUseUserData : 1,
bHandleDelete : 1;
DECL_LINK(DeleteHdl, void *);