diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-04-05 21:08:26 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-04-05 21:11:21 +0400 |
commit | c5154a179f435cc23798057895b0db8312bcd6f6 (patch) | |
tree | 8fcb9cc2badc1765882011e323358f01eb30835b /sfx2 | |
parent | dc2fe18e95731dcb7c9e2027f45fdaf265490592 (diff) |
SfxViewShell::GetScrollingMode always returns SCROLLING_DEFAULT
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/inc/sfx2/viewsh.hxx | 11 | ||||
-rw-r--r-- | sfx2/source/view/viewimp.hxx | 3 | ||||
-rw-r--r-- | sfx2/source/view/viewsh.cxx | 8 |
3 files changed, 0 insertions, 22 deletions
diff --git a/sfx2/inc/sfx2/viewsh.hxx b/sfx2/inc/sfx2/viewsh.hxx index 869de361f479..d2da4cbe7312 100644 --- a/sfx2/inc/sfx2/viewsh.hxx +++ b/sfx2/inc/sfx2/viewsh.hxx @@ -83,14 +83,6 @@ class NotifyEvent; #define SFX_PRINTERROR_NONE 0 #define SFX_PRINTERROR_BUSY 1 -enum SfxScrollingMode -{ - SCROLLING_NO, - SCROLLING_YES, - SCROLLING_AUTO, - SCROLLING_DEFAULT -}; - // "Verified" using www.apple.com and Netscape 3.01 #define DEFAULT_MARGIN_WIDTH 8 #define DEFAULT_MARGIN_HEIGHT 12 @@ -207,9 +199,6 @@ public: virtual void JumpToMark( const String& rMark ); void VisAreaChanged(const Rectangle& rRect); - // Behavior Flags - SfxScrollingMode GetScrollingMode() const; - // Misc virtual sal_uInt16 PrepareClose( sal_Bool bUI = sal_True, sal_Bool bForBrowsing = sal_False ); virtual String GetSelectionText( sal_Bool bCompleteWords = sal_False ); diff --git a/sfx2/source/view/viewimp.hxx b/sfx2/source/view/viewimp.hxx index 3d77c18bc55a..31dfdc75ddb8 100644 --- a/sfx2/source/view/viewimp.hxx +++ b/sfx2/source/view/viewimp.hxx @@ -63,11 +63,8 @@ struct SfxViewShell_Impl bool m_bHasPrintOptions; bool m_bPlugInsActive; bool m_bIsShowView; - // FIXME UNUSED ??? - //bool m_bOwnsMenu; bool m_bGotOwnership; bool m_bGotFrameOwnership; - SfxScrollingMode m_eScroll; sal_uInt16 m_nFamily; ::rtl::Reference<SfxBaseController> m_pController; ::std::auto_ptr< ::svt::AcceleratorExecute > m_pAccExec; diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx index 3c6a2de10c42..dc7cdf636cca 100644 --- a/sfx2/source/view/viewsh.cxx +++ b/sfx2/source/view/viewsh.cxx @@ -301,7 +301,6 @@ SfxViewShell_Impl::SfxViewShell_Impl(sal_uInt16 const nFlags) , m_bIsShowView(SFX_VIEW_NO_SHOW != (nFlags & SFX_VIEW_NO_SHOW)) , m_bGotOwnership(false) , m_bGotFrameOwnership(false) -, m_eScroll(SCROLLING_DEFAULT) , m_nFamily(0xFFFF) // undefined, default set by TemplateDialog , m_pController(0) , m_pAccExec(0) @@ -1842,13 +1841,6 @@ void SfxViewShell::DiscardClients_Impl() //-------------------------------------------------------------------- -SfxScrollingMode SfxViewShell::GetScrollingMode() const -{ - return pImp->m_eScroll; -} - -//-------------------------------------------------------------------- - SfxObjectShell* SfxViewShell::GetObjectShell() { return pFrame ? pFrame->GetObjectShell() : NULL; |