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