diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-24 12:22:08 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-30 08:43:41 +0200 |
commit | 4c73963171b1a7a837e4bfc75ae4e0303af7d117 (patch) | |
tree | 1a78e9dd12dc66c28865500dc24ae72bbfaab461 /starmath/source/mathmlexport.hxx | |
parent | 7e9bb77c356e3888e4bf697f4ecd69e642211c75 (diff) |
starmath: sal_Bool->bool
Change-Id: I09e833765294937a75feb5cdd92cce4aa8373c24
Diffstat (limited to 'starmath/source/mathmlexport.hxx')
-rw-r--r-- | starmath/source/mathmlexport.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/starmath/source/mathmlexport.hxx b/starmath/source/mathmlexport.hxx index 371bf9877253..e547840d2e16 100644 --- a/starmath/source/mathmlexport.hxx +++ b/starmath/source/mathmlexport.hxx @@ -41,16 +41,16 @@ namespace com { namespace sun { namespace star { class SmXMLExportWrapper { com::sun::star::uno::Reference<com::sun::star::frame::XModel> xModel; - sal_Bool bFlat; //set true for export to flat .mml, set false for + bool bFlat; //set true for export to flat .mml, set false for //export to a .sxm (or whatever) package public: SmXMLExportWrapper(com::sun::star::uno::Reference<com::sun::star::frame::XModel> &rRef) - : xModel(rRef), bFlat(sal_True) {} + : xModel(rRef), bFlat(true) {} - sal_Bool Export(SfxMedium &rMedium); - void SetFlat(sal_Bool bIn) {bFlat = bIn;} + bool Export(SfxMedium &rMedium); + void SetFlat(bool bIn) {bFlat = bIn;} - sal_Bool WriteThroughComponent( + bool WriteThroughComponent( ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream > xOutputStream, ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > @@ -61,7 +61,7 @@ public: ::com::sun::star::beans::XPropertySet > & rPropSet, const sal_Char* pComponentName ); - sal_Bool WriteThroughComponent( + bool WriteThroughComponent( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStor, ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > xComponent, const sal_Char* pStreamName, @@ -78,7 +78,7 @@ class SmXMLExport : public SvXMLExport { const SmNode * pTree; OUString aText; - sal_Bool bSuccess; + bool bSuccess; protected: void ExportNodes(const SmNode *pNode, int nLevel); @@ -121,7 +121,7 @@ public: virtual void GetViewSettings(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>& aProps) SAL_OVERRIDE; virtual void GetConfigurationSettings(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>& aProps) SAL_OVERRIDE; - sal_Bool GetSuccess() {return bSuccess;} + bool GetSuccess() {return bSuccess;} }; |