diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-24 11:13:09 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-24 11:13:42 +0100 |
commit | 146c7c5c89d9ce26c3de951ff049d36df1b5857b (patch) | |
tree | d66d72cb77002c96f528790f88012617243ccbf3 /include/toolkit/controls/unocontrol.hxx | |
parent | 569756aaf4606313297eace88b3ad5a6f57d8329 (diff) |
toolkit: sal_Bool -> bool
Change-Id: I5153c4413004d1b50cc503b3e70657bc831a5793
Diffstat (limited to 'include/toolkit/controls/unocontrol.hxx')
-rw-r--r-- | include/toolkit/controls/unocontrol.hxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/include/toolkit/controls/unocontrol.hxx b/include/toolkit/controls/unocontrol.hxx index d32ba99362b5..baccf575490f 100644 --- a/include/toolkit/controls/unocontrol.hxx +++ b/include/toolkit/controls/unocontrol.hxx @@ -45,16 +45,16 @@ struct UnoControlComponentInfos { - sal_Bool bVisible; - sal_Bool bEnable; + bool bVisible; + bool bEnable; long nX, nY, nWidth, nHeight; sal_uInt16 nFlags; float nZoomX, nZoomY; UnoControlComponentInfos() { - bVisible = sal_True; - bEnable = sal_True; + bVisible = true; + bEnable = true; nX = nY = nWidth = nHeight = 0; nFlags = 0; // POSSIZE_POSSIZE; nZoomX = nZoomY = 1.0f; @@ -101,11 +101,11 @@ protected: ::com::sun::star::uno::WeakReferenceHelper maAccessibleContext; /// our most recent XAccessibleContext instance - sal_Bool mbDisposePeer; - sal_Bool mbRefeshingPeer; - sal_Bool mbCreatingPeer; - sal_Bool mbCreatingCompatiblePeer; - sal_Bool mbDesignMode; + bool mbDisposePeer; + bool mbRefeshingPeer; + bool mbCreatingPeer; + bool mbCreatingCompatiblePeer; + bool mbDesignMode; UnoControlComponentInfos maComponentInfos; UnoControl_Data* mpData; @@ -116,7 +116,7 @@ protected: virtual void updateFromModel(); void peerCreated(); bool ImplCheckLocalize( OUString& _rPossiblyLocalizable ); - ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > ImplGetCompatiblePeer( sal_Bool bAcceptExistingPeer ); + ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > ImplGetCompatiblePeer( bool bAcceptExistingPeer ); virtual void ImplSetPeerProperty( const OUString& rPropName, const ::com::sun::star::uno::Any& rVal ); virtual void PrepareWindowDescriptor( ::com::sun::star::awt::WindowDescriptor& rDesc ); virtual void ImplModelPropertiesChanged( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyChangeEvent >& rEvents ); @@ -133,7 +133,7 @@ protected: mxVclWindowPeer = ::com::sun::star::uno::Reference< ::com::sun::star::awt::XVclWindowPeer >(mxPeer,::com::sun::star::uno::UNO_QUERY); // just to avoid the query_interface thing } - virtual sal_Bool requiresNewPeer( const OUString& _rPropertyName ) const; + virtual bool requiresNewPeer( const OUString& _rPropertyName ) const; public: UnoControl(); |