summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-02 16:03:45 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-02 16:04:27 +0000
commitda0bd7a50139b06e14c1917af044b37d10ebaf4f (patch)
tree277ad290506c6b70e8211237b52c734a3125ff45
parent0cbcb89fde8cc81db499bc1e388fd53ef6fa3c3f (diff)
drop freshly unused methods
-rw-r--r--unotools/inc/unotools/lingucfg.hxx1
-rw-r--r--unotools/source/config/lingucfg.cxx15
-rw-r--r--vcl/inc/vcl/button.hxx1
-rw-r--r--vcl/source/control/button.cxx6
4 files changed, 0 insertions, 23 deletions
diff --git a/unotools/inc/unotools/lingucfg.hxx b/unotools/inc/unotools/lingucfg.hxx
index 4ae102007dde..668cb267107b 100644
--- a/unotools/inc/unotools/lingucfg.hxx
+++ b/unotools/inc/unotools/lingucfg.hxx
@@ -225,7 +225,6 @@ public:
std::vector< SvtLinguConfigDictionaryEntry > GetActiveDictionariesByFormat( const rtl::OUString &rFormatName );
// functions returning file URLs to the respective images (if found) and empty string otherwise
- ::rtl::OUString GetSpellAndGrammarDialogImage( const ::rtl::OUString &rServiceImplName ) const;
::rtl::OUString GetSpellAndGrammarContextSuggestionImage( const ::rtl::OUString &rServiceImplName ) const;
::rtl::OUString GetSpellAndGrammarContextDictionaryImage( const ::rtl::OUString &rServiceImplName ) const;
::rtl::OUString GetThesaurusDialogImage( const ::rtl::OUString &rServiceImplName ) const;
diff --git a/unotools/source/config/lingucfg.cxx b/unotools/source/config/lingucfg.cxx
index cc08afdc934f..fcf9f7653c30 100644
--- a/unotools/source/config/lingucfg.cxx
+++ b/unotools/source/config/lingucfg.cxx
@@ -1253,21 +1253,6 @@ rtl::OUString SvtLinguConfig::GetVendorImageUrl_Impl(
}
-rtl::OUString SvtLinguConfig::GetSpellAndGrammarDialogImage(
- const rtl::OUString &rServiceImplName
-) const
-{
- rtl::OUString aRes;
- if (rServiceImplName.getLength() > 0)
- {
- rtl::OUString aImageName( A2OU( "SpellAndGrammarDialogImage" ));
- rtl::OUString aPath( GetVendorImageUrl_Impl( rServiceImplName, aImageName ) );
- aRes = aPath;
- }
- return aRes;
-}
-
-
rtl::OUString SvtLinguConfig::GetSpellAndGrammarContextSuggestionImage(
const rtl::OUString &rServiceImplName
) const
diff --git a/vcl/inc/vcl/button.hxx b/vcl/inc/vcl/button.hxx
index 32227345fb89..b2b812c03f53 100644
--- a/vcl/inc/vcl/button.hxx
+++ b/vcl/inc/vcl/button.hxx
@@ -94,7 +94,6 @@ public:
void EnableTextDisplay( sal_Bool bEnable );
void SetFocusRect( const Rectangle& rFocusRect );
- void SetSmallSymbol (bool bSmall=true);
bool IsSmallSymbol () const;
};
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 52eb43ee56ad..c5e1a46a933e 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -620,12 +620,6 @@ void Button::EnableTextDisplay( sal_Bool bEnable )
mpButtonData->mnButtonState |= BUTTON_DRAW_NOTEXT;
}
-// -----------------------------------------------------------------------
-void Button::SetSmallSymbol (bool small)
-{
- ImplSetSmallSymbol (small);
-}
-
bool Button::IsSmallSymbol () const
{
return mpButtonData->mbSmallSymbol;