diff options
-rw-r--r-- | cui/source/factory/dlgfact.cxx | 34 | ||||
-rw-r--r-- | cui/source/factory/dlgfact.hxx | 34 | ||||
-rw-r--r-- | include/svx/svxdlg.hxx | 34 | ||||
-rw-r--r-- | svx/source/dialog/grfflt.cxx | 4 | ||||
-rw-r--r-- | sw/source/core/uibase/misc/redlndlg.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/uibase/shells/textfld.cxx | 4 |
6 files changed, 56 insertions, 56 deletions
diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx index b54cda05b284..b64c7a4ee022 100644 --- a/cui/source/factory/dlgfact.cxx +++ b/cui/source/factory/dlgfact.cxx @@ -434,7 +434,7 @@ void AbstractSpellDialog_Impl::SetLanguage( sal_uInt16 nLang ) pDlg->SetLanguage(nLang); } -sal_Bool AbstractSpellDialog_Impl::Close() +bool AbstractSpellDialog_Impl::Close() { return pDlg->Close(); } @@ -558,7 +558,7 @@ Size AbstractSvxHlinkDlgMarkWnd_Impl::GetSizePixel() const return pDlg->GetSizePixel(); } -sal_Bool AbstractSvxHlinkDlgMarkWnd_Impl::IsVisible( ) const +bool AbstractSvxHlinkDlgMarkWnd_Impl::IsVisible( ) const { return (( Window* )pDlg)->IsVisible(); } @@ -568,12 +568,12 @@ void AbstractSvxHlinkDlgMarkWnd_Impl::Invalidate( sal_uInt16 nFlags ) (( Window* )pDlg)->Invalidate(nFlags); } -sal_Bool AbstractSvxHlinkDlgMarkWnd_Impl::MoveTo( Point aNewPos )const +bool AbstractSvxHlinkDlgMarkWnd_Impl::MoveTo( Point aNewPos )const { return pDlg->MoveTo(aNewPos); } -sal_Bool AbstractSvxHlinkDlgMarkWnd_Impl::ConnectToDialog( sal_Bool bDoit )const +bool AbstractSvxHlinkDlgMarkWnd_Impl::ConnectToDialog( bool bDoit )const { return pDlg->ConnectToDialog(bDoit); } @@ -608,7 +608,7 @@ sal_uInt16 AbstractSvxSearchSimilarityDialog_Impl::GetLonger() return pDlg->GetLonger(); } -sal_Bool AbstractSvxSearchSimilarityDialog_Impl::IsRelaxed() +bool AbstractSvxSearchSimilarityDialog_Impl::IsRelaxed() { return pDlg->IsRelaxed(); } @@ -853,7 +853,7 @@ Window * AbstractSvxHpLinkDlg_Impl::GetWindow() return (Window *)pDlg; } -sal_Bool AbstractSvxHpLinkDlg_Impl::QueryClose() +bool AbstractSvxHpLinkDlg_Impl::QueryClose() { return pDlg->QueryClose(); } @@ -920,7 +920,7 @@ const SfxItemSet* AbstractSvxPostItDialog_Impl::GetOutputItemSet() const { return pDlg->GetOutputItemSet(); } -void AbstractSvxPostItDialog_Impl::EnableTravel(sal_Bool bNext, sal_Bool bPrev) +void AbstractSvxPostItDialog_Impl::EnableTravel(bool bNext, bool bPrev) { pDlg->EnableTravel( bNext, bPrev ); } @@ -944,11 +944,11 @@ void AbstractSvxPostItDialog_Impl::HideAuthor() { pDlg->HideAuthor(); } -void AbstractSvxPostItDialog_Impl::SetReadonlyPostIt(sal_Bool bDisable) +void AbstractSvxPostItDialog_Impl::SetReadonlyPostIt(bool bDisable) { pDlg->SetReadonlyPostIt( bDisable ); } -sal_Bool AbstractSvxPostItDialog_Impl::IsOkEnabled() const +bool AbstractSvxPostItDialog_Impl::IsOkEnabled() const { return pDlg->IsOkEnabled(); } @@ -1329,7 +1329,7 @@ VclAbstractDialog* AbstractDialogFactory_Impl::CreateSvxSearchAttributeDial } AbstractSvxSearchSimilarityDialog * AbstractDialogFactory_Impl::CreateSvxSearchSimilarityDialog( Window* pParent, - sal_Bool bRelax, + bool bRelax, sal_uInt16 nOther, sal_uInt16 nShorter, sal_uInt16 nLonger) @@ -1342,7 +1342,7 @@ AbstractSvxSearchSimilarityDialog * AbstractDialogFactory_Impl::CreateSvxSearchS SfxAbstractTabDialog* AbstractDialogFactory_Impl::CreateSvxBorderBackgroundDlg( Window* pParent, const SfxItemSet& rCoreSet, - sal_Bool bEnableSelector) + bool bEnableSelector) { SfxTabDialog* pDlg = new SvxBorderBackgroundDlg( pParent, rCoreSet, bEnableSelector); return new CuiAbstractTabDialog_Impl( pDlg ); @@ -1454,13 +1454,13 @@ AbstractSvxMessDialog * AbstractDialogFactory_Impl::CreateSvxMessDialog( Window* return new AbstractSvxMessDialog_Impl( pDlg ); } -AbstractSvxMultiPathDialog * AbstractDialogFactory_Impl::CreateSvxMultiPathDialog( Window* pParent, sal_Bool bEmptyAllowed ) +AbstractSvxMultiPathDialog * AbstractDialogFactory_Impl::CreateSvxMultiPathDialog( Window* pParent, bool bEmptyAllowed ) { SvxMultiPathDialog* pDlg = new SvxMultiPathDialog( pParent, bEmptyAllowed ); return new AbstractSvxMultiPathDialog_Impl( pDlg ); } -AbstractSvxMultiFileDialog * AbstractDialogFactory_Impl::CreateSvxMultiFileDialog( Window* pParent, sal_Bool bEmptyAllowed ) +AbstractSvxMultiFileDialog * AbstractDialogFactory_Impl::CreateSvxMultiFileDialog( Window* pParent, bool bEmptyAllowed ) { SvxMultiFileDialog* pDlg = new SvxMultiFileDialog( pParent, bEmptyAllowed ); return new AbstractSvxMultiFileDialog_Impl( pDlg ); @@ -1529,7 +1529,7 @@ AbstractGraphicFilterDialog * AbstractDialogFactory_Impl::CreateGraphicFilterSmo } AbstractGraphicFilterDialog * AbstractDialogFactory_Impl::CreateGraphicFilterSolarize (Window* pParent, - const Graphic& rGraphic, sal_uInt8 nGreyThreshold, sal_Bool bInvert) + const Graphic& rGraphic, sal_uInt8 nGreyThreshold, bool bInvert) { GraphicFilterDialog* pDlg = new GraphicFilterSolarize( pParent, rGraphic, nGreyThreshold, bInvert ); return new AbstractGraphicFilterDialog_Impl( pDlg ); @@ -1537,7 +1537,7 @@ AbstractGraphicFilterDialog * AbstractDialogFactory_Impl::CreateGraphicFilterSol AbstractGraphicFilterDialog * AbstractDialogFactory_Impl::CreateGraphicFilterMosaic (Window* pParent, const Graphic& rGraphic, sal_uInt16 nTileWidth, sal_uInt16 nTileHeight, - sal_Bool bEnhanceEdges) + bool bEnhanceEdges) { GraphicFilterDialog* pDlg = new GraphicFilterMosaic(pParent, rGraphic, nTileWidth, nTileHeight, bEnhanceEdges); return new AbstractGraphicFilterDialog_Impl( pDlg ); @@ -1555,7 +1555,7 @@ AbstractSvxAreaTabDialog* AbstractDialogFactory_Impl::CreateSvxAreaTabDialog( Wi SfxAbstractTabDialog* AbstractDialogFactory_Impl::CreateSvxLineTabDialog( Window* pParent, const SfxItemSet* pAttr, //add forSvxLineTabDialog SdrModel* pModel, const SdrObject* pObj , - sal_Bool bHasObj) + bool bHasObj) { SfxTabDialog* pDlg = new SvxLineTabDialog( pParent, pAttr, pModel,pObj,bHasObj ); return new CuiAbstractTabDialog_Impl( pDlg ); @@ -1616,7 +1616,7 @@ SfxAbstractDialog* AbstractDialogFactory_Impl::CreateSfxDialog( Window* pParent, AbstractSvxPostItDialog* AbstractDialogFactory_Impl::CreateSvxPostItDialog( Window* pParent, const SfxItemSet& rCoreSet, - sal_Bool bPrevNext ) + bool bPrevNext ) { SvxPostItDialog* pDlg = new SvxPostItDialog( pParent, rCoreSet, bPrevNext ); return new AbstractSvxPostItDialog_Impl( pDlg ); diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx index 4f90936e35e1..ee41b25021f3 100644 --- a/cui/source/factory/dlgfact.hxx +++ b/cui/source/factory/dlgfact.hxx @@ -207,7 +207,7 @@ class AbstractSpellDialog_Impl : public AbstractSpellDialog public: DECL_ABSTDLG_BASE(AbstractSpellDialog_Impl, svx::SpellDialog) virtual void SetLanguage( sal_uInt16 nLang ); - virtual sal_Bool Close(); + virtual bool Close(); virtual void Invalidate(); virtual Window* GetWindow(); virtual SfxBindings& GetBindings(); @@ -279,12 +279,12 @@ class AbstractSvxHlinkDlgMarkWnd_Impl : public AbstractSvxHlinkDlgMarkWnd { DECL_ABSTDLG_BASE(AbstractSvxHlinkDlgMarkWnd_Impl,SvxHlinkDlgMarkWnd) virtual void Hide() SAL_OVERRIDE; - virtual sal_Bool IsVisible() const ; + virtual bool IsVisible() const ; virtual void Invalidate( sal_uInt16 nFlags = 0 ); virtual void SetSizePixel( const Size& rNewSize ); virtual Size GetSizePixel() const; - virtual sal_Bool MoveTo ( Point aNewPos )const; - virtual sal_Bool ConnectToDialog( sal_Bool bDoit = sal_True )const; + virtual bool MoveTo( Point aNewPos ) const; + virtual bool ConnectToDialog( bool bDoit = true )const; virtual void RefreshTree ( OUString aStrURL ) ; virtual void SelectEntry ( OUString aStrMark ); virtual sal_uInt16 SetError( sal_uInt16 nError) ; @@ -298,7 +298,7 @@ class AbstractSvxSearchSimilarityDialog_Impl :public AbstractSvxSearchSimilarity virtual sal_uInt16 GetOther(); virtual sal_uInt16 GetShorter(); virtual sal_uInt16 GetLonger(); - virtual sal_Bool IsRelaxed(); + virtual bool IsRelaxed(); }; class SvxJSearchOptionsDialog; @@ -424,7 +424,7 @@ class AbstractSvxHpLinkDlg_Impl :public AbstractSvxHpLinkDlg { DECL_ABSTDLG_BASE(AbstractSvxHpLinkDlg_Impl,SvxHpLinkDlg) virtual Window* GetWindow(); - virtual sal_Bool QueryClose(); + virtual bool QueryClose(); }; class FmSearchDialog; @@ -489,14 +489,14 @@ class AbstractSvxPostItDialog_Impl :public AbstractSvxPostItDialog virtual const SfxItemSet* GetOutputItemSet() const; virtual void SetPrevHdl( const Link& rLink ) ; virtual void SetNextHdl( const Link& rLink ) ; - virtual void EnableTravel(sal_Bool bNext, sal_Bool bPrev) ; + virtual void EnableTravel(bool bNext, bool bPrev) ; virtual OUString GetNote() ; virtual void SetNote(const OUString& rTxt) ; virtual void ShowLastAuthor(const OUString& rAuthor, const OUString& rDate) ; virtual void DontChangeAuthor() ; virtual void HideAuthor() ; - virtual void SetReadonlyPostIt(sal_Bool bDisable) ; - virtual sal_Bool IsOkEnabled() const ; + virtual void SetReadonlyPostIt(bool bDisable) ; + virtual bool IsOkEnabled() const; virtual Window * GetWindow(); private: Link aNextHdl; @@ -583,7 +583,7 @@ public: const SfxItemSet& rCoreSet); virtual SfxAbstractTabDialog* CreateSvxBorderBackgroundDlg( Window* pParent, const SfxItemSet& rCoreSet, - sal_Bool bEnableSelector = sal_False) ; + bool bEnableSelector = false) ; virtual AbstractSvxTransformTabDialog* CreateSvxTransformTabDialog( Window* pParent, const SfxItemSet* pAttr, const SdrView* pView, @@ -620,7 +620,7 @@ public: SearchAttrItemList& rLst, const sal_uInt16* pWhRanges); virtual AbstractSvxSearchSimilarityDialog * CreateSvxSearchSimilarityDialog( Window* pParent, - sal_Bool bRelax, + bool bRelax, sal_uInt16 nOther, sal_uInt16 nShorter, sal_uInt16 nLonger); @@ -643,8 +643,8 @@ public: virtual AbstractSvxMessDialog * CreateSvxMessDialog( Window* pParent, sal_uInt32 nResId, const OUString& rText, const OUString& rDesc, Image* pImg = NULL ); - virtual AbstractSvxMultiPathDialog * CreateSvxMultiPathDialog( Window* pParent, sal_Bool bEmptyAllowed = sal_False ); - virtual AbstractSvxMultiFileDialog * CreateSvxMultiFileDialog( Window* pParent, sal_Bool bEmptyAllowed = sal_False ); + virtual AbstractSvxMultiPathDialog * CreateSvxMultiPathDialog( Window* pParent, bool bEmptyAllowed = false ); + virtual AbstractSvxMultiFileDialog * CreateSvxMultiFileDialog( Window* pParent, bool bEmptyAllowed = false ); virtual AbstractSvxHpLinkDlg * CreateSvxHpLinkDlg (Window* pParent, SfxBindings* pBindings, sal_uInt32 nResId); @@ -663,10 +663,10 @@ public: const Graphic& rGraphic, double nRadius); virtual AbstractGraphicFilterDialog * CreateGraphicFilterSolarize (Window* pParent, const Graphic& rGraphic, sal_uInt8 nGreyThreshold, - sal_Bool bInvert); + bool bInvert); virtual AbstractGraphicFilterDialog * CreateGraphicFilterMosaic (Window* pParent, const Graphic& rGraphic, sal_uInt16 nTileWidth, sal_uInt16 nTileHeight, - sal_Bool bEnhanceEdges); + bool bEnhanceEdges); virtual AbstractSvxAreaTabDialog* CreateSvxAreaTabDialog( Window* pParent, const SfxItemSet* pAttr, SdrModel* pModel, @@ -674,10 +674,10 @@ public: virtual SfxAbstractTabDialog* CreateSvxLineTabDialog( Window* pParent, const SfxItemSet* pAttr, SdrModel* pModel, const SdrObject* pObj = NULL, - sal_Bool bHasObj = sal_True ); + bool bHasObj = true ); virtual AbstractSvxPostItDialog* CreateSvxPostItDialog( Window* pParent, const SfxItemSet& rCoreSet, - sal_Bool bPrevNext = sal_False ); + bool bPrevNext = false ); // For TabPage virtual CreateTabPage GetTabPageCreatorFunc( sal_uInt16 nId ); diff --git a/include/svx/svxdlg.hxx b/include/svx/svxdlg.hxx index a67f349e1839..8c5fce0d8807 100644 --- a/include/svx/svxdlg.hxx +++ b/include/svx/svxdlg.hxx @@ -84,7 +84,7 @@ class AbstractSpellDialog : public VclAbstractDialog { public: virtual void SetLanguage( sal_uInt16 nLang ) = 0; - virtual sal_Bool Close() = 0; + virtual bool Close() = 0; virtual void Invalidate() = 0; virtual Window* GetWindow() = 0; virtual SfxBindings& GetBindings() = 0; @@ -132,8 +132,8 @@ public: class AbstractSvxHlinkDlgMarkWnd :public VclAbstractDialog { public: - virtual sal_Bool MoveTo ( Point aNewPos )const = 0; - virtual sal_Bool ConnectToDialog( sal_Bool bDoit = sal_True )const = 0; + virtual bool MoveTo ( Point aNewPos )const = 0; + virtual bool ConnectToDialog( bool bDoit = true )const = 0; virtual void RefreshTree ( OUString aStrURL ) = 0; virtual void SelectEntry ( OUString aStrMark ) = 0; virtual sal_uInt16 SetError( sal_uInt16 nError) = 0; @@ -141,7 +141,7 @@ public: virtual void SetSizePixel( const Size& rNewSize ) = 0; virtual Size GetSizePixel() const = 0; virtual void Hide() = 0; - virtual sal_Bool IsVisible() const = 0; + virtual bool IsVisible() const = 0; virtual void Invalidate( sal_uInt16 nFlags = 0 ) = 0; }; @@ -159,7 +159,7 @@ public: virtual sal_uInt16 GetOther() =0 ; virtual sal_uInt16 GetShorter() =0 ; virtual sal_uInt16 GetLonger() =0 ; - virtual sal_Bool IsRelaxed() =0 ; + virtual bool IsRelaxed() =0 ; }; class AbstractSvxJSearchOptionsDialog :public VclAbstractDialog @@ -236,7 +236,7 @@ class AbstractSvxHpLinkDlg : public VclAbstractDialog { public: virtual Window* GetWindow() = 0; - virtual sal_Bool QueryClose() = 0; + virtual bool QueryClose() = 0; }; class AbstractFmSearchDialog :public VclAbstractDialog @@ -276,14 +276,14 @@ public: virtual const SfxItemSet* GetOutputItemSet() const = 0; virtual void SetPrevHdl( const Link& rLink ) = 0; virtual void SetNextHdl( const Link& rLink ) = 0; - virtual void EnableTravel(sal_Bool bNext, sal_Bool bPrev) = 0; + virtual void EnableTravel(bool bNext, bool bPrev) = 0; virtual OUString GetNote() = 0; virtual void SetNote(const OUString& rTxt) = 0; virtual void ShowLastAuthor(const OUString& rAuthor, const OUString& rDate) = 0; virtual void DontChangeAuthor() = 0; virtual void HideAuthor() = 0; - virtual void SetReadonlyPostIt(sal_Bool bDisable) = 0; - virtual sal_Bool IsOkEnabled() const = 0; + virtual void SetReadonlyPostIt(bool bDisable) = 0; + virtual bool IsOkEnabled() const = 0; virtual Window * GetWindow() = 0; }; @@ -364,13 +364,13 @@ public: SearchAttrItemList& rLst, const sal_uInt16* pWhRanges)=0; virtual AbstractSvxSearchSimilarityDialog * CreateSvxSearchSimilarityDialog( Window* pParent, - sal_Bool bRelax, + bool bRelax, sal_uInt16 nOther, sal_uInt16 nShorter, sal_uInt16 nLonger ) = 0; virtual SfxAbstractTabDialog* CreateSvxBorderBackgroundDlg( Window* pParent, const SfxItemSet& rCoreSet, - sal_Bool bEnableSelector = sal_False) = 0; + bool bEnableSelector = false) = 0; virtual AbstractSvxTransformTabDialog* CreateSvxTransformTabDialog( Window* pParent, const SfxItemSet* pAttr, const SdrView* pView, @@ -402,8 +402,8 @@ public: const OUString& rText, const OUString& rDesc, Image* pImg = NULL ) = 0; - virtual AbstractSvxMultiPathDialog * CreateSvxMultiPathDialog( Window* pParent, sal_Bool bEmptyAllowed = sal_False ) = 0 ; - virtual AbstractSvxMultiFileDialog * CreateSvxMultiFileDialog( Window* pParent, sal_Bool bEmptyAllowed = sal_False ) = 0 ; + virtual AbstractSvxMultiPathDialog * CreateSvxMultiPathDialog( Window* pParent, bool bEmptyAllowed = false ) = 0 ; + virtual AbstractSvxMultiFileDialog * CreateSvxMultiFileDialog( Window* pParent, bool bEmptyAllowed = false ) = 0 ; virtual AbstractSvxHpLinkDlg * CreateSvxHpLinkDlg (Window* pParent, SfxBindings* pBindings, sal_uInt32 nResId)=0; @@ -426,10 +426,10 @@ public: double nRadius)=0; virtual AbstractGraphicFilterDialog * CreateGraphicFilterSolarize (Window* pParent, const Graphic& rGraphic, - sal_uInt8 nGreyThreshold, sal_Bool bInvert)=0; + sal_uInt8 nGreyThreshold, bool bInvert)=0; virtual AbstractGraphicFilterDialog * CreateGraphicFilterMosaic (Window* pParent, const Graphic& rGraphic, - sal_uInt16 nTileWidth, sal_uInt16 nTileHeight, sal_Bool bEnhanceEdges)=0; + sal_uInt16 nTileWidth, sal_uInt16 nTileHeight, bool bEnhanceEdges)=0; virtual AbstractSvxAreaTabDialog* CreateSvxAreaTabDialog( Window* pParent, const SfxItemSet* pAttr, SdrModel* pModel, @@ -437,7 +437,7 @@ public: virtual SfxAbstractTabDialog* CreateSvxLineTabDialog( Window* pParent, const SfxItemSet* pAttr, //add forSvxLineTabDialog SdrModel* pModel, const SdrObject* pObj = NULL, - sal_Bool bHasObj = sal_True )=0; + bool bHasObj = true )=0; virtual VclAbstractDialog* CreateSfxDialog( Window* pParent, const SfxBindings& rBindings, sal_uInt32 nResId ) = 0; virtual SfxAbstractDialog* CreateSfxDialog( Window* pParent, const SfxItemSet& rAttr, @@ -451,7 +451,7 @@ public: )=0; virtual AbstractSvxPostItDialog* CreateSvxPostItDialog( Window* pParent, const SfxItemSet& rCoreSet, - sal_Bool bPrevNext = sal_False) = 0; + bool bPrevNext = false) = 0; virtual VclAbstractDialog* CreateSvxScriptOrgDialog( Window* pParent, const OUString& rLanguage ) = 0; virtual CreateSvxDistributePage GetSvxDistributePageCreatorFunc() = 0; diff --git a/svx/source/dialog/grfflt.cxx b/svx/source/dialog/grfflt.cxx index 07a7c4a1c7ca..84a421b7345b 100644 --- a/svx/source/dialog/grfflt.cxx +++ b/svx/source/dialog/grfflt.cxx @@ -166,7 +166,7 @@ sal_uIntPtr SvxGraphicFilter::ExecuteGrfFilterSlot( SfxRequest& rReq, GraphicObj SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); if(pFact) { - AbstractGraphicFilterDialog* aDlg = pFact->CreateGraphicFilterMosaic(pWindow, rGraphic, 4, 4, sal_False); + AbstractGraphicFilterDialog* aDlg = pFact->CreateGraphicFilterMosaic(pWindow, rGraphic, 4, 4, false); DBG_ASSERT(aDlg, "Dialogdiet fail!"); if( aDlg->Execute() == RET_OK ) aGraphic = aDlg->GetFilteredGraphic( rGraphic, 1.0, 1.0 ); @@ -247,7 +247,7 @@ sal_uIntPtr SvxGraphicFilter::ExecuteGrfFilterSlot( SfxRequest& rReq, GraphicObj SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); if(pFact) { - AbstractGraphicFilterDialog* aDlg = pFact->CreateGraphicFilterSolarize(pWindow, rGraphic, 128, sal_False); + AbstractGraphicFilterDialog* aDlg = pFact->CreateGraphicFilterSolarize(pWindow, rGraphic, 128, false); DBG_ASSERT(aDlg, "Dialogdiet fail!"); if( aDlg->Execute() == RET_OK ) aGraphic = aDlg->GetFilteredGraphic( rGraphic, 1.0, 1.0 ); diff --git a/sw/source/core/uibase/misc/redlndlg.cxx b/sw/source/core/uibase/misc/redlndlg.cxx index a46e9dce2e95..ef31f5321e9b 100644 --- a/sw/source/core/uibase/misc/redlndlg.cxx +++ b/sw/source/core/uibase/misc/redlndlg.cxx @@ -1077,7 +1077,7 @@ IMPL_LINK_NOARG(SwRedlineAcceptDlg, CommandHdl) rRedline.GetRedlineData().GetTimeStamp() ), SID_ATTR_POSTIT_DATE )); - AbstractSvxPostItDialog* pDlg = pFact->CreateSvxPostItDialog( pParentDlg, aSet, sal_False ); + AbstractSvxPostItDialog* pDlg = pFact->CreateSvxPostItDialog( pParentDlg, aSet, false ); OSL_ENSURE(pDlg, "Dialogdiet fail!"); pDlg->HideAuthor(); diff --git a/sw/source/core/uibase/shells/textfld.cxx b/sw/source/core/uibase/shells/textfld.cxx index 5b336ff25aee..8a8c88085b60 100644 --- a/sw/source/core/uibase/shells/textfld.cxx +++ b/sw/source/core/uibase/shells/textfld.cxx @@ -851,7 +851,7 @@ IMPL_LINK( SwTextShell, RedlineNextHdl, AbstractSvxPostItDialog *, pBtn ) pSh->EndAction(); } - pDlg->EnableTravel(bEnable, sal_True); + pDlg->EnableTravel(bEnable, true); if( pSh->IsCrsrPtAtEnd() ) pSh->SwapPam(); @@ -901,7 +901,7 @@ IMPL_LINK( SwTextShell, RedlinePrevHdl, AbstractSvxPostItDialog *, pBtn ) pSh->EndAction(); } - pDlg->EnableTravel(sal_True, bEnable); + pDlg->EnableTravel(true, bEnable); pRedline = pSh->GetCurrRedline(); OUString sComment = convertLineEnd(pRedline->GetComment(), GetSystemLineEnd()); |