summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-10 09:22:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-10 11:36:23 +0000
commit6f57b77c358571cb880df696fbd3db4c5038212a (patch)
tree77723f42caf78e1eeea5f1fa658023be4f9032ac
parentb6588bd7c831ce88a29131ca7ea8d3f3e082564e (diff)
callcatcher: update unused code
Change-Id: I0d7f204473bd5fcddf2342850a16194fdb385c13
-rw-r--r--include/vcl/combobox.hxx1
-rw-r--r--include/vcl/lstbox.hxx1
-rw-r--r--svtools/source/config/accessibilityoptions.cxx85
-rw-r--r--unusedcode.easy7
-rw-r--r--vcl/source/control/combobox.cxx5
-rw-r--r--vcl/source/control/lstbox.cxx6
6 files changed, 1 insertions, 104 deletions
diff --git a/include/vcl/combobox.hxx b/include/vcl/combobox.hxx
index b9bde8c2b1bb..2fa396cfaf57 100644
--- a/include/vcl/combobox.hxx
+++ b/include/vcl/combobox.hxx
@@ -179,7 +179,6 @@ public:
OUString GetMRUEntries( sal_Unicode cSep = ';' ) const;
void SetMaxMRUCount( sal_Int32 n );
sal_Int32 GetMaxMRUCount() const;
- sal_Int32 GetMRUCount() const;
void SetEntryData( sal_Int32 nPos, void* pNewData );
void* GetEntryData( sal_Int32 nPos ) const;
diff --git a/include/vcl/lstbox.hxx b/include/vcl/lstbox.hxx
index c81b52a5b916..a6564f9fd546 100644
--- a/include/vcl/lstbox.hxx
+++ b/include/vcl/lstbox.hxx
@@ -199,7 +199,6 @@ public:
Size CalcBlockSize( sal_uInt16 nColumns, sal_uInt16 nLines ) const;
void GetMaxVisColumnsAndLines( sal_uInt16& rnCols, sal_uInt16& rnLines ) const;
- sal_Int32 GetMRUCount() const;
sal_uInt16 GetDisplayLineCount() const;
void EnableMirroring();
diff --git a/svtools/source/config/accessibilityoptions.cxx b/svtools/source/config/accessibilityoptions.cxx
index 6831623d66a2..8904a0a36800 100644
--- a/svtools/source/config/accessibilityoptions.cxx
+++ b/svtools/source/config/accessibilityoptions.cxx
@@ -98,10 +98,6 @@ public:
void SetIsSystemFont(sal_Bool bSet);
void SetHelpTipSeconds(sal_Int16 nSet);
void SetSelectionInReadonly(sal_Bool bSet);
- void SetEdgeBlending(sal_Int16 nSet);
- void SetListBoxMaximumLineCount(sal_Int16 nSet);
- void SetColorValueSetColumnCount(sal_Int16 nSet);
- void SetPreviewUsesCheckeredBackground(sal_Bool bSet);
sal_Bool IsModified() const { return bIsModified; };
};
@@ -621,87 +617,6 @@ void SvtAccessibilityOptions_Impl::SetVCLSettings()
Application::SetSettings(aAllSettings);
}
-void SvtAccessibilityOptions_Impl::SetEdgeBlending(sal_Int16 nSet)
-{
- css::uno::Reference< css::beans::XPropertySet > xNode(m_xCfg, css::uno::UNO_QUERY);
-
- try
- {
- if(xNode.is() && xNode->getPropertyValue(s_sEdgeBlending)!=nSet)
- {
- xNode->setPropertyValue(s_sEdgeBlending, css::uno::makeAny(nSet));
- ::comphelper::ConfigurationHelper::flush(m_xCfg);
-
- bIsModified = sal_True;
- }
- }
- catch(const css::uno::Exception& ex)
- {
- SAL_WARN("svtools", "Caught unexpected: " << ex.Message);
- }
-}
-
-void SvtAccessibilityOptions_Impl::SetListBoxMaximumLineCount(sal_Int16 nSet)
-{
- css::uno::Reference< css::beans::XPropertySet > xNode(m_xCfg, css::uno::UNO_QUERY);
-
- try
- {
- if(xNode.is() && xNode->getPropertyValue(s_sListBoxMaximumLineCount)!=nSet)
- {
- xNode->setPropertyValue(s_sListBoxMaximumLineCount, css::uno::makeAny(nSet));
- ::comphelper::ConfigurationHelper::flush(m_xCfg);
-
- bIsModified = sal_True;
- }
- }
- catch(const css::uno::Exception& ex)
- {
- SAL_WARN("svtools", "Caught unexpected: " << ex.Message);
- }
-}
-
-void SvtAccessibilityOptions_Impl::SetColorValueSetColumnCount(sal_Int16 nSet)
-{
- css::uno::Reference< css::beans::XPropertySet > xNode(m_xCfg, css::uno::UNO_QUERY);
-
- try
- {
- if(xNode.is() && xNode->getPropertyValue(s_sColorValueSetColumnCount)!=nSet)
- {
- xNode->setPropertyValue(s_sColorValueSetColumnCount, css::uno::makeAny(nSet));
- ::comphelper::ConfigurationHelper::flush(m_xCfg);
-
- bIsModified = sal_True;
- }
- }
- catch(const css::uno::Exception& ex)
- {
- SAL_WARN("svtools", "Caught unexpected: " << ex.Message);
- }
-}
-
-void SvtAccessibilityOptions_Impl::SetPreviewUsesCheckeredBackground(sal_Bool bSet)
-{
- css::uno::Reference< css::beans::XPropertySet > xNode(m_xCfg, css::uno::UNO_QUERY);
-
- try
- {
- if(xNode.is() && xNode->getPropertyValue(s_sPreviewUsesCheckeredBackground)!=bSet)
- {
- xNode->setPropertyValue(s_sPreviewUsesCheckeredBackground, css::uno::makeAny(bSet));
- ::comphelper::ConfigurationHelper::flush(m_xCfg);
-
- bIsModified = sal_True;
- }
- }
- catch(const css::uno::Exception& ex)
- {
- SAL_WARN("svtools", "Caught unexpected: " << ex.Message);
- }
-}
-
-
// class SvtAccessibilityOptions --------------------------------------------------
SvtAccessibilityOptions::SvtAccessibilityOptions()
diff --git a/unusedcode.easy b/unusedcode.easy
index 2e3550e66b50..b69758a2d71d 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -2,7 +2,6 @@ AstDeclaration::setName(rtl::OString const&)
BigInt::BigInt(unsigned int)
CalcUnoApiTest::CalcUnoApiTest(rtl::OUString const&)
Chart2ExportTest::testFdo74115WallGradientFill()
-ComboBox::GetMRUCount() const
ConfigurationAccess::getPath(rtl::OUString const&)
DocxSdrExport::getFlyFrameGraphic()
DocxSdrExport::setFlyFrameGraphic(bool)
@@ -15,7 +14,6 @@ GDriveSession::GDriveSession()
Json::Json(std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Json, std::less<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> > const, Json> > > const&)
Json::Json(std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::shared_ptr<libcmis::Property>, std::less<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> > const, boost::shared_ptr<libcmis::Property> > > > const&)
Json::swap(Json&)
-ListBox::GetMRUCount() const
MenuBar::AddMenuBarButton(Image const&, Link const&, rtl::OUString const&, unsigned short)
MenuBar::GetMenuBarButtonRectPixel(unsigned short)
MenuBar::RemoveMenuBarButton(unsigned short)
@@ -48,10 +46,6 @@ StyleSettings::SetTitleHeight(long)
StyleSettings::SetUseFlatBorders(bool)
StyleSettings::SetUseFlatMenus(bool)
SvpSalInstance::PostedEventsInQueue()
-SvtAccessibilityOptions_Impl::SetColorValueSetColumnCount(short)
-SvtAccessibilityOptions_Impl::SetEdgeBlending(short)
-SvtAccessibilityOptions_Impl::SetListBoxMaximumLineCount(short)
-SvtAccessibilityOptions_Impl::SetPreviewUsesCheckeredBackground(unsigned char)
SvtListener::IsListening(SvtBroadcaster&) const
SvxNumberFormatShell::IsAdded_Impl(unsigned long)
SwAccessibleField::SwAccessibleField(SwField*, SwAccessibleParagraph*, short)
@@ -199,4 +193,5 @@ std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString const, (anonymous namespace
std::auto_ptr<formula::FormulaTokenArray>::auto_ptr(std::auto_ptr<formula::FormulaTokenArray>&)
std::auto_ptr<formula::FormulaTokenArray>::auto_ptr(std::auto_ptr_ref<formula::FormulaTokenArray>)
std::vector<rtl::Reference<oox::xls::(anonymous namespace)::WorkerThread>, std::allocator<rtl::Reference<oox::xls::(anonymous namespace)::WorkerThread> > >::reserve(unsigned long)
+utl::extractTime(com::sun::star::util::DateTime const&, com::sun::star::util::Time&)
vcl::MapChar(vcl::_TrueTypeFont*, unsigned short, bool)
diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx
index adb9988653af..8dd8022724c8 100644
--- a/vcl/source/control/combobox.cxx
+++ b/vcl/source/control/combobox.cxx
@@ -1273,11 +1273,6 @@ sal_Int32 ComboBox::GetMaxMRUCount() const
return mpImplLB->GetMaxMRUCount();
}
-sal_Int32 ComboBox::GetMRUCount() const
-{
- return mpImplLB->GetEntryList()->GetMRUCount();
-}
-
sal_uInt16 ComboBox::GetDisplayLineCount() const
{
return mpImplLB->GetDisplayLineCount();
diff --git a/vcl/source/control/lstbox.cxx b/vcl/source/control/lstbox.cxx
index bf6c15b5c243..6db3350c50a9 100644
--- a/vcl/source/control/lstbox.cxx
+++ b/vcl/source/control/lstbox.cxx
@@ -1499,12 +1499,6 @@ void ListBox::SetEdgeBlending(bool bNew)
}
}
-sal_Int32 ListBox::GetMRUCount() const
-{
- return mpImplLB->GetEntryList()->GetMRUCount();
-}
-
-
MultiListBox::MultiListBox( Window* pParent, WinBits nStyle ) :
ListBox( WINDOW_MULTILISTBOX )
{