summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-09 09:13:49 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-09 09:23:10 +0100
commit20de64b70e885b221317cf2a021829bc575d269c (patch)
tree82161740041406e05024c1b385fea6cdbabf9093 /sfx2
parente54fd4b67db9dde9a36fe2ffd5fb4fde3d490c3b (diff)
callcatcher: various unused code
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/inc/sfx2/viewsh.hxx2
-rw-r--r--sfx2/source/view/viewsh.cxx12
2 files changed, 0 insertions, 14 deletions
diff --git a/sfx2/inc/sfx2/viewsh.hxx b/sfx2/inc/sfx2/viewsh.hxx
index 8fccd8c2fe2c..07cbdec0e16a 100644
--- a/sfx2/inc/sfx2/viewsh.hxx
+++ b/sfx2/inc/sfx2/viewsh.hxx
@@ -210,7 +210,6 @@ public:
// Behavior Flags
SfxScrollingMode GetScrollingMode() const;
- void SetScrollingMode( SfxScrollingMode eMode );
// Misc
virtual sal_uInt16 PrepareClose( sal_Bool bUI = sal_True, sal_Bool bForBrowsing = sal_False );
@@ -284,7 +283,6 @@ public:
sal_Bool TryContextMenuInterception( Menu& rIn, const ::rtl::OUString& rMenuIdentifier, Menu*& rpOut, ::com::sun::star::ui::ContextMenuExecuteEvent aEvent );
- void SetAdditionalPrintOptions( const com::sun::star::uno::Sequence < com::sun::star::beans::PropertyValue >& );
void ExecPrint( const com::sun::star::uno::Sequence < com::sun::star::beans::PropertyValue >&, sal_Bool, sal_Bool );
void AddRemoveClipboardListener( const com::sun::star::uno::Reference < com::sun::star::datatransfer::clipboard::XClipboardListener>&, sal_Bool );
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx
index ff96e69ae6a6..6db33995432d 100644
--- a/sfx2/source/view/viewsh.cxx
+++ b/sfx2/source/view/viewsh.cxx
@@ -1886,13 +1886,6 @@ SfxScrollingMode SfxViewShell::GetScrollingMode() const
//--------------------------------------------------------------------
-void SfxViewShell::SetScrollingMode( SfxScrollingMode eMode )
-{
- pImp->m_eScroll = eMode;
-}
-
-//--------------------------------------------------------------------
-
SfxObjectShell* SfxViewShell::GetObjectShell()
{
return pFrame ? pFrame->GetObjectShell() : NULL;
@@ -2149,11 +2142,6 @@ sal_Bool SfxViewShell::HasMouseClickListeners_Impl()
? pImp->m_pController->HasMouseClickListeners_Impl() : sal_False;
}
-void SfxViewShell::SetAdditionalPrintOptions( const com::sun::star::uno::Sequence < com::sun::star::beans::PropertyValue >& rOpts )
-{
- pImp->aPrintOpts = rOpts;
-}
-
sal_Bool SfxViewShell::Escape()
{
return GetViewFrame()->GetBindings().Execute( SID_TERMINATE_INPLACEACTIVATION );