Kaydet (Commit) 5c3a6d38 authored tarafından Caolán McNamara's avatar Caolán McNamara

callcatcher: update unused code

Change-Id: Ie4df15ab292df51274d983d31ce8e21e0549de81
üst b733190b
......@@ -17,9 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
// header for class SvNumberformat
#include <svl/zformat.hxx>
// header for SvNumberFormatter
#include <svl/zforlist.hxx>
#include "DataBrowser.hxx"
......@@ -1376,14 +1374,6 @@ IMPL_LINK( DataBrowser, SeriesHeaderChanged, impl::SeriesHeaderEdit*, pEdit )
return 0;
}
sal_Int32 DataBrowser::GetTotalWidth() const
{
sal_uLong nWidth = 0;
for ( sal_uInt16 nCol = 0; nCol < ColCount(); ++nCol )
nWidth += GetColumnWidth( nCol );
return static_cast< sal_Int32 >( nWidth );
}
} // namespace chart
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -136,8 +136,6 @@ public:
// calls the protected inline-function BrowseBox::GetFirstVisibleColNumber()
sal_Int16 GetFirstVisibleColumNumber() const;
sal_Int32 GetTotalWidth() const;
bool CellContainsNumbers( sal_Int32 nRow, sal_uInt16 nCol ) const;
sal_uInt32 GetNumberFormatKey( sal_Int32 nRow, sal_uInt16 nCol ) const;
......
......@@ -63,13 +63,6 @@ OPropEditCtrl::OPropEditCtrl(Window* pParent, sal_uInt16 nHelpId, short nPositio
m_strHelpText = ModuleRes(nHelpId);
}
OPropEditCtrl::OPropEditCtrl(Window* pParent, sal_uInt16 nHelpId, const ResId& _rRes,short nPosition)
:Edit(pParent, _rRes)
,m_nPos(nPosition)
{
m_strHelpText = ModuleRes(nHelpId);
}
void
OPropEditCtrl::SetSpecialReadOnly(sal_Bool _bReadOnly)
{
......@@ -92,26 +85,12 @@ OPropNumericEditCtrl::OPropNumericEditCtrl(Window* pParent, sal_uInt16 nHelpId,
m_strHelpText = ModuleRes(nHelpId);
}
OPropNumericEditCtrl::OPropNumericEditCtrl(Window* pParent, sal_uInt16 nHelpId, const ResId& _rRes,short nPosition)
:NumericField(pParent, _rRes)
,m_nPos(nPosition)
{
m_strHelpText = ModuleRes(nHelpId);
}
OPropListBoxCtrl::OPropListBoxCtrl(Window* pParent, sal_uInt16 nHelpId, short nPosition, WinBits nWinStyle)
:ListBox(pParent, nWinStyle)
,m_nPos(nPosition)
{
m_strHelpText = ModuleRes(nHelpId);
}
OPropListBoxCtrl::OPropListBoxCtrl(Window* pParent, sal_uInt16 nHelpId, const ResId& _rRes,short nPosition)
:ListBox(pParent, _rRes)
,m_nPos(nPosition)
{
m_strHelpText = ModuleRes(nHelpId);
}
void
OPropListBoxCtrl::SetSpecialReadOnly(sal_Bool _bReadOnly)
......
......@@ -53,7 +53,6 @@ namespace dbaui
public:
OPropEditCtrl(Window* pParent, sal_uInt16 nHelpId, short nPosition = -1, WinBits nWinStyle = 0);
OPropEditCtrl(Window* pParent, sal_uInt16 nHelpId, const ResId& _rRes,short nPosition = -1);
virtual bool IsModified() const SAL_OVERRIDE { return GetText() != GetSavedValue(); }
......@@ -70,7 +69,6 @@ namespace dbaui
public:
OPropNumericEditCtrl(Window* pParent, sal_uInt16 nHelpId, short nPosition = -1, WinBits nWinStyle = 0);
OPropNumericEditCtrl(Window* pParent, sal_uInt16 nHelpId, const ResId& _rRes,short nPosition = -1);
virtual bool IsModified() const SAL_OVERRIDE { return GetText() != GetSavedValue(); }
......@@ -88,7 +86,6 @@ namespace dbaui
public:
OPropListBoxCtrl(Window* pParent, sal_uInt16 nHelpId, short nPosition = -1, WinBits nWinStyle = 0);
OPropListBoxCtrl(Window* pParent, sal_uInt16 nHelpId, const ResId& _rRes,short nPosition = -1);
sal_Bool IsModified() const { return GetSelectEntryPos() != GetSavedValue(); }
......
......@@ -123,7 +123,6 @@ public:
virtual void SAL_CALL release (void) throw ();
protected:
void RenameAndCopySheets(SdStyleSheetPool& rSourcePool, SfxStyleFamily eFamily, SdStyleSheetVector& rCreatedSheets, OUString &rRenameSuffix);
void RenameAndCopySheets(SdStyleSheetPool& rSourcePool, SfxStyleFamily eFamily, OUString &rRenameSuffix);
void CopySheets(SdStyleSheetPool& rSourcePool, SfxStyleFamily eFamily );
void CopySheets(SdStyleSheetPool& rSourcePool, SfxStyleFamily eFamily, SdStyleSheetVector& rCreatedSheets );
void CopySheets(SdStyleSheetPool& rSourcePool, SfxStyleFamily eFamily, SdStyleSheetVector& rCreatedSheets, OUString &rRenameSuffix );
......
......@@ -607,12 +607,6 @@ void SdStyleSheetPool::RenameAndCopyGraphicSheets(SdStyleSheetPool& rSourcePool,
RenameAndCopySheets( rSourcePool, SD_STYLE_FAMILY_GRAPHICS, rCreatedSheets, rRenameSuffix );
}
void SdStyleSheetPool::RenameAndCopySheets(SdStyleSheetPool& rSourcePool, SfxStyleFamily eFamily, OUString &rRenameSuffix)
{
SdStyleSheetVector aTmpSheets;
RenameAndCopySheets( rSourcePool, eFamily, aTmpSheets, rRenameSuffix );
}
void SdStyleSheetPool::CopySheets(SdStyleSheetPool& rSourcePool, SfxStyleFamily eFamily )
{
SdStyleSheetVector aTmpSheets;
......
......@@ -557,15 +557,12 @@ void SAL_CALL SvxPixelCtlAccessible::disposing()
}
}
void SvxPixelCtlAccessible::Invalidate()
{
pPixelCtl = 0;
}
void SvxPixelCtlAccessible::ThrowExceptionIfNotAlive( void ) throw( lang::DisposedException )
{
if( IsNotAlive() )
throw lang::DisposedException();
}
void SvxPixelCtlAccessible::IsValid() throw (uno::RuntimeException)
{
if(!pPixelCtl)
......
......@@ -249,8 +249,6 @@ public:
inline sal_Bool IsAlive( void ) const;
/// @returns true if it's not disposed and no in disposing
inline sal_Bool IsNotAlive( void ) const;
/// throws the exception DisposedException if it's not alive
void ThrowExceptionIfNotAlive( void ) throw( ::com::sun::star::lang::DisposedException );
protected:
/** @attention This method requires locked mutex's and a living object.
......
......@@ -143,7 +143,6 @@ SvxNumRule::Create(SvStream&)
SvxNumberFormat::Create(SvStream&)
SvxNumberFormatShell::IsAdded_Impl(unsigned long)
SvxPixelCtlAccessible::Invalidate()
SvxPixelCtlAccessible::ThrowExceptionIfNotAlive()
SvxPixelCtlAccessible::ensureIsValidAddress(int, int)
SvxPixelCtlAccessible::ensureIsValidIndex(int)
SvxRectCtlAccessibleContext::FireAccessibleEvent(short, com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)
......@@ -321,7 +320,6 @@ oglcanvas::CanvasHelper::flush() const
oglcanvas::TextLayout::draw(com::sun::star::rendering::ViewState const&, com::sun::star::rendering::RenderState const&, com::sun::star::uno::Reference<com::sun::star::rendering::XGraphicDevice> const&) const
oox::AttributeConversion::decodeDouble(rtl::OUString const&)
oox::core::Decrypt::aes128cbc(std::vector<unsigned char, std::allocator<unsigned char> >&, std::vector<unsigned char, std::allocator<unsigned char> >&, std::vector<unsigned char, std::allocator<unsigned char> >&, std::vector<unsigned char, std::allocator<unsigned char> >&)
oox::drawingml::Shape::getWps()
oox::xls::BiffDrawingObjectBase::BiffDrawingObjectBase(oox::xls::WorksheetHelper const&)
oox::xls::FormulaParser::convertBoolToFormula(bool) const
oox::xls::WorkbookHelper::getDocShell()
......@@ -374,3 +372,4 @@ writerfilter::dump(writerfilter::OutputWithDepth<std::basic_string<char, std::ch
writerfilter::dump(writerfilter::OutputWithDepth<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, char const*, rtl::OUString const&)
writerfilter::dump(writerfilter::OutputWithDepth<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, char const*, unsigned int)
writerfilter::resourcemodel::resolveAttributeProperties(writerfilter::Properties&, writerfilter::Value&)
writerfilter::toString(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
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