diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-11 11:16:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-11 12:55:37 +0100 |
commit | 7c98099c2577084cc807a4928756e3e7e8600061 (patch) | |
tree | 4594e7cd95b9fbee4b7f00e2bcb85d2993e9f0af /include/sfx2/frame.hxx | |
parent | 3af500580b1c82eabd60335c9ebc458a3f68850c (diff) |
convert SFXFRAME_HASTITLE to bool field
this is the only flag we are setting in the "type" field, so simplify
Change-Id: I6079750b915f55486bf815a27d48f673af59bdb0
Reviewed-on: https://gerrit.libreoffice.org/46214
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2/frame.hxx')
-rw-r--r-- | include/sfx2/frame.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/sfx2/frame.hxx b/include/sfx2/frame.hxx index 94c46d6ad05d..0c6169999483 100644 --- a/include/sfx2/frame.hxx +++ b/include/sfx2/frame.hxx @@ -76,8 +76,6 @@ class SystemWindow; typedef ::std::vector<OUString> TargetList; -#define SFXFRAME_HASTITLE 0x0001 - // SfxFrame is a management class for windows and their content. // A SfxApplication represent a hierarchy of SfxFrames, with which the actual @@ -124,7 +122,7 @@ public: SfxObjectShell* GetCurrentDocument() const; SfxViewFrame* GetCurrentViewFrame() const; - sal_uInt32 GetFrameType() const; + bool GetHasTitle() const; static void GetDefaultTargetList( TargetList& ); void UpdateDescriptor( SfxObjectShell const *pDoc ); void Resize(); @@ -141,7 +139,7 @@ public: SAL_DLLPRIVATE void SetFrameInterface_Impl( const css::uno::Reference< css::frame::XFrame >& rFrame ); SAL_DLLPRIVATE void ReleasingComponent_Impl(); SAL_DLLPRIVATE void GetViewData_Impl(); - SAL_DLLPRIVATE void SetFrameType_Impl( sal_uInt32 ); + SAL_DLLPRIVATE void SetHasTitle( bool ); SAL_DLLPRIVATE bool PrepareClose_Impl( bool bUI ); SAL_DLLPRIVATE bool DocIsModified_Impl(); SAL_DLLPRIVATE void SetCurrentViewFrame_Impl( SfxViewFrame* ); |