summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-12 12:06:29 +0200
committerNoel Grandin <noel@peralex.com>2014-05-13 12:00:27 +0200
commitffa2229a8ebf3b42f6327589814063fc39db7118 (patch)
tree0f3abaaaa143a0f8b784ad0a80f64207e3e10bc2
parentfd4c3670dc509f3e10132106475c3dc414f91412 (diff)
remove dead code
Change-Id: Ic4fb478921714429af138ca212bd7f67f408d434
-rw-r--r--editeng/source/uno/unotext.cxx6
-rw-r--r--include/editeng/unotext.hxx1
-rw-r--r--include/sfx2/mnuitem.hxx6
-rw-r--r--include/svl/visitem.hxx2
-rw-r--r--include/svx/svdotext.hxx5
-rw-r--r--lotuswordpro/source/filter/lwpfilter.hxx29
-rw-r--r--sc/inc/column.hxx2
-rw-r--r--sc/inc/compressedarray.hxx8
-rw-r--r--sc/inc/document.hxx2
-rw-r--r--sc/inc/table.hxx3
-rw-r--r--sc/source/core/data/column.cxx12
-rw-r--r--sc/source/core/data/column4.cxx25
-rw-r--r--sc/source/core/data/compressedarray.cxx19
-rw-r--r--sc/source/core/data/document.cxx20
-rw-r--r--sc/source/core/data/table2.cxx8
-rw-r--r--sc/source/core/data/table7.cxx8
-rw-r--r--sc/source/filter/excel/excimp8.cxx14
-rw-r--r--sdext/source/minimizer/configurationaccess.cxx22
-rw-r--r--sdext/source/minimizer/configurationaccess.hxx1
-rw-r--r--svl/source/items/visitem.cxx6
-rw-r--r--svx/source/svdraw/svdotext.cxx50
-rw-r--r--sw/inc/fillattributes.hxx2
-rw-r--r--sw/source/core/layout/fillattributes.cxx19
-rw-r--r--sw/source/filter/ww8/docxsdrexport.cxx5
-rw-r--r--sw/source/filter/ww8/docxsdrexport.hxx1
-rw-r--r--unusedcode.easy13
26 files changed, 4 insertions, 285 deletions
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx
index e2c4b7a7cccb..c4122721aa8b 100644
--- a/editeng/source/uno/unotext.cxx
+++ b/editeng/source/uno/unotext.cxx
@@ -1658,12 +1658,6 @@ OUString SAL_CALL SvxUnoTextRange::getImplementationName()
// class SvxUnoText
-SvxUnoTextBase::SvxUnoTextBase() throw()
-: SvxUnoTextRangeBase( NULL )
-{
-
-}
-
SvxUnoTextBase::SvxUnoTextBase( const SvxItemPropertySet* _pSet ) throw()
: SvxUnoTextRangeBase( _pSet )
{
diff --git a/include/editeng/unotext.hxx b/include/editeng/unotext.hxx
index 528eb5024429..9000c9c9c2b7 100644
--- a/include/editeng/unotext.hxx
+++ b/include/editeng/unotext.hxx
@@ -391,7 +391,6 @@ class EDITENG_DLLPUBLIC SvxUnoTextBase : public SvxUnoTextRangeBase,
protected:
::com::sun::star::uno::Reference< ::com::sun::star::text::XText > xParentText;
- SvxUnoTextBase( ) throw();
SvxUnoTextBase( const SvxItemPropertySet* _pSet ) throw();
SvxUnoTextBase( const SvxEditSource* pSource, const SvxItemPropertySet* _pSet, ::com::sun::star::uno::Reference < ::com::sun::star::text::XText > xParent ) throw();
SvxUnoTextBase( const SvxUnoTextBase& rText ) throw();
diff --git a/include/sfx2/mnuitem.hxx b/include/sfx2/mnuitem.hxx
index 57e86382d00e..ff0816e373d7 100644
--- a/include/sfx2/mnuitem.hxx
+++ b/include/sfx2/mnuitem.hxx
@@ -50,9 +50,9 @@ public:
static SfxMenuControl* CreateImpl( sal_uInt16 nId, Menu &rMenu, SfxBindings &rBindings );
static void RegisterControl( sal_uInt16 nSlotId = 0, SfxModule *pMod=NULL );
- virtual ~SfxMenuControl();
+ virtual ~SfxMenuControl();
- using SfxControllerItem::Bind;
+ using SfxControllerItem::Bind;
void Bind( SfxVirtualMenu* pOwnMenu, sal_uInt16 nId,
const OUString& rTitle, SfxBindings& rBindings );
void Bind( SfxVirtualMenu* pOwnMenu, sal_uInt16 nId,
@@ -68,7 +68,7 @@ public:
static SfxMenuControl* CreateControl( sal_uInt16 nId, Menu &, SfxBindings & );
static SfxUnoMenuControl* CreateControl( const OUString&, sal_uInt16, Menu&, const OUString& sItemText, SfxBindings&, SfxVirtualMenu* );
- static void RegisterMenuControl(SfxModule*, SfxMenuCtrlFactory*);
+ static void RegisterMenuControl( SfxModule*, SfxMenuCtrlFactory* );
};
diff --git a/include/svl/visitem.hxx b/include/svl/visitem.hxx
index c4f501efaa7b..3a8406279bc8 100644
--- a/include/svl/visitem.hxx
+++ b/include/svl/visitem.hxx
@@ -69,8 +69,6 @@ public:
virtual SfxPoolItem * Clone(SfxItemPool * = 0) const SAL_OVERRIDE;
- sal_uInt16 GetValueCount() const;
-
OUString GetValueTextByVal(bool bTheValue) const;
bool GetValue() const { return m_nValue.bVisible; }
diff --git a/include/svx/svdotext.hxx b/include/svx/svdotext.hxx
index d5f8e01c3353..9922e5e17ce8 100644
--- a/include/svx/svdotext.hxx
+++ b/include/svx/svdotext.hxx
@@ -290,11 +290,6 @@ protected:
virtual void SaveGeoData(SdrObjGeoData& rGeo) const SAL_OVERRIDE;
virtual void RestGeoData(const SdrObjGeoData& rGeo) SAL_OVERRIDE;
bool NbcSetEckenradius(long nRad);
- bool NbcSetAutoGrowHeight(bool bAuto);
- bool NbcSetMaxTextFrameHeight(long nHgt);
- bool NbcSetAutoGrowWidth(bool bAuto);
- bool NbcSetMaxTextFrameWidth(long nWdt);
- bool NbcSetFitToSize(SdrFitToSizeType eFit);
// #115391# new method for SdrObjCustomShape and SdrTextObj to correctly handle and set
// SdrTextMinFrameWidthItem and SdrTextMinFrameHeightItem based on all settings, necessities
diff --git a/lotuswordpro/source/filter/lwpfilter.hxx b/lotuswordpro/source/filter/lwpfilter.hxx
index 54ca0cfcd700..8bba057a3291 100644
--- a/lotuswordpro/source/filter/lwpfilter.hxx
+++ b/lotuswordpro/source/filter/lwpfilter.hxx
@@ -53,41 +53,14 @@
*
*
************************************************************************/
-/*************************************************************************
- * @file
- * Circle object.
- ************************************************************************/
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPFILTER_HXX
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPFILTER_HXX
-#include <cppuhelper/implbase1.hxx>
-#include <cppuhelper/implbase4.hxx>
-#include <cppuhelper/factory.hxx>
-
-#include <com/sun/star/document/XFilter.hpp>
-#include <com/sun/star/document/XImporter.hpp>
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
-#include <com/sun/star/xml/sax/SAXException.hpp>
-#include <com/sun/star/lang/XServiceInfo.hpp>
-#include <com/sun/star/io/XInputStream.hpp>
-#include <com/sun/star/document/XExtendedFilterDetection.hpp>
-#include <com/sun/star/text/XTextDocument.hpp>
#include <tools/stream.hxx>
-using namespace ::rtl;
-using namespace ::cppu;
-using namespace ::com::sun::star::lang;
-using namespace ::com::sun::star::io;
-using namespace ::com::sun::star::registry;
-using namespace ::com::sun::star::document;
-using namespace ::com::sun::star::beans;
-using namespace ::com::sun::star::xml::sax;
-using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::text;
-using namespace ::com::sun::star;
-
//test code
-int ReadWordproFile(SvStream &rStream, uno::Reference<XDocumentHandler>& XDoc);
+int ReadWordproFile(SvStream &rStream, css::uno::Reference<css::xml::sax::XDocumentHandler>& XDoc);
#endif
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx
index 0376d5ab2aa1..fb49bf7e53a2 100644
--- a/sc/inc/column.hxx
+++ b/sc/inc/column.hxx
@@ -181,7 +181,6 @@ public:
ScRefCellValue GetCellValue( sc::ColumnBlockConstPosition& rBlockPos, SCROW nRow ) const;
ScRefCellValue GetCellValue( const sc::CellStoreType::const_iterator& itPos, size_t nOffset ) const;
- const sc::CellTextAttr* GetCellTextAttr( SCROW nRow ) const;
const sc::CellTextAttr* GetCellTextAttr( sc::ColumnBlockConstPosition& rBlockPos, SCROW nRow ) const;
void Delete( SCROW nRow );
@@ -595,7 +594,6 @@ public:
void SplitFormulaGroupByRelativeRef( const ScRange& rBoundRange );
void TransferCellValuesTo( SCROW nRow, size_t nLen, sc::CellValues& rDest );
- void TransferCellValuesFrom( SCROW nRow, sc::CellValues& rSrc );
void CopyCellValuesFrom( SCROW nRow, const sc::CellValues& rSrc );
#if DEBUG_COLUMN_STORAGE
diff --git a/sc/inc/compressedarray.hxx b/sc/inc/compressedarray.hxx
index a6dd96687d70..0a2f776fa1d4 100644
--- a/sc/inc/compressedarray.hxx
+++ b/sc/inc/compressedarray.hxx
@@ -171,14 +171,6 @@ public:
A nStart, A nEnd, const D& rValueToAnd,
long nSourceDy = 0 );
- /** Return the first row where an entry meets the condition:
- ((aValue & rBitMask) == rMaskedCompare), searching between nStart and
- nEnd. If no entry meets this condition, ::std::numeric_limits<A>::max()
- is returned. */
- SC_DLLPUBLIC A GetFirstForCondition( A nStart, A nEnd,
- const D& rBitMask,
- const D& rMaskedCompare ) const;
-
/** Return the last row where an entry meets the condition:
((aValue & rBitMask) != 0), start searching at nStart. If no entry
meets this condition, ::std::numeric_limits<A>::max() is returned. */
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index b2516904c963..8793ab7a63f0 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -1541,8 +1541,6 @@ public:
SC_DLLPUBLIC sal_uInt8 GetColFlags( SCCOL nCol, SCTAB nTab ) const;
SC_DLLPUBLIC sal_uInt8 GetRowFlags( SCROW nRow, SCTAB nTab ) const;
- SC_DLLPUBLIC const ScBitMaskCompressedArray< SCROW, sal_uInt8> & GetRowFlagsArray( SCTAB nTab ) const;
-
SC_DLLPUBLIC void GetAllRowBreaks(::std::set<SCROW>& rBreaks, SCTAB nTab, bool bPage, bool bManual) const;
SC_DLLPUBLIC void GetAllColBreaks(::std::set<SCCOL>& rBreaks, SCTAB nTab, bool bPage, bool bManual) const;
SC_DLLPUBLIC ScBreakType HasRowBreak(SCROW nRow, SCTAB nTab) const;
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 1581e72e8266..0c008514cbc5 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -384,8 +384,6 @@ public:
CellType GetCellType( SCCOL nCol, SCROW nRow ) const;
ScRefCellValue GetCellValue( SCCOL nCol, SCROW nRow ) const;
- const sc::CellTextAttr* GetCellTextAttr( SCCOL nCol, SCROW nRow ) const;
-
void GetFirstDataPos(SCCOL& rCol, SCROW& rRow) const;
void GetLastDataPos(SCCOL& rCol, SCROW& rRow) const;
@@ -920,7 +918,6 @@ public:
SCCOL nColDelta, SCROW nRowDelta );
void TransferCellValuesTo( SCCOL nCol, SCROW nRow, size_t nLen, sc::CellValues& rDest );
- void TransferCellValuesFrom( SCCOL nCol, SCROW nRow, sc::CellValues& rSrc );
void CopyCellValuesFrom( SCCOL nCol, SCROW nRow, const sc::CellValues& rSrc );
#if DEBUG_COLUMN_STORAGE
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index 0a5a68e24a1d..f4e00c6614c6 100644
--- a/sc/source/core/data/column.cxx
+++ b/sc/source/core/data/column.cxx
@@ -811,18 +811,6 @@ ScRefCellValue ScColumn::GetCellValue( const sc::CellStoreType::const_iterator&
return aVal;
}
-const sc::CellTextAttr* ScColumn::GetCellTextAttr( SCROW nRow ) const
-{
- sc::CellTextAttrStoreType::const_position_type aPos = maCellTextAttrs.position(nRow);
- if (aPos.first == maCellTextAttrs.end())
- return NULL;
-
- if (aPos.first->type != sc::element_type_celltextattr)
- return NULL;
-
- return &sc::celltextattr_block::at(*aPos.first->data, aPos.second);
-}
-
const sc::CellTextAttr* ScColumn::GetCellTextAttr( sc::ColumnBlockConstPosition& rBlockPos, SCROW nRow ) const
{
sc::CellTextAttrStoreType::const_position_type aPos = maCellTextAttrs.position(rBlockPos.miCellTextAttrPos, nRow);
diff --git a/sc/source/core/data/column4.cxx b/sc/source/core/data/column4.cxx
index cf9cd1e2f00a..c5465c640a85 100644
--- a/sc/source/core/data/column4.cxx
+++ b/sc/source/core/data/column4.cxx
@@ -293,31 +293,6 @@ void ScColumn::TransferCellValuesTo( SCROW nRow, size_t nLen, sc::CellValues& rD
BroadcastCells(aRows, SC_HINT_DATACHANGED);
}
-void ScColumn::TransferCellValuesFrom( SCROW nRow, sc::CellValues& rSrc )
-{
- if (!ValidRow(nRow))
- return;
-
- SCROW nLastRow = nRow + rSrc.size() - 1;
- if (nLastRow > MAXROW)
- // Out of bound. Do nothing
- return;
-
- sc::CellStoreType::position_type aPos = maCells.position(nRow);
- DetachFormulaCells(aPos, rSrc.size());
-
- rSrc.transferTo(*this, nRow);
-
- CellStorageModified();
-
- std::vector<SCROW> aRows;
- aRows.reserve(rSrc.size());
- for (SCROW i = nRow; i <= nLastRow; ++i)
- aRows.push_back(i);
-
- BroadcastCells(aRows, SC_HINT_DATACHANGED);
-}
-
void ScColumn::CopyCellValuesFrom( SCROW nRow, const sc::CellValues& rSrc )
{
if (!ValidRow(nRow))
diff --git a/sc/source/core/data/compressedarray.cxx b/sc/source/core/data/compressedarray.cxx
index 6d4ffd3a522a..a14cd9d2bec9 100644
--- a/sc/source/core/data/compressedarray.cxx
+++ b/sc/source/core/data/compressedarray.cxx
@@ -401,25 +401,6 @@ void ScBitMaskCompressedArray<A,D>::CopyFromAnded(
}
template< typename A, typename D >
-A ScBitMaskCompressedArray<A,D>::GetFirstForCondition( A nStart, A nEnd,
- const D& rBitMask, const D& rMaskedCompare ) const
-{
- size_t nIndex = this->Search( nStart);
- do
- {
- if ((this->pData[nIndex].aValue & rBitMask) == rMaskedCompare)
- {
- A nFound = nIndex > 0 ? this->pData[nIndex-1].nEnd + 1 : 0;
- return ::std::max( nFound, nStart);
- }
- if (this->pData[nIndex].nEnd >= nEnd)
- break; // while
- ++nIndex;
- } while (nIndex < this->nCount);
- return ::std::numeric_limits<A>::max();
-}
-
-template< typename A, typename D >
A ScBitMaskCompressedArray<A,D>::GetLastAnyBitAccess( A nStart,
const D& rBitMask ) const
{
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index bac82bd63cc9..57c82d0f7dbd 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -4064,26 +4064,6 @@ sal_uInt8 ScDocument::GetRowFlags( SCROW nRow, SCTAB nTab ) const
return 0;
}
-const ScBitMaskCompressedArray< SCROW, sal_uInt8> & ScDocument::GetRowFlagsArray(
- SCTAB nTab ) const
-{
- const ScBitMaskCompressedArray< SCROW, sal_uInt8> * pFlags;
- if ( ValidTab(nTab) && nTab < static_cast<SCTAB>(maTabs.size()) && maTabs[nTab] )
- pFlags = maTabs[nTab]->GetRowFlagsArray();
- else
- {
- OSL_FAIL("wrong sheet number");
- pFlags = 0;
- }
- if (!pFlags)
- {
- OSL_FAIL("no row flags at sheet");
- static ScBitMaskCompressedArray< SCROW, sal_uInt8> aDummy( MAXROW, 0);
- pFlags = &aDummy;
- }
- return *pFlags;
-}
-
void ScDocument::GetAllRowBreaks(set<SCROW>& rBreaks, SCTAB nTab, bool bPage, bool bManual) const
{
if (!ValidTab(nTab) || nTab >= static_cast<SCTAB>(maTabs.size()) || !maTabs[nTab])
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx
index 738d5e19fee6..900c29bf1ce0 100644
--- a/sc/source/core/data/table2.cxx
+++ b/sc/source/core/data/table2.cxx
@@ -1609,14 +1609,6 @@ ScRefCellValue ScTable::GetCellValue( SCCOL nCol, SCROW nRow ) const
return aCol[nCol].GetCellValue(nRow);
}
-const sc::CellTextAttr* ScTable::GetCellTextAttr( SCCOL nCol, SCROW nRow ) const
-{
- if (!ValidColRow(nCol, nRow))
- return NULL;
-
- return aCol[nCol].GetCellTextAttr(nRow);
-}
-
void ScTable::GetFirstDataPos(SCCOL& rCol, SCROW& rRow) const
{
rCol = 0;
diff --git a/sc/source/core/data/table7.cxx b/sc/source/core/data/table7.cxx
index 59d2b366550a..845c720b2147 100644
--- a/sc/source/core/data/table7.cxx
+++ b/sc/source/core/data/table7.cxx
@@ -73,14 +73,6 @@ void ScTable::TransferCellValuesTo( SCCOL nCol, SCROW nRow, size_t nLen, sc::Cel
aCol[nCol].TransferCellValuesTo(nRow, nLen, rDest);
}
-void ScTable::TransferCellValuesFrom( SCCOL nCol, SCROW nRow, sc::CellValues& rSrc )
-{
- if (!ValidCol(nCol))
- return;
-
- aCol[nCol].TransferCellValuesFrom(nRow, rSrc);
-}
-
void ScTable::CopyCellValuesFrom( SCCOL nCol, SCROW nRow, const sc::CellValues& rSrc )
{
if (!ValidCol(nCol))
diff --git a/sc/source/filter/excel/excimp8.cxx b/sc/source/filter/excel/excimp8.cxx
index 736b116ad48f..53d0a1d0c199 100644
--- a/sc/source/filter/excel/excimp8.cxx
+++ b/sc/source/filter/excel/excimp8.cxx
@@ -819,20 +819,6 @@ void XclImpAutoFilterData::Apply()
if( bActive )
{
InsertQueryParam();
-
- // #i38093# rows hidden by filter need extra flag, but CR_FILTERED is not set here yet
-// SCROW nRow1 = StartRow();
-// SCROW nRow2 = EndRow();
-// size_t nRows = nRow2 - nRow1 + 1;
-// boost::scoped_array<sal_uInt8> pFlags( new sal_uInt8[nRows]);
-// pExcRoot->pDoc->GetRowFlagsArray( Tab()).FillDataArray( nRow1, nRow2,
-// pFlags.get());
-// for (size_t j=0; j<nRows; ++j)
-// {
-// if ((pFlags[j] & CR_HIDDEN) && !(pFlags[j] & CR_FILTERED))
-// pExcRoot->pDoc->SetRowFlags( nRow1 + j, Tab(),
-// pFlags[j] | CR_FILTERED );
-// }
}
}
diff --git a/sdext/source/minimizer/configurationaccess.cxx b/sdext/source/minimizer/configurationaccess.cxx
index 699d5f68fd02..51653121e697 100644
--- a/sdext/source/minimizer/configurationaccess.cxx
+++ b/sdext/source/minimizer/configurationaccess.cxx
@@ -162,28 +162,6 @@ ConfigurationAccess::~ConfigurationAccess()
{
}
-OUString ConfigurationAccess::getPath( OUString const & token )
-{
- OUString aPath;
- try
- {
- static const OUString sProtocol( "vnd.sun.star.expand:" );
- Reference< container::XNameAccess > xSet( OpenConfiguration( true ), UNO_QUERY_THROW );
- if ( xSet->hasByName( token ) )
- xSet->getByName( token ) >>= aPath;
- if ( aPath.match( sProtocol, 0 ) )
- {
- OUString aTmp( aPath.copy( 20 ) );
- Reference< util::XMacroExpander > xExpander = util::theMacroExpander::get(mxContext);
- aPath = xExpander->expandMacros( aTmp );
- }
- }
- catch (const Exception&)
- {
- }
- return aPath;
-}
-
OUString ConfigurationAccess::getString( const PPPOptimizerTokenEnum eToken ) const
{
std::map< PPPOptimizerTokenEnum, OUString, Compare >::const_iterator aIter( maStrings.find( eToken ) );
diff --git a/sdext/source/minimizer/configurationaccess.hxx b/sdext/source/minimizer/configurationaccess.hxx
index 70e828138b26..3a186bad0f53 100644
--- a/sdext/source/minimizer/configurationaccess.hxx
+++ b/sdext/source/minimizer/configurationaccess.hxx
@@ -87,7 +87,6 @@ class ConfigurationAccess
~ConfigurationAccess();
void SaveConfiguration();
- OUString getPath( OUString const & token );
OUString getString( const PPPOptimizerTokenEnum ) const;
// access to current OptimizerSettings (stored in the first entry of maSettings)
diff --git a/svl/source/items/visitem.cxx b/svl/source/items/visitem.cxx
index 6e96def23d51..f1723ab86698 100644
--- a/svl/source/items/visitem.cxx
+++ b/svl/source/items/visitem.cxx
@@ -95,12 +95,6 @@ SfxPoolItem * SfxVisibilityItem::Clone(SfxItemPool *) const
}
// virtual
-sal_uInt16 SfxVisibilityItem::GetValueCount() const
-{
- return 2;
-}
-
-// virtual
OUString SfxVisibilityItem::GetValueTextByVal(bool bTheValue) const
{
return bTheValue ? OUString("TRUE") : OUString("FALSE");
diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx
index adc5999bf9b5..ab38de0db5ef 100644
--- a/svx/source/svdraw/svdotext.cxx
+++ b/svx/source/svdraw/svdotext.cxx
@@ -544,26 +544,6 @@ bool SdrTextObj::NbcSetEckenradius(long nRad)
return true;
}
-bool SdrTextObj::NbcSetAutoGrowHeight(bool bAuto)
-{
- if(bTextFrame)
- {
- SetObjectItem(SdrTextAutoGrowHeightItem(bAuto));
- return true;
- }
- return false;
-}
-
-bool SdrTextObj::NbcSetMaxTextFrameHeight(long nHgt)
-{
- if(bTextFrame)
- {
- SetObjectItem(SdrTextMaxFrameHeightItem(nHgt));
- return true;
- }
- return false;
-}
-
// #115391# This implementation is based on the object size (aRect) and the
// states of IsAutoGrowWidth/Height to correctly set TextMinFrameWidth/Height
void SdrTextObj::AdaptTextMinSize()
@@ -615,36 +595,6 @@ void SdrTextObj::AdaptTextMinSize()
}
}
-bool SdrTextObj::NbcSetAutoGrowWidth(bool bAuto)
-{
- if(bTextFrame)
- {
- SetObjectItem(SdrTextAutoGrowWidthItem(bAuto));
- return true;
- }
- return false;
-}
-
-bool SdrTextObj::NbcSetMaxTextFrameWidth(long nWdt)
-{
- if(bTextFrame)
- {
- SetObjectItem(SdrTextMaxFrameWidthItem(nWdt));
- return true;
- }
- return false;
-}
-
-bool SdrTextObj::NbcSetFitToSize(SdrFitToSizeType eFit)
-{
- if(bTextFrame)
- {
- SetObjectItem(SdrTextFitToSizeTypeItem(eFit));
- return true;
- }
- return false;
-}
-
void SdrTextObj::ImpSetContourPolygon( SdrOutliner& rOutliner, Rectangle& rAnchorRect, bool bLineWidth ) const
{
basegfx::B2DPolyPolygon aXorPolyPolygon(TakeXorPoly());
diff --git a/sw/inc/fillattributes.hxx b/sw/inc/fillattributes.hxx
index 9908f2621273..05624c4a8de5 100644
--- a/sw/inc/fillattributes.hxx
+++ b/sw/inc/fillattributes.hxx
@@ -44,7 +44,6 @@ private:
protected:
public:
- FillAttributes();
FillAttributes(const Color& rColor);
FillAttributes(const SfxItemSet& rSet);
~FillAttributes();
@@ -55,7 +54,6 @@ public:
bool isTransparent() const;
const drawinglayer::attribute::SdrFillAttribute& getFillAttribute() const;
- const drawinglayer::attribute::FillGradientAttribute& getFillGradientAttribute() const;
const drawinglayer::primitive2d::Primitive2DSequence& getPrimitive2DSequence(
const basegfx::B2DRange& rPaintRange,
const basegfx::B2DRange& rDefineRange) const;
diff --git a/sw/source/core/layout/fillattributes.cxx b/sw/source/core/layout/fillattributes.cxx
index be948cf12564..8666c27ab092 100644
--- a/sw/source/core/layout/fillattributes.cxx
+++ b/sw/source/core/layout/fillattributes.cxx
@@ -50,15 +50,6 @@ void FillAttributes::createPrimitive2DSequence(
}
}
-FillAttributes::FillAttributes()
-: maLastPaintRange(),
- maLastDefineRange(),
- maFillAttribute(),
- maFillGradientAttribute(),
- maPrimitives()
-{
-}
-
FillAttributes::FillAttributes(const Color& rColor)
: maLastPaintRange(),
maLastDefineRange(),
@@ -130,16 +121,6 @@ const drawinglayer::attribute::SdrFillAttribute& FillAttributes::getFillAttribut
return *maFillAttribute.get();
}
-const drawinglayer::attribute::FillGradientAttribute& FillAttributes::getFillGradientAttribute() const
-{
- if(!maFillGradientAttribute.get())
- {
- const_cast< FillAttributes* >(this)->maFillGradientAttribute.reset(new drawinglayer::attribute::FillGradientAttribute());
- }
-
- return *maFillGradientAttribute.get();
-}
-
const drawinglayer::primitive2d::Primitive2DSequence& FillAttributes::getPrimitive2DSequence(
const basegfx::B2DRange& rPaintRange,
const basegfx::B2DRange& rDefineRange) const
diff --git a/sw/source/filter/ww8/docxsdrexport.cxx b/sw/source/filter/ww8/docxsdrexport.cxx
index 3153724297df..2181568681f4 100644
--- a/sw/source/filter/ww8/docxsdrexport.cxx
+++ b/sw/source/filter/ww8/docxsdrexport.cxx
@@ -239,11 +239,6 @@ bool DocxSdrExport::getFrameBtLr()
return m_pImpl->m_bFrameBtLr;
}
-void DocxSdrExport::setFrameBtLr(bool bFrameBtLr)
-{
- m_pImpl->m_bFrameBtLr = bFrameBtLr;
-}
-
sax_fastparser::FastAttributeList*& DocxSdrExport::getFlyFillAttrList()
{
return m_pImpl->m_pFlyFillAttrList;
diff --git a/sw/source/filter/ww8/docxsdrexport.hxx b/sw/source/filter/ww8/docxsdrexport.hxx
index 21efb55d065a..b54cad4660b5 100644
--- a/sw/source/filter/ww8/docxsdrexport.hxx
+++ b/sw/source/filter/ww8/docxsdrexport.hxx
@@ -63,7 +63,6 @@ public:
OStringBuffer& getTextFrameStyle();
/// Same, as DocxAttributeOutput::m_bBtLr, but for textframe rotation.
bool getFrameBtLr();
- void setFrameBtLr(bool bFrameBtLr);
sax_fastparser::FastAttributeList*& getFlyFillAttrList();
sax_fastparser::FastAttributeList* getFlyWrapAttrList();
void setFlyWrapAttrList(sax_fastparser::FastAttributeList* pAttrList);
diff --git a/unusedcode.easy b/unusedcode.easy
index 15235e27833a..2a083a0de435 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -2,9 +2,7 @@ BigInt::BigInt(unsigned int)
CPhysicalCamera::CPhysicalCamera()
CPhysicalCamera::GetAngleY()
CalcUnoApiTest::CalcUnoApiTest(rtl::OUString const&)
-ConfigurationAccess::getPath(rtl::OUString const&)
DocumentHandler::DocumentHandler(com::sun::star::uno::Reference<com::sun::star::xml::sax::XDocumentHandler>&)
-DocxSdrExport::setFrameBtLr(bool)
EditEngine::IsIdleFormatterActive() const
FPSCounter::getGPUTime()
FPSCounter::gpuAccumulationTimeclear()
@@ -43,27 +41,17 @@ RenderScene::loadScene(std::basic_string<char, std::char_traits<char>, std::allo
RenderScene::renderMoveCamera(double, double, double, double)
RenderScene::renderRotateCamera(double, double, double, double)
SalGraphics::drawTransformedBitmap(basegfx::B2DPoint const&, basegfx::B2DPoint const&, basegfx::B2DPoint const&, SalBitmap const&, SalBitmap const*)
-ScBitMaskCompressedArray<int, unsigned char>::GetFirstForCondition(int, int, unsigned char const&, unsigned char const&) const
ScDocument::CreateFormatTable() const
-ScDocument::GetRowFlagsArray(short) const
ScExtIButton::GetSelected() const
ScFormulaCellGroup::scheduleCompilation()
ScTabView::DrawMarkRect(Rectangle const&)
ScTabViewShell::SetChartArea(tools::SvRef<ScRangeList> const&, Rectangle const&)
-ScTable::GetCellTextAttr(short, int) const
-ScTable::TransferCellValuesFrom(short, int, sc::CellValues&)
ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
SdrItemBrowser::ForceParent()
SdrItemBrowser::SdrItemBrowser(SdrView&)
-SdrTextObj::NbcSetAutoGrowHeight(bool)
-SdrTextObj::NbcSetAutoGrowWidth(bool)
-SdrTextObj::NbcSetFitToSize(SdrFitToSizeType)
-SdrTextObj::NbcSetMaxTextFrameHeight(long)
-SdrTextObj::NbcSetMaxTextFrameWidth(long)
SfxAppMenuControl_Impl::RegisterControl(unsigned short, SfxModule*)
SfxInt64Item::SetValue(long)
-SfxVisibilityItem::GetValueCount() const
ShaderProgram::createProgram(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
ShaderProgram::setUniform(unsigned int, char const*, float)
ShaderProgram::setUniform(unsigned int, char const*, glm::detail::tvec2<float>)
@@ -84,7 +72,6 @@ SvtLanguageTable::AddLanguageTag(LanguageTag const&, rtl::OUString const&)
SvtListener::IsListening(SvtBroadcaster&) const
SvxDummyShapeContainer::SvxDummyShapeContainer(com::sun::star::uno::Reference<com::sun::star::drawing::XShapes>)
SvxNumberFormatShell::IsAdded_Impl(unsigned long)
-SvxUnoTextBase::SvxUnoTextBase()
SwAccessibleField::SwAccessibleField(SwField*, SwAccessibleParagraph*, short)
SwAccessibleMap::FireColumnChangeEvent(unsigned short, unsigned short)
SwAccessibleMap::FirePageChangeEvent(unsigned short, unsigned short)