[PATCH] Remove some unused functions
Marcos Souza (via Code Review)
gerrit at gerrit.libreoffice.org
Sun Dec 30 12:49:10 PST 2012
Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/1517
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/17/1517/1
Remove some unused functions
Change-Id: I618de5d34d891b1b183cca12b71aff4128b2f92e
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org at gmail.com>
---
M sc/source/ui/cctrl/checklistmenu.cxx
M slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.cxx
M slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.hxx
M unusedcode.easy
4 files changed, 0 insertions(+), 16 deletions(-)
diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx
index b125c01..98f37d0 100644
--- a/sc/source/ui/cctrl/checklistmenu.cxx
+++ b/sc/source/ui/cctrl/checklistmenu.cxx
@@ -599,11 +599,6 @@
}
}
-ScDocument* ScMenuFloatingWindow::getDoc()
-{
- return mpDoc;
-}
-
void ScMenuFloatingWindow::resizeToFitMenuItems()
{
SetOutputSizePixel(getMenuSize());
diff --git a/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.cxx b/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.cxx
index 1142f61..1df7802 100644
--- a/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.cxx
+++ b/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.cxx
@@ -67,14 +67,6 @@
swap(maSceneObjects, rOther.maSceneObjects);
}
-void TransitionScene::clear()
-{
- maLeavingSlidePrimitives.clear();
- maEnteringSlidePrimitives.clear();
- maOverallOperations.clear();
- maSceneObjects.clear();
-}
-
OGLTransitionImpl::~OGLTransitionImpl()
{
}
diff --git a/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.hxx b/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.hxx
index 3760683..9b27b47 100644
--- a/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.hxx
+++ b/slideshow/source/engine/OGLTrans/unx/OGLTrans_TransitionImpl.hxx
@@ -95,7 +95,6 @@
TransitionScene& operator=(const TransitionScene& rOther);
void swap(TransitionScene& rOther);
- void clear();
const Primitives_t& getLeavingSlide() const
{
diff --git a/unusedcode.easy b/unusedcode.easy
index c6bdb68..8c8c30f 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -5,11 +5,9 @@
SanExtensionImpl::setCertExtn(unsigned char*, unsigned int, unsigned char*, unsigned int, unsigned char)
ScFiltersTest::testColorScaleODS()
ScFiltersTest::testColorScaleXLSX()
-ScMenuFloatingWindow::getDoc()
ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
TextEngine::GetLeftMargin() const
-TransitionScene::clear()
UnoControl::UnoControl()
VirtualDevice::SetOutputSizePixelScaleOffsetAndBuffer(Size const&, Fraction const&, Point const&, boost::shared_array<unsigned char> const&)
Window::PostUserEvent(unsigned long&, unsigned long, void*)
--
To view, visit https://gerrit.libreoffice.org/1517
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I618de5d34d891b1b183cca12b71aff4128b2f92e
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Marcos Souza <marcos.souza.org at gmail.com>
More information about the LibreOffice
mailing list