Kaydet (Commit) 6f57b77c authored tarafından Caolán McNamara's avatar Caolán McNamara

callcatcher: update unused code

Change-Id: I0d7f204473bd5fcddf2342850a16194fdb385c13
üst b6588bd7
...@@ -179,7 +179,6 @@ public: ...@@ -179,7 +179,6 @@ public:
OUString GetMRUEntries( sal_Unicode cSep = ';' ) const; OUString GetMRUEntries( sal_Unicode cSep = ';' ) const;
void SetMaxMRUCount( sal_Int32 n ); void SetMaxMRUCount( sal_Int32 n );
sal_Int32 GetMaxMRUCount() const; sal_Int32 GetMaxMRUCount() const;
sal_Int32 GetMRUCount() const;
void SetEntryData( sal_Int32 nPos, void* pNewData ); void SetEntryData( sal_Int32 nPos, void* pNewData );
void* GetEntryData( sal_Int32 nPos ) const; void* GetEntryData( sal_Int32 nPos ) const;
......
...@@ -199,7 +199,6 @@ public: ...@@ -199,7 +199,6 @@ public:
Size CalcBlockSize( sal_uInt16 nColumns, sal_uInt16 nLines ) const; Size CalcBlockSize( sal_uInt16 nColumns, sal_uInt16 nLines ) const;
void GetMaxVisColumnsAndLines( sal_uInt16& rnCols, sal_uInt16& rnLines ) const; void GetMaxVisColumnsAndLines( sal_uInt16& rnCols, sal_uInt16& rnLines ) const;
sal_Int32 GetMRUCount() const;
sal_uInt16 GetDisplayLineCount() const; sal_uInt16 GetDisplayLineCount() const;
void EnableMirroring(); void EnableMirroring();
......
...@@ -98,10 +98,6 @@ public: ...@@ -98,10 +98,6 @@ public:
void SetIsSystemFont(sal_Bool bSet); void SetIsSystemFont(sal_Bool bSet);
void SetHelpTipSeconds(sal_Int16 nSet); void SetHelpTipSeconds(sal_Int16 nSet);
void SetSelectionInReadonly(sal_Bool bSet); 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; }; sal_Bool IsModified() const { return bIsModified; };
}; };
...@@ -621,87 +617,6 @@ void SvtAccessibilityOptions_Impl::SetVCLSettings() ...@@ -621,87 +617,6 @@ void SvtAccessibilityOptions_Impl::SetVCLSettings()
Application::SetSettings(aAllSettings); 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 -------------------------------------------------- // class SvtAccessibilityOptions --------------------------------------------------
SvtAccessibilityOptions::SvtAccessibilityOptions() SvtAccessibilityOptions::SvtAccessibilityOptions()
......
...@@ -2,7 +2,6 @@ AstDeclaration::setName(rtl::OString const&) ...@@ -2,7 +2,6 @@ AstDeclaration::setName(rtl::OString const&)
BigInt::BigInt(unsigned int) BigInt::BigInt(unsigned int)
CalcUnoApiTest::CalcUnoApiTest(rtl::OUString const&) CalcUnoApiTest::CalcUnoApiTest(rtl::OUString const&)
Chart2ExportTest::testFdo74115WallGradientFill() Chart2ExportTest::testFdo74115WallGradientFill()
ComboBox::GetMRUCount() const
ConfigurationAccess::getPath(rtl::OUString const&) ConfigurationAccess::getPath(rtl::OUString const&)
DocxSdrExport::getFlyFrameGraphic() DocxSdrExport::getFlyFrameGraphic()
DocxSdrExport::setFlyFrameGraphic(bool) DocxSdrExport::setFlyFrameGraphic(bool)
...@@ -15,7 +14,6 @@ GDriveSession::GDriveSession() ...@@ -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> >, 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::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&) Json::swap(Json&)
ListBox::GetMRUCount() const
MenuBar::AddMenuBarButton(Image const&, Link const&, rtl::OUString const&, unsigned short) MenuBar::AddMenuBarButton(Image const&, Link const&, rtl::OUString const&, unsigned short)
MenuBar::GetMenuBarButtonRectPixel(unsigned short) MenuBar::GetMenuBarButtonRectPixel(unsigned short)
MenuBar::RemoveMenuBarButton(unsigned short) MenuBar::RemoveMenuBarButton(unsigned short)
...@@ -48,10 +46,6 @@ StyleSettings::SetTitleHeight(long) ...@@ -48,10 +46,6 @@ StyleSettings::SetTitleHeight(long)
StyleSettings::SetUseFlatBorders(bool) StyleSettings::SetUseFlatBorders(bool)
StyleSettings::SetUseFlatMenus(bool) StyleSettings::SetUseFlatMenus(bool)
SvpSalInstance::PostedEventsInQueue() SvpSalInstance::PostedEventsInQueue()
SvtAccessibilityOptions_Impl::SetColorValueSetColumnCount(short)
SvtAccessibilityOptions_Impl::SetEdgeBlending(short)
SvtAccessibilityOptions_Impl::SetListBoxMaximumLineCount(short)
SvtAccessibilityOptions_Impl::SetPreviewUsesCheckeredBackground(unsigned char)
SvtListener::IsListening(SvtBroadcaster&) const SvtListener::IsListening(SvtBroadcaster&) const
SvxNumberFormatShell::IsAdded_Impl(unsigned long) SvxNumberFormatShell::IsAdded_Impl(unsigned long)
SwAccessibleField::SwAccessibleField(SwField*, SwAccessibleParagraph*, short) SwAccessibleField::SwAccessibleField(SwField*, SwAccessibleParagraph*, short)
...@@ -199,4 +193,5 @@ std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString const, (anonymous namespace ...@@ -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<formula::FormulaTokenArray>&)
std::auto_ptr<formula::FormulaTokenArray>::auto_ptr(std::auto_ptr_ref<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) 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) vcl::MapChar(vcl::_TrueTypeFont*, unsigned short, bool)
...@@ -1273,11 +1273,6 @@ sal_Int32 ComboBox::GetMaxMRUCount() const ...@@ -1273,11 +1273,6 @@ sal_Int32 ComboBox::GetMaxMRUCount() const
return mpImplLB->GetMaxMRUCount(); return mpImplLB->GetMaxMRUCount();
} }
sal_Int32 ComboBox::GetMRUCount() const
{
return mpImplLB->GetEntryList()->GetMRUCount();
}
sal_uInt16 ComboBox::GetDisplayLineCount() const sal_uInt16 ComboBox::GetDisplayLineCount() const
{ {
return mpImplLB->GetDisplayLineCount(); return mpImplLB->GetDisplayLineCount();
......
...@@ -1499,12 +1499,6 @@ void ListBox::SetEdgeBlending(bool bNew) ...@@ -1499,12 +1499,6 @@ void ListBox::SetEdgeBlending(bool bNew)
} }
} }
sal_Int32 ListBox::GetMRUCount() const
{
return mpImplLB->GetEntryList()->GetMRUCount();
}
MultiListBox::MultiListBox( Window* pParent, WinBits nStyle ) : MultiListBox::MultiListBox( Window* pParent, WinBits nStyle ) :
ListBox( WINDOW_MULTILISTBOX ) ListBox( WINDOW_MULTILISTBOX )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment