summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/frame.hxx6
-rw-r--r--include/sfx2/viewfrm.hxx4
2 files changed, 4 insertions, 6 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* );
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 ); }