[Libreoffice-commits] .: sd/source unusedcode.easy
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Oct 5 23:25:50 PDT 2012
sd/source/ui/slidesorter/controller/SlsProperties.cxx | 8 ---
sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx | 1
sd/source/ui/slidesorter/inc/view/SlsToolTip.hxx | 8 ---
sd/source/ui/slidesorter/view/SlsToolTip.cxx | 31 --------------
unusedcode.easy | 3 -
5 files changed, 51 deletions(-)
New commits:
commit c978bd34864a24e58685d5539f3506b9a5f8e8cb
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Oct 6 08:23:27 2012 +0200
Remove newly unused methods
Change-Id: I050660d095540902b442a86904d70ed544bccf13
diff --git a/sd/source/ui/slidesorter/controller/SlsProperties.cxx b/sd/source/ui/slidesorter/controller/SlsProperties.cxx
index 1f7cd71..ccf83b2 100644
--- a/sd/source/ui/slidesorter/controller/SlsProperties.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsProperties.cxx
@@ -254,14 +254,6 @@ bool Properties::IsOnlyPreviewTriggersMouseOver (void) const
}
-
-
-bool Properties::IsHighContrastModeActive (void) const
-{
- return mbIsHighContrastModeActive;
-}
-
-
} } } // end of namespace ::sd::slidesorter::controller
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx b/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx
index 990d66a..c775e6f 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx
@@ -120,7 +120,6 @@ public:
*/
bool IsOnlyPreviewTriggersMouseOver (void) const;
- bool IsHighContrastModeActive (void) const;
private:
bool mbIsHighlightCurrentSlide;
diff --git a/sd/source/ui/slidesorter/inc/view/SlsToolTip.hxx b/sd/source/ui/slidesorter/inc/view/SlsToolTip.hxx
index a296568..6df9a88 100644
--- a/sd/source/ui/slidesorter/inc/view/SlsToolTip.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsToolTip.hxx
@@ -54,14 +54,6 @@ public:
*/
void SetPage (const model::SharedPageDescriptor& rpPage);
- /** Show a previously set default help text.
- */
- void ShowDefaultHelpText (void);
-
- /** Show a temporary help text.
- */
- void ShowHelpText (const ::rtl::OUString& rsHelpText);
-
/** Hide the tool tip.
@return
Returns whether the tool tip was visible at the time this method
diff --git a/sd/source/ui/slidesorter/view/SlsToolTip.cxx b/sd/source/ui/slidesorter/view/SlsToolTip.cxx
index 217d929..43dfb72 100644
--- a/sd/source/ui/slidesorter/view/SlsToolTip.cxx
+++ b/sd/source/ui/slidesorter/view/SlsToolTip.cxx
@@ -102,37 +102,6 @@ void ToolTip::SetPage (const model::SharedPageDescriptor& rpDescriptor)
-
-void ToolTip::ShowDefaultHelpText (void)
-{
- if (msCurrentHelpText != msDefaultHelpText)
- {
- const bool bIsVisible (Hide());
-
- msCurrentHelpText = msDefaultHelpText;
-
- Show(bIsVisible);
- }
-}
-
-
-
-
-void ToolTip::ShowHelpText (const ::rtl::OUString& rsHelpText)
-{
- if (msCurrentHelpText != rsHelpText)
- {
- const bool bIsVisible (Hide());
-
- msCurrentHelpText = rsHelpText;
-
- Show(bIsVisible);
- }
-}
-
-
-
-
void ToolTip::Show (const bool bNoDelay)
{
if (bNoDelay)
diff --git a/unusedcode.easy b/unusedcode.easy
index 94904ce..f31e7ef 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -99,8 +99,5 @@ sd::framework::ResourceManager::Disable()
sd::framework::ResourceManager::Enable()
sd::slidesorter::controller::AnimationFunction::Blend(double, double, double)
sd::slidesorter::controller::AnimationFunction::Linear(double)
-sd::slidesorter::controller::Properties::IsHighContrastModeActive() const
-sd::slidesorter::view::ToolTip::ShowDefaultHelpText()
-sd::slidesorter::view::ToolTip::ShowHelpText(rtl::OUString const&)
std::__cxx1998::vector<SfxFilter*, std::allocator<SfxFilter*> >::~vector()
std::__cxx1998::vector<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::~vector()
More information about the Libreoffice-commits
mailing list