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/viewfrm.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/viewfrm.hxx')
-rw-r--r-- | include/sfx2/viewfrm.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/viewfrm.hxx b/include/sfx2/viewfrm.hxx index 333e055c6996..3c66418fa6fb 100644 --- a/include/sfx2/viewfrm.hxx +++ b/include/sfx2/viewfrm.hxx @@ -146,8 +146,8 @@ public: SfxViewFrame* GetTopViewFrame() const; bool DoClose(); - sal_uIntPtr GetFrameType() const - { return GetFrame().GetFrameType(); } + bool GetHasTitle() const + { return GetFrame().GetHasTitle(); } static void GetTargetList( TargetList& rList ) { SfxFrame::GetDefaultTargetList( rList ); } |