summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-10-26 16:33:35 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2012-10-27 13:27:02 +0200
commit7b633213c0d814d0fd485a6070291944e9890cee (patch)
tree320aa52b2749b009c724bd4b62039ad4a30cdd2a
parentbeffbd826a74f3751bd34d7747e401de7d836457 (diff)
unusedcode: sc: unused ctors
Change-Id: Iaa082d85ef95c58da14013c80cb06a2e1112d4ef
-rw-r--r--sc/inc/attrib.hxx1
-rw-r--r--sc/source/core/data/attrib.cxx6
-rw-r--r--sc/source/filter/excel/xltoolbar.cxx4
-rw-r--r--sc/source/filter/excel/xltoolbar.hxx1
-rw-r--r--sc/source/ui/condformat/colorformat.cxx33
-rw-r--r--sc/source/ui/inc/colorformat.hxx1
-rwxr-xr-xunusedcode.easy3
7 files changed, 0 insertions, 49 deletions
diff --git a/sc/inc/attrib.hxx b/sc/inc/attrib.hxx
index eb051fd8e1ac..af401d15d184 100644
--- a/sc/inc/attrib.hxx
+++ b/sc/inc/attrib.hxx
@@ -399,7 +399,6 @@ public:
TYPEINFO();
explicit ScCondFormatItem();
- explicit ScCondFormatItem(sal_uInt32 nIndex);
explicit ScCondFormatItem(const std::vector<sal_uInt32>& nIndex);
virtual ~ScCondFormatItem();
diff --git a/sc/source/core/data/attrib.cxx b/sc/source/core/data/attrib.cxx
index 6a29e52e6af8..d66622936f6d 100644
--- a/sc/source/core/data/attrib.cxx
+++ b/sc/source/core/data/attrib.cxx
@@ -1228,12 +1228,6 @@ ScCondFormatItem::ScCondFormatItem():
{
}
-ScCondFormatItem::ScCondFormatItem( sal_uInt32 nIndex ):
- SfxPoolItem( ATTR_CONDITIONAL )
-{
- maIndex.push_back(nIndex);
-}
-
ScCondFormatItem::ScCondFormatItem( const std::vector<sal_uInt32>& rIndex ):
SfxPoolItem( ATTR_CONDITIONAL ),
maIndex( rIndex )
diff --git a/sc/source/filter/excel/xltoolbar.cxx b/sc/source/filter/excel/xltoolbar.cxx
index f582ab89a300..2bb994e379fb 100644
--- a/sc/source/filter/excel/xltoolbar.cxx
+++ b/sc/source/filter/excel/xltoolbar.cxx
@@ -94,10 +94,6 @@ CTBS::CTBS() : bSignature(0), bVersion(0), reserved1(0), reserved2(0), reserved3
{
}
-ScCTB::ScCTB() : nViews( 0 ), ectbid(0)
-{
-}
-
ScCTB::ScCTB(sal_uInt16 nNum ) : nViews( nNum ), ectbid(0)
{
}
diff --git a/sc/source/filter/excel/xltoolbar.hxx b/sc/source/filter/excel/xltoolbar.hxx
index cc9794331bd9..ed598d5311fa 100644
--- a/sc/source/filter/excel/xltoolbar.hxx
+++ b/sc/source/filter/excel/xltoolbar.hxx
@@ -74,7 +74,6 @@ class ScCTB : public TBBase
std::vector< ScTBC > rTBC;
bool ImportCustomToolBar_Impl( ScCTBWrapper&, CustomToolBarImportHelper& );
public:
- ScCTB();
ScCTB(sal_uInt16);
~ScCTB(){}
void Print( FILE* );
diff --git a/sc/source/ui/condformat/colorformat.cxx b/sc/source/ui/condformat/colorformat.cxx
index 79835917816e..8d77b8a3e390 100644
--- a/sc/source/ui/condformat/colorformat.cxx
+++ b/sc/source/ui/condformat/colorformat.cxx
@@ -36,39 +36,6 @@
#include <svx/drawitem.hxx>
#include <vcl/msgbox.hxx>
-ScDataBarSettingsDlg::ScDataBarSettingsDlg(Window* pWindow, ScDocument* pDoc, const ScAddress& rPos):
- ModalDialog( pWindow, ScResId( RID_SCDLG_DATABAR ) ),
- maBtnOk( this, ScResId( BTN_OK ) ),
- maBtnCancel( this, ScResId( BTN_CANCEL ) ),
- maFlBarColors( this, ScResId( FL_BAR_COLORS ) ),
- maFlAxes( this, ScResId( FL_AXIS ) ),
- maFlValues( this, ScResId( FL_VALUES ) ),
- maFtMin( this, ScResId( FT_MINIMUM ) ),
- maFtMax( this, ScResId( FT_MAXIMUM ) ),
- maFtPositive( this, ScResId( FT_POSITIVE ) ),
- maFtNegative( this, ScResId( FT_NEGATIVE ) ),
- maFtPosition( this, ScResId( FT_POSITION ) ),
- maFtAxisColor( this, ScResId( FT_COLOR_AXIS ) ),
- maLbPos( this, ScResId( LB_POS ) ),
- maLbNeg( this, ScResId( LB_NEG ) ),
- maLbAxisCol( this, ScResId( LB_COL_AXIS ) ),
- maLbTypeMin( this, ScResId( LB_TYPE ) ),
- maLbTypeMax( this, ScResId( LB_TYPE ) ),
- maLbAxisPos( this, ScResId( LB_AXIS_POSITION ) ),
- maEdMin( this, ScResId( ED_MIN ) ),
- maEdMax( this, ScResId( ED_MAX ) ),
- mpNumberFormatter( pDoc->GetFormatTable() ),
- mpDoc(pDoc),
- maPos(rPos)
-{
- Init();
- FreeResource();
-
- maLbTypeMin.SelectEntryPos(0);
- maLbTypeMax.SelectEntryPos(0);
- maLbAxisPos.SelectEntryPos(0);
-}
-
namespace {
void SetType(const ScColorScaleEntry* pEntry, ListBox& rLstBox)
diff --git a/sc/source/ui/inc/colorformat.hxx b/sc/source/ui/inc/colorformat.hxx
index 3c58131a411d..13bb74bcf978 100644
--- a/sc/source/ui/inc/colorformat.hxx
+++ b/sc/source/ui/inc/colorformat.hxx
@@ -75,7 +75,6 @@ private:
void Init();
public:
- ScDataBarSettingsDlg(Window* pParent, ScDocument* pDoc, const ScAddress& rPos);
ScDataBarSettingsDlg(Window* pParent, const ScDataBarFormatData& rData, ScDocument* pDoc, const ScAddress& rPos);
ScDataBarFormatData* GetData();
diff --git a/unusedcode.easy b/unusedcode.easy
index 9d9d3a639b8a..6c09c56c0852 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1,10 +1,7 @@
FontSelectPattern::FontSelectPattern(PhysicalFontFace const&, Size const&, float, int, bool)
RelatedMultipart::getIds()
SanExtensionImpl::setCertExtn(unsigned char*, unsigned int, unsigned char*, unsigned int, unsigned char)
-ScCTB::ScCTB()
-ScCondFormatItem::ScCondFormatItem(unsigned int)
ScConditionalFormat::dumpInfo(rtl::OUStringBuffer&) const
-ScDataBarSettingsDlg::ScDataBarSettingsDlg(Window*, ScDocument*, ScAddress const&)
ScMenuFloatingWindow::getDoc()
ScVbaFormat<ooo::vba::excel::XRange>::setNumberFormat(com::sun::star::lang::Locale, rtl::OUString const&)
ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()