diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-19 09:01:06 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-19 09:21:24 +0200 |
commit | 9278df2c21fed09b6b10465ca33b227ad7c49b41 (patch) | |
tree | 5dc447f593f0244e7e8c5848a8da34f25cc4aa41 /basctl/source | |
parent | 16752a8a773cf8096e28628237238a562016c4e5 (diff) |
sfx2: sal_Bool->bool
Change-Id: I73acb3a150b01114d32274a6842f6db9654b3e63
Diffstat (limited to 'basctl/source')
-rw-r--r-- | basctl/source/basicide/basides2.cxx | 4 | ||||
-rw-r--r-- | basctl/source/basicide/basidesh.cxx | 2 | ||||
-rw-r--r-- | basctl/source/inc/basidesh.hxx | 8 |
3 files changed, 7 insertions, 7 deletions
diff --git a/basctl/source/basicide/basides2.cxx b/basctl/source/basicide/basides2.cxx index 927b670abaff..8912b7f79cb7 100644 --- a/basctl/source/basicide/basides2.cxx +++ b/basctl/source/basicide/basides2.cxx @@ -52,7 +52,7 @@ Reference< view::XRenderable > Shell::GetRenderable() return Reference<view::XRenderable>( new Renderable(pCurWin) ); } -sal_Bool Shell::HasSelection( sal_Bool /* bText */ ) const +bool Shell::HasSelection( bool /* bText */ ) const { if (ModulWindow* pMCurWin = dynamic_cast<ModulWindow*>(pCurWin)) { @@ -85,7 +85,7 @@ OUString Shell::GetSelectionText( bool bWholeWord ) return aText; } -SfxPrinter* Shell::GetPrinter( sal_Bool bCreate ) +SfxPrinter* Shell::GetPrinter( bool bCreate ) { if ( pCurWin ) { diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx index 61146c1f1fe5..df54b84f83b3 100644 --- a/basctl/source/basicide/basidesh.cxx +++ b/basctl/source/basicide/basidesh.cxx @@ -374,7 +374,7 @@ void Shell::StoreAllWindowData( bool bPersistent ) } -bool Shell::PrepareClose( sal_Bool bUI ) +bool Shell::PrepareClose( bool bUI ) { // reset here because it's modified after printing etc. (DocInfo) GetViewFrame()->GetObjectShell()->SetModified(false); diff --git a/basctl/source/inc/basidesh.hxx b/basctl/source/inc/basidesh.hxx index fdb8ef2893d6..6a75f159d2dd 100644 --- a/basctl/source/inc/basidesh.hxx +++ b/basctl/source/inc/basidesh.hxx @@ -115,8 +115,8 @@ private: private: virtual void AdjustPosSizePixel( const Point &rPos, const Size &rSize ); virtual void OuterResizePixel( const Point &rPos, const Size &rSize ); - sal_uInt16 InsertWindowInTable (BaseWindow* pNewWin); - virtual bool PrepareClose( sal_Bool bUI ) SAL_OVERRIDE; + sal_uInt16 InsertWindowInTable (BaseWindow* pNewWin); + virtual bool PrepareClose( bool bUI ) SAL_OVERRIDE; void SetCurWindow (BaseWindow* pNewWin, bool bUpdateTabBar = false, bool bRememberAsCurrent = true); void ManageToolbars(); @@ -174,10 +174,10 @@ public: virtual com::sun::star::uno::Reference< com::sun::star::view::XRenderable > GetRenderable(); // virtual sal_uInt16 Print( SfxProgress &rProgress, sal_Bool bIsAPI, PrintDialog *pPrintDialog = 0 ); - virtual SfxPrinter* GetPrinter( sal_Bool bCreate ); + virtual SfxPrinter* GetPrinter( bool bCreate ); virtual sal_uInt16 SetPrinter( SfxPrinter *pNewPrinter, sal_uInt16 nDiffFlags = SFX_PRINTER_ALL, bool bIsAPI=false ); virtual OUString GetSelectionText( bool bCompleteWords ); - virtual sal_Bool HasSelection( sal_Bool bText ) const; + virtual bool HasSelection( bool bText ) const; void GetState( SfxItemSet& ); void ExecuteGlobal( SfxRequest& rReq ); |