summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-02-02 11:26:11 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-02-02 12:37:11 +0000
commit52c2111e4f466edf77e3eee17fc9c283f3b69100 (patch)
tree2cceb8d9131054a0e7791ce4124e50819c11ccd8 /sd
parentc32aa53a7df7af4ef23b8d235483eabb51463183 (diff)
callcatcher: remove some unused methods
Change-Id: Id3ca991e9ede13512a39865496429aabb7e71088
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/accessibility/AccessibleOutlineView.cxx6
-rw-r--r--sd/source/ui/inc/AccessibleOutlineView.hxx3
-rw-r--r--sd/source/ui/inc/SlideSorter.hxx1
-rw-r--r--sd/source/ui/inc/SlideSorterViewShell.hxx2
-rw-r--r--sd/source/ui/sidebar/MasterPagesSelector.cxx7
-rw-r--r--sd/source/ui/sidebar/MasterPagesSelector.hxx1
-rw-r--r--sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx1
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorter.cxx15
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx7
9 files changed, 0 insertions, 43 deletions
diff --git a/sd/source/ui/accessibility/AccessibleOutlineView.cxx b/sd/source/ui/accessibility/AccessibleOutlineView.cxx
index 1dca0337b0b9..398abdd7d816 100644
--- a/sd/source/ui/accessibility/AccessibleOutlineView.cxx
+++ b/sd/source/ui/accessibility/AccessibleOutlineView.cxx
@@ -200,12 +200,6 @@ void SAL_CALL
//===== protected internal ==================================================
-void AccessibleOutlineView::FireEvent(const AccessibleEventObject& aEvent )
-{
- // delegate listener handling to children manager.
- maTextHelper.FireEvent(aEvent);
-}
-
void AccessibleOutlineView::Activated (void)
{
SolarMutexGuard aGuard;
diff --git a/sd/source/ui/inc/AccessibleOutlineView.hxx b/sd/source/ui/inc/AccessibleOutlineView.hxx
index 196b4b87a6cc..a11734f42fb0 100644
--- a/sd/source/ui/inc/AccessibleOutlineView.hxx
+++ b/sd/source/ui/inc/AccessibleOutlineView.hxx
@@ -108,9 +108,6 @@ public:
protected:
- // overridden, as we hold the listeners ourselves
- void FireEvent (const ::com::sun::star::accessibility::AccessibleEventObject& aEvent);
-
// overridden to detect focus changes
virtual void Activated (void) SAL_OVERRIDE;
diff --git a/sd/source/ui/inc/SlideSorter.hxx b/sd/source/ui/inc/SlideSorter.hxx
index a9167b148763..ff2d6624f7b7 100644
--- a/sd/source/ui/inc/SlideSorter.hxx
+++ b/sd/source/ui/inc/SlideSorter.hxx
@@ -168,7 +168,6 @@ public:
void ArrangeGUIElements (
const Point& rOffset,
const Size& rSize);
- SvBorder GetBorder (void);
bool RelocateToWindow (::vcl::Window* pWindow);
diff --git a/sd/source/ui/inc/SlideSorterViewShell.hxx b/sd/source/ui/inc/SlideSorterViewShell.hxx
index efeca382d336..659727588b1e 100644
--- a/sd/source/ui/inc/SlideSorterViewShell.hxx
+++ b/sd/source/ui/inc/SlideSorterViewShell.hxx
@@ -120,8 +120,6 @@ public:
void StartDrag (
const Point& rDragPt,
::vcl::Window* pWindow );
- void DragFinished (
- sal_Int8 nDropAction);
virtual sal_Int8 AcceptDrop (
const AcceptDropEvent& rEvt,
DropTargetHelper& rTargetHelper,
diff --git a/sd/source/ui/sidebar/MasterPagesSelector.cxx b/sd/source/ui/sidebar/MasterPagesSelector.cxx
index e5a3d39d97f7..ec7852cde50e 100644
--- a/sd/source/ui/sidebar/MasterPagesSelector.cxx
+++ b/sd/source/ui/sidebar/MasterPagesSelector.cxx
@@ -115,13 +115,6 @@ void MasterPagesSelector::LateInit (void)
{
}
-sal_Int32 MasterPagesSelector::GetPreferredWidth (sal_Int32 nHeight)
-{
- const ::osl::MutexGuard aGuard (maMutex);
-
- return PreviewValueSet::GetPreferredWidth (nHeight);
-}
-
sal_Int32 MasterPagesSelector::GetPreferredHeight (sal_Int32 nWidth)
{
const ::osl::MutexGuard aGuard (maMutex);
diff --git a/sd/source/ui/sidebar/MasterPagesSelector.hxx b/sd/source/ui/sidebar/MasterPagesSelector.hxx
index 4e088d5eef25..46e6f72c95d1 100644
--- a/sd/source/ui/sidebar/MasterPagesSelector.hxx
+++ b/sd/source/ui/sidebar/MasterPagesSelector.hxx
@@ -79,7 +79,6 @@ public:
SdPage* pMasterPage,
sal_uInt16 nInsertionIndex);
- sal_Int32 GetPreferredWidth (sal_Int32 nHeight);
sal_Int32 GetPreferredHeight (sal_Int32 nWidth);
/** Update the selection of previews according to whatever
diff --git a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx
index cc2c96894b99..071f2819af94 100644
--- a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx
@@ -372,7 +372,6 @@ bool SelectionFunction::MouseButtonUp (const MouseEvent& rEvent)
ProcessMouseEvent(BUTTON_UP, rEvent);
mbProcessingMouseButtonDown = false;
-// mpWindow->ReleaseMouse();
return true;
}
diff --git a/sd/source/ui/slidesorter/shell/SlideSorter.cxx b/sd/source/ui/slidesorter/shell/SlideSorter.cxx
index 04a1de11f9fa..37b9c1008651 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorter.cxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorter.cxx
@@ -385,21 +385,6 @@ void SlideSorter::ArrangeGUIElements (
}
}
-SvBorder SlideSorter::GetBorder (void)
-{
- SvBorder aBorder;
-
- ::boost::shared_ptr<ScrollBar> pScrollBar = GetVerticalScrollBar();
- if (pScrollBar.get() != NULL && pScrollBar->IsVisible())
- aBorder.Right() = pScrollBar->GetOutputSizePixel().Width();
-
- pScrollBar = GetHorizontalScrollBar();
- if (pScrollBar.get() != NULL && pScrollBar->IsVisible())
- aBorder.Bottom() = pScrollBar->GetOutputSizePixel().Height();
-
- return aBorder;
-}
-
bool SlideSorter::RelocateToWindow (::vcl::Window* pParentWindow)
{
// Stop all animations for they have been started for the old window.
diff --git a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx
index 3a6e58428645..f16260c809b3 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx
@@ -648,13 +648,6 @@ void SlideSorterViewShell::StartDrag (
pWindow);
}
-void SlideSorterViewShell::DragFinished (
- sal_Int8 nDropAction)
-{
- OSL_ASSERT(mpSlideSorter.get()!=NULL);
- mpSlideSorter->GetController().GetClipboard().DragFinished (nDropAction);
-}
-
sal_Int8 SlideSorterViewShell::AcceptDrop (
const AcceptDropEvent& rEvt,
DropTargetHelper& rTargetHelper,