callcatcher: chainsaw out some unnecessary code
Change-Id: I88de7a942fbc9e0c51a3261236f5203f037d2392
This commit is contained in:
parent
f03a3edf25
commit
9bf2d51927
@ -133,7 +133,6 @@ private:
|
||||
|
||||
String aName;
|
||||
String maStorageName;
|
||||
sal_Bool bBasMgrModified;
|
||||
sal_Bool mbDocMgr;
|
||||
|
||||
BasicManagerImpl* mpImpl;
|
||||
@ -197,7 +196,6 @@ public:
|
||||
sal_Bool RemoveLib( sal_uInt16 nLib, sal_Bool bDelBasicFromStorage );
|
||||
|
||||
// Modify-Flag will be reset only during save.
|
||||
sal_Bool IsModified() const;
|
||||
sal_Bool IsBasicModified() const;
|
||||
|
||||
std::vector<BasicError>& GetErrors();
|
||||
|
@ -685,8 +685,6 @@ BasicManager::BasicManager( SotStorage& rStorage, const String& rBaseURL, StarBA
|
||||
if ( rStorage.IsStream( String::CreateFromAscii(szOldManagerStream) ) )
|
||||
LoadOldBasicManager( rStorage );
|
||||
}
|
||||
|
||||
bBasMgrModified = sal_False;
|
||||
}
|
||||
|
||||
void copyToLibraryContainer( StarBASIC* pBasic, const LibraryContainerInfo& rInfo )
|
||||
@ -824,7 +822,6 @@ BasicManager::BasicManager( StarBASIC* pSLib, String* pLibPath, sal_Bool bDocMgr
|
||||
|
||||
// Save is only necessary if basic has changed
|
||||
xStdLib->SetModified( sal_False );
|
||||
bBasMgrModified = sal_False;
|
||||
}
|
||||
|
||||
void BasicManager::ImpMgrNotLoaded( const String& rStorageName )
|
||||
@ -1063,7 +1060,6 @@ void BasicManager::Init()
|
||||
{
|
||||
DBG_CHKTHIS( BasicManager, 0 );
|
||||
|
||||
bBasMgrModified = sal_False;
|
||||
pLibs = new BasicLibs;
|
||||
mpImpl = new BasicManagerImpl();
|
||||
}
|
||||
@ -1293,7 +1289,6 @@ StarBASIC* BasicManager::AddLib( SotStorage& rStorage, const String& rLibName, s
|
||||
pLibInfo->GetLib()->SetModified( sal_True ); // Must be saved after Add!
|
||||
pLibInfo->SetStorageName( String::CreateFromAscii(szImbedded) ); // Save in BasicManager-Storage
|
||||
}
|
||||
bBasMgrModified = sal_True;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -1391,7 +1386,6 @@ sal_Bool BasicManager::RemoveLib( sal_uInt16 nLib, sal_Bool bDelBasicFromStorage
|
||||
}
|
||||
}
|
||||
}
|
||||
bBasMgrModified = sal_True;
|
||||
if ( pLibInfo->GetLib().Is() )
|
||||
GetStdLib()->Remove( pLibInfo->GetLib() );
|
||||
delete pLibs->Remove( pLibInfo );
|
||||
@ -1481,7 +1475,6 @@ sal_Bool BasicManager::SetLibName( sal_uInt16 nLib, const String& rName )
|
||||
xStdLib->SetName( rName );
|
||||
xStdLib->SetModified( sal_True );
|
||||
}
|
||||
bBasMgrModified = sal_True;
|
||||
return sal_True;
|
||||
}
|
||||
return sal_False;
|
||||
@ -1616,15 +1609,6 @@ BasicLibInfo* BasicManager::FindLibInfo( StarBASIC* pBasic ) const
|
||||
}
|
||||
|
||||
|
||||
sal_Bool BasicManager::IsModified() const
|
||||
{
|
||||
DBG_CHKTHIS( BasicManager, 0 );
|
||||
|
||||
if ( bBasMgrModified )
|
||||
return sal_True;
|
||||
return IsBasicModified();
|
||||
}
|
||||
|
||||
sal_Bool BasicManager::IsBasicModified() const
|
||||
{
|
||||
DBG_CHKTHIS( BasicManager, 0 );
|
||||
|
@ -87,19 +87,6 @@ namespace comphelper
|
||||
}
|
||||
};
|
||||
|
||||
//------------------------------------------------------------------
|
||||
/** find property with given name
|
||||
|
||||
@param o_rProp
|
||||
Output parameter receiving the property, if found
|
||||
|
||||
@param i_rPropName
|
||||
Name of the property to find
|
||||
|
||||
@return false, if property was not found
|
||||
*/
|
||||
COMPHELPER_DLLPUBLIC bool findProperty(starbeans::Property& o_rProp, staruno::Sequence<starbeans::Property>& i_seqProps, const ::rtl::OUString& i_rPropName);
|
||||
|
||||
//------------------------------------------------------------------
|
||||
/// remove the property with the given name from the given sequence
|
||||
COMPHELPER_DLLPUBLIC void RemoveProperty(staruno::Sequence<starbeans::Property>& seqProps, const ::rtl::OUString& _rPropName);
|
||||
|
@ -150,25 +150,6 @@ sal_Bool hasProperty(const rtl::OUString& _rName, const Reference<XPropertySet>&
|
||||
return sal_False;
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------
|
||||
bool findProperty(Property& o_rProp,
|
||||
Sequence<Property>& i_seqProps,
|
||||
const ::rtl::OUString& i_rPropName)
|
||||
{
|
||||
const Property* pAry(i_seqProps.getConstArray());
|
||||
const sal_Int32 nLen(i_seqProps.getLength());
|
||||
const Property* pRes(
|
||||
std::find_if(pAry,pAry+nLen,
|
||||
boost::bind(PropertyStringEqualFunctor(),
|
||||
_1,
|
||||
boost::cref(i_rPropName))));
|
||||
if( pRes == pAry+nLen )
|
||||
return false;
|
||||
|
||||
o_rProp = *pRes;
|
||||
return true;
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------
|
||||
void RemoveProperty(Sequence<Property>& _rProps, const rtl::OUString& _rPropName)
|
||||
{
|
||||
|
@ -230,20 +230,6 @@ void OStatement_Base::clearMyResultSet () throw (SQLException)
|
||||
|
||||
m_xResultSet = Reference< XResultSet>();
|
||||
}
|
||||
//--------------------------------------------------------------------
|
||||
// setWarning
|
||||
// Sets the warning
|
||||
//--------------------------------------------------------------------
|
||||
|
||||
void OStatement_Base::setWarning (const SQLWarning &ex) throw( SQLException)
|
||||
{
|
||||
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "file", "Ocke.Janssen@sun.com", "OStatement_Base::setWarning " );
|
||||
::osl::MutexGuard aGuard( m_aMutex );
|
||||
checkDisposed(OStatement_BASE::rBHelper.bDisposed);
|
||||
|
||||
|
||||
m_aLastWarning = ex;
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
Any SAL_CALL OStatement_Base::getWarnings( ) throw(SQLException, RuntimeException)
|
||||
|
@ -119,7 +119,6 @@ namespace connectivity
|
||||
|
||||
void reset () throw( ::com::sun::star::sdbc::SQLException);
|
||||
void clearMyResultSet () throw( ::com::sun::star::sdbc::SQLException);
|
||||
void setWarning (const ::com::sun::star::sdbc::SQLWarning &ex) throw( ::com::sun::star::sdbc::SQLException);
|
||||
sal_Int32 getPrecision ( sal_Int32 sqlType);
|
||||
|
||||
void disposeResultSet();
|
||||
|
@ -69,7 +69,6 @@ namespace connectivity
|
||||
void setScanner(sal_Bool _bNull=sal_False);
|
||||
// rules settings
|
||||
void SetRule(sal_Int32 nRule) {m_nRule = nRule;}
|
||||
sal_Int32 GetCurrentRule() const;
|
||||
sal_Int32 GetGERRule() const;
|
||||
sal_Int32 GetENGRule() const;
|
||||
sal_Int32 GetSQLRule() const;
|
||||
|
@ -799,7 +799,6 @@ IParseContext::InternationalKeyCode OSQLScanner::getInternationalTokenID(const s
|
||||
return (m_bInternational) ? m_pContext->getIntlKeyCode(::rtl::OString(sToken) ) : IParseContext::KEY_NONE;
|
||||
}
|
||||
// -------------------------------------------------------------------------
|
||||
sal_Int32 OSQLScanner::GetCurrentRule() const { return m_nRule; }
|
||||
sal_Int32 OSQLScanner::GetGERRule() const { return PREDICATE_GER; }
|
||||
sal_Int32 OSQLScanner::GetENGRule() const { return PREDICATE_ENG; }
|
||||
sal_Int32 OSQLScanner::GetSQLRule() const { return SQL; }
|
||||
|
@ -188,7 +188,7 @@ public:
|
||||
#ifdef USE_MEMPOOL
|
||||
DECL_FIXEDMEMPOOL_NEWDEL( ScValueCell )
|
||||
#endif
|
||||
ScValueCell();
|
||||
|
||||
explicit ScValueCell( double fValue );
|
||||
|
||||
#if OSL_DEBUG_LEVEL > 0
|
||||
@ -433,7 +433,6 @@ public:
|
||||
bool TestTabRefAbs(SCTAB nTable);
|
||||
void UpdateCompile( bool bForceIfNameInUse = false );
|
||||
void FindRangeNamesInUse(std::set<sal_uInt16>& rIndexes) const;
|
||||
void ReplaceRangeNamesInUse( const ScRangeData::IndexMap& rMap );
|
||||
bool IsSubTotal() const { return bSubTotal; }
|
||||
bool IsChanged() const;
|
||||
void ResetChanged();
|
||||
|
@ -292,7 +292,6 @@ public:
|
||||
|
||||
void SetTabNo(SCTAB nNewTab);
|
||||
void FindRangeNamesInUse(SCROW nRow1, SCROW nRow2, std::set<sal_uInt16>& rIndexes) const;
|
||||
void ReplaceRangeNamesInUse( SCROW nRow1, SCROW nRow2, const ScRangeData::IndexMap& rMap );
|
||||
|
||||
const SfxPoolItem* GetAttr( SCROW nRow, sal_uInt16 nWhich ) const;
|
||||
const ScPatternAttr* GetPattern( SCROW nRow ) const;
|
||||
|
@ -1197,7 +1197,6 @@ public:
|
||||
|
||||
SC_DLLPUBLIC sal_uLong AddCondFormat( ScConditionalFormat* pNew, SCTAB nTab );
|
||||
void DeleteConditionalFormat( sal_uLong nIndex, SCTAB nTab );
|
||||
SC_DLLPUBLIC void FindConditionalFormat( sal_uLong nKey, SCTAB nTab, ScRangeList& rRanges );
|
||||
SC_DLLPUBLIC void FindConditionalFormat( sal_uLong nKey, ScRangeList& rRanges, SCTAB nTab );
|
||||
void ConditionalChanged( sal_uLong nKey, SCTAB nTab );
|
||||
|
||||
|
@ -163,8 +163,6 @@ public:
|
||||
throw(::com::sun::star::uno::RuntimeException);
|
||||
|
||||
static const com::sun::star::uno::Sequence<sal_Int8>& getUnoTunnelId();
|
||||
static ScNamedRangeObj* getImplementation( const com::sun::star::uno::Reference<
|
||||
com::sun::star::uno::XInterface> xObj );
|
||||
|
||||
// XServiceInfo
|
||||
virtual ::rtl::OUString SAL_CALL getImplementationName()
|
||||
|
@ -154,8 +154,6 @@ public:
|
||||
|
||||
void ValidateTabRefs();
|
||||
|
||||
void ReplaceRangeNamesInUse( const IndexMap& rMap );
|
||||
|
||||
static void MakeValidName( String& rName );
|
||||
SC_DLLPUBLIC static bool IsNameValid( const String& rName, ScDocument* pDoc );
|
||||
|
||||
|
@ -479,8 +479,6 @@ public:
|
||||
void SetTabNo(SCTAB nNewTab);
|
||||
void FindRangeNamesInUse(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
|
||||
std::set<sal_uInt16>& rIndexes) const;
|
||||
void ReplaceRangeNamesInUse(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
|
||||
const ScRangeData::IndexMap& rMap );
|
||||
void Fill( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
|
||||
sal_uLong nFillCount, FillDir eFillDir, FillCmd eFillCmd, FillDateCmd eFillDateCmd,
|
||||
double nStepValue, double nMaxValue, ScProgress* pProgress);
|
||||
|
@ -52,7 +52,6 @@ public:
|
||||
|
||||
bool IsStrData() const;
|
||||
SC_DLLPUBLIC const rtl::OUString& GetString() const;
|
||||
double GetValue() const;
|
||||
StringType GetStringType() const;
|
||||
|
||||
struct LessCaseSensitive : std::binary_function<ScTypedStrData, ScTypedStrData, bool>
|
||||
|
@ -633,12 +633,6 @@ ScNoteCell::~ScNoteCell()
|
||||
|
||||
// ============================================================================
|
||||
|
||||
ScValueCell::ScValueCell() :
|
||||
ScBaseCell( CELLTYPE_VALUE ),
|
||||
mfValue( 0.0 )
|
||||
{
|
||||
}
|
||||
|
||||
ScValueCell::ScValueCell( double fValue ) :
|
||||
ScBaseCell( CELLTYPE_VALUE ),
|
||||
mfValue( fValue )
|
||||
|
@ -1543,26 +1543,6 @@ void ScFormulaCell::FindRangeNamesInUse(std::set<sal_uInt16>& rIndexes) const
|
||||
lcl_FindRangeNamesInUse( rIndexes, pCode, pDocument->GetRangeName() );
|
||||
}
|
||||
|
||||
void ScFormulaCell::ReplaceRangeNamesInUse( const ScRangeData::IndexMap& rMap )
|
||||
{
|
||||
for( FormulaToken* p = pCode->First(); p; p = pCode->Next() )
|
||||
{
|
||||
if( p->GetOpCode() == ocName )
|
||||
{
|
||||
sal_uInt16 nIndex = p->GetIndex();
|
||||
ScRangeData::IndexMap::const_iterator itr = rMap.find(nIndex);
|
||||
sal_uInt16 nNewIndex = itr == rMap.end() ? nIndex : itr->second;
|
||||
if ( nIndex != nNewIndex )
|
||||
{
|
||||
p->SetIndex( nNewIndex );
|
||||
bCompile = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
if( bCompile )
|
||||
CompileTokenArray();
|
||||
}
|
||||
|
||||
bool ScFormulaCell::IsChanged() const
|
||||
{
|
||||
return bChanged;
|
||||
|
@ -1856,24 +1856,6 @@ void ScColumn::FindRangeNamesInUse(SCROW nRow1, SCROW nRow2, std::set<sal_uInt16
|
||||
((ScFormulaCell*)maItems[i].pCell)->FindRangeNamesInUse(rIndexes);
|
||||
}
|
||||
|
||||
void ScColumn::ReplaceRangeNamesInUse(SCROW nRow1, SCROW nRow2,
|
||||
const ScRangeData::IndexMap& rMap )
|
||||
{
|
||||
if ( !maItems.empty() )
|
||||
for (SCSIZE i = 0; i < maItems.size(); i++)
|
||||
{
|
||||
if ((maItems[i].nRow >= nRow1) &&
|
||||
(maItems[i].nRow <= nRow2) &&
|
||||
(maItems[i].pCell->GetCellType() == CELLTYPE_FORMULA))
|
||||
{
|
||||
SCROW nRow = maItems[i].nRow;
|
||||
((ScFormulaCell*)maItems[i].pCell)->ReplaceRangeNamesInUse( rMap );
|
||||
if ( nRow != maItems[i].nRow )
|
||||
Search( nRow, i ); // Listener geloescht/eingefuegt?
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void ScColumn::SetDirtyVar()
|
||||
{
|
||||
for (SCSIZE i=0; i<maItems.size(); i++)
|
||||
|
@ -727,12 +727,6 @@ const ScValidationData* ScDocument::GetValidationEntry( sal_uLong nIndex ) const
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void ScDocument::FindConditionalFormat( sal_uLong nKey, SCTAB nTab, ScRangeList& rRanges )
|
||||
{
|
||||
if(VALIDTAB(nTab) && nTab < static_cast<SCTAB>(maTabs.size()) && maTabs[nTab])
|
||||
maTabs[nTab]->FindConditionalFormat( nKey, rRanges );
|
||||
}
|
||||
|
||||
void ScDocument::FindConditionalFormat( sal_uLong nKey, ScRangeList& rRanges, SCTAB nTab )
|
||||
{
|
||||
if(VALIDTAB(nTab) && nTab < static_cast<SCTAB>(maTabs.size()) && maTabs[nTab])
|
||||
|
@ -1586,16 +1586,6 @@ void ScTable::FindRangeNamesInUse(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW n
|
||||
aCol[i].FindRangeNamesInUse(nRow1, nRow2, rIndexes);
|
||||
}
|
||||
|
||||
void ScTable::ReplaceRangeNamesInUse(SCCOL nCol1, SCROW nRow1,
|
||||
SCCOL nCol2, SCROW nRow2,
|
||||
const ScRangeData::IndexMap& rMap )
|
||||
{
|
||||
for (SCCOL i = nCol1; i <= nCol2 && (ValidCol(i)); i++)
|
||||
{
|
||||
aCol[i].ReplaceRangeNamesInUse( nRow1, nRow2, rMap );
|
||||
}
|
||||
}
|
||||
|
||||
void ScTable::ExtendPrintArea( OutputDevice* pDev,
|
||||
SCCOL /* nStartCol */, SCROW nStartRow, SCCOL& rEndCol, SCROW nEndRow )
|
||||
{
|
||||
|
@ -114,11 +114,6 @@ const rtl::OUString& ScTypedStrData::GetString() const
|
||||
return maStrValue;
|
||||
}
|
||||
|
||||
double ScTypedStrData::GetValue() const
|
||||
{
|
||||
return mfValue;
|
||||
}
|
||||
|
||||
ScTypedStrData::StringType ScTypedStrData::GetStringType() const
|
||||
{
|
||||
return meStrType;
|
||||
|
@ -177,55 +177,6 @@ ScDataBarSettingsDlg::ScDataBarSettingsDlg(Window* pWindow, const ScDataBarForma
|
||||
TypeSelectHdl(NULL);
|
||||
}
|
||||
|
||||
ScDataBarSettingsDlg::ScDataBarSettingsDlg(Window* pWindow, ScDataBarFormat* pFormat):
|
||||
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 ) ),
|
||||
maStrWarnSameValue( SC_RESSTR( STR_WARN_SAME_VALUE ) )
|
||||
{
|
||||
Init();
|
||||
FreeResource();
|
||||
|
||||
const ScDataBarFormatData* pData = pFormat->GetDataBarData();
|
||||
maLbPos.SelectEntry( pData->maPositiveColor );
|
||||
if(pData->mpNegativeColor)
|
||||
maLbNeg.SelectEntry( *pData->mpNegativeColor );
|
||||
|
||||
switch (pData->meAxisPosition)
|
||||
{
|
||||
case databar::NONE:
|
||||
maLbAxisPos.SelectEntryPos(2);
|
||||
break;
|
||||
case databar::AUTOMATIC:
|
||||
maLbAxisPos.SelectEntryPos(0);
|
||||
break;
|
||||
case databar::MIDDLE:
|
||||
maLbAxisPos.SelectEntryPos(1);
|
||||
break;
|
||||
}
|
||||
::SetType(pData->mpLowerLimit.get(), maLbTypeMin);
|
||||
::SetType(pData->mpUpperLimit.get(), maLbTypeMax);
|
||||
SetValue(pData->mpLowerLimit.get(), maEdMin);
|
||||
SetValue(pData->mpUpperLimit.get(), maEdMax);
|
||||
}
|
||||
|
||||
void ScDataBarSettingsDlg::Init()
|
||||
{
|
||||
SfxObjectShell* pDocSh = SfxObjectShell::Current();
|
||||
|
@ -921,20 +921,6 @@ IMPL_LINK_NOARG( ScCondFrmtEntry, ConditionTypeSelectHdl )
|
||||
return 0;
|
||||
}
|
||||
|
||||
ScCondFormatList::ScCondFormatList(Window* pParent, const ResId& rResId, ScDocument* pDoc):
|
||||
Control(pParent, rResId),
|
||||
mbHasScrollBar(false),
|
||||
mpScrollBar(new ScrollBar(this, WB_VERT )),
|
||||
mnTopIndex(0),
|
||||
mpDoc(pDoc)
|
||||
{
|
||||
mpScrollBar->SetScrollHdl( LINK( this, ScCondFormatList, ScrollHdl ) );
|
||||
mpScrollBar->EnableDrag();
|
||||
|
||||
RecalcAll();
|
||||
FreeResource();
|
||||
}
|
||||
|
||||
ScCondFormatList::ScCondFormatList(Window* pParent, const ResId& rResId, ScDocument* pDoc, const ScConditionalFormat* pFormat, const ScRangeList& rRanges, const ScAddress& rPos):
|
||||
Control(pParent, rResId),
|
||||
mbHasScrollBar(false),
|
||||
|
@ -78,14 +78,6 @@ ScCsvControl::ScCsvControl( ScCsvControl& rParent ) :
|
||||
{
|
||||
}
|
||||
|
||||
ScCsvControl::ScCsvControl( Window* pParent, const ScCsvLayoutData& rData, WinBits nStyle ) :
|
||||
Control( pParent, nStyle ),
|
||||
mrData( rData ),
|
||||
mpAccessible( NULL ),
|
||||
mbValidGfx( false )
|
||||
{
|
||||
}
|
||||
|
||||
ScCsvControl::ScCsvControl( Window* pParent, const ScCsvLayoutData& rData, const ResId& rResId ) :
|
||||
Control( pParent, rResId ),
|
||||
mrData( rData ),
|
||||
|
@ -74,7 +74,6 @@ private:
|
||||
public:
|
||||
ScDataBarSettingsDlg(Window* pParent);
|
||||
ScDataBarSettingsDlg(Window* pParent, const ScDataBarFormatData& rData);
|
||||
ScDataBarSettingsDlg(Window* pParent, ScDataBarFormat* pFormat);
|
||||
|
||||
ScDataBarFormatData* GetData();
|
||||
};
|
||||
|
@ -164,7 +164,6 @@ private:
|
||||
void RecalcAll();
|
||||
void DoScroll(long nDiff);
|
||||
public:
|
||||
ScCondFormatList( Window* pParent, const ResId& rResId, ScDocument* pDoc );
|
||||
ScCondFormatList( Window* pParent, const ResId& rResId, ScDocument* pDoc, const ScConditionalFormat* pFormat, const ScRangeList& rRanges, const ScAddress& rPos);
|
||||
|
||||
ScConditionalFormat* GetConditionalFormat() const;
|
||||
|
@ -276,7 +276,6 @@ private:
|
||||
// ------------------------------------------------------------------------
|
||||
public:
|
||||
explicit ScCsvControl( ScCsvControl& rParent );
|
||||
explicit ScCsvControl( Window* pParent, const ScCsvLayoutData& rData, WinBits nStyle = 0 );
|
||||
explicit ScCsvControl( Window* pParent, const ScCsvLayoutData& rData, const ResId& rResId );
|
||||
virtual ~ScCsvControl();
|
||||
|
||||
|
@ -188,7 +188,6 @@ public:
|
||||
void SetNumFmtByStr( const String& rCode );
|
||||
void ChangeNumFmtDecimals( sal_Bool bIncrement );
|
||||
|
||||
void SetConditionalFormat( const ScConditionalFormat& rNew );
|
||||
void SetValidation( const ScValidationData& rNew );
|
||||
|
||||
void ChangeIndent( sal_Bool bIncrement );
|
||||
|
@ -482,15 +482,6 @@ const uno::Sequence<sal_Int8>& ScNamedRangeObj::getUnoTunnelId()
|
||||
return theScNamedRangeObjUnoTunnelId::get().getSeq();
|
||||
}
|
||||
|
||||
ScNamedRangeObj* ScNamedRangeObj::getImplementation( const uno::Reference<uno::XInterface> xObj )
|
||||
{
|
||||
ScNamedRangeObj* pRet = NULL;
|
||||
uno::Reference<lang::XUnoTunnel> xUT( xObj, uno::UNO_QUERY );
|
||||
if (xUT.is())
|
||||
pRet = reinterpret_cast<ScNamedRangeObj*>(sal::static_int_cast<sal_IntPtr>(xUT->getSomething(getUnoTunnelId())));
|
||||
return pRet;
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------
|
||||
|
||||
ScNamedRangesObj::ScNamedRangesObj(ScDocShell* pDocSh) :
|
||||
|
@ -29,12 +29,6 @@
|
||||
|
||||
#include "vbafoundfiles.hxx"
|
||||
|
||||
////////////////////////////////VbaFoundFilesEnum//////////////////////////////////////////
|
||||
VbaFoundFilesEnum::VbaFoundFilesEnum() : m_nIndex(0)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
VbaFoundFilesEnum::VbaFoundFilesEnum( css::uno::Sequence<rtl::OUString>& sFileList ) : m_nIndex(0), m_sFileList(sFileList)
|
||||
{
|
||||
|
||||
@ -45,12 +39,6 @@ VbaFoundFilesEnum::~VbaFoundFilesEnum()
|
||||
|
||||
}
|
||||
|
||||
void VbaFoundFilesEnum::SetFileList( css::uno::Sequence<rtl::OUString>& sFileList )
|
||||
{
|
||||
m_nIndex = 0;
|
||||
m_sFileList = sFileList;
|
||||
}
|
||||
|
||||
sal_Int32 SAL_CALL VbaFoundFilesEnum::getCount() throw (css::uno::RuntimeException)
|
||||
{
|
||||
return m_sFileList.getLength();
|
||||
|
@ -46,12 +46,9 @@ private:
|
||||
css::uno::Sequence< rtl::OUString > m_sFileList;
|
||||
|
||||
public:
|
||||
VbaFoundFilesEnum();
|
||||
VbaFoundFilesEnum( css::uno::Sequence< rtl::OUString >& sFileList );
|
||||
~VbaFoundFilesEnum();
|
||||
|
||||
void SetFileList( css::uno::Sequence< rtl::OUString >& sFileList );
|
||||
|
||||
// XIndexAccess
|
||||
virtual sal_Int32 SAL_CALL getCount() throw (css::uno::RuntimeException);
|
||||
virtual css::uno::Any SAL_CALL getByIndex( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::lang::WrappedTargetException, css::uno::RuntimeException);
|
||||
|
@ -3071,19 +3071,6 @@ void ScViewFunc::SetSelectionFrameLines( const SvxBorderLine* pLine,
|
||||
|
||||
#undef SET_LINE_ATTRIBUTES
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
void ScViewFunc::SetConditionalFormat( const ScConditionalFormat& rNew )
|
||||
{
|
||||
ScDocument* pDoc = GetViewData()->GetDocument();
|
||||
sal_uLong nIndex = pDoc->AddCondFormat(rNew.Clone(), GetViewData()->GetTabNo()); // for it there is no Undo
|
||||
SfxUInt32Item aItem( ATTR_CONDITIONAL, nIndex );
|
||||
|
||||
ApplyAttr( aItem ); // with Paint and Undo...
|
||||
}
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
void ScViewFunc::SetValidation( const ScValidationData& rNew )
|
||||
|
@ -111,7 +111,6 @@ namespace drawinglayer
|
||||
sal_Int32 getTextUpperDistance() const;
|
||||
sal_Int32 getTextRightDistance() const;
|
||||
sal_Int32 getTextLowerDistance() const;
|
||||
sal_uInt32 getPropertiesVersion() const;
|
||||
SdrTextHorzAdjust getSdrTextHorzAdjust() const;
|
||||
SdrTextVertAdjust getSdrTextVertAdjust() const;
|
||||
|
||||
|
@ -436,11 +436,6 @@ namespace drawinglayer
|
||||
return mpSdrTextAttribute->getTextLowerDistance();
|
||||
}
|
||||
|
||||
sal_uInt32 SdrTextAttribute::getPropertiesVersion() const
|
||||
{
|
||||
return mpSdrTextAttribute->getPropertiesVersion();
|
||||
}
|
||||
|
||||
SdrTextHorzAdjust SdrTextAttribute::getSdrTextHorzAdjust() const
|
||||
{
|
||||
return mpSdrTextAttribute->getSdrTextHorzAdjust();
|
||||
|
@ -100,10 +100,6 @@ public:
|
||||
// Region
|
||||
static Region GetRegion( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XRegion >& rxRegion );
|
||||
|
||||
|
||||
// Pointer
|
||||
static ::com::sun::star::uno::Reference< ::com::sun::star::awt::XPointer> CreatePointer();
|
||||
|
||||
// Polygon
|
||||
static Polygon CreatePolygon( const ::com::sun::star::uno::Sequence< sal_Int32 >& DataX, const ::com::sun::star::uno::Sequence< sal_Int32 >& DataY );
|
||||
|
||||
|
@ -169,12 +169,6 @@ Region VCLUnoHelper::GetRegion( const ::com::sun::star::uno::Reference< ::com::s
|
||||
return xWin;
|
||||
}
|
||||
|
||||
::com::sun::star::uno::Reference< ::com::sun::star::awt::XPointer> VCLUnoHelper::CreatePointer()
|
||||
{
|
||||
::com::sun::star::uno::Reference< ::com::sun::star::awt::XPointer> xPointer = new VCLXPointer;
|
||||
return xPointer;
|
||||
}
|
||||
|
||||
OutputDevice* VCLUnoHelper::GetOutputDevice( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XDevice>& rxDevice )
|
||||
{
|
||||
OutputDevice* pOutDev = NULL;
|
||||
|
@ -37,12 +37,8 @@ ScCompressedArray<int, unsigned short>::Remove(int, unsigned long)
|
||||
ScCompressedArray<int, unsigned short>::ScCompressedArray(int, unsigned short const&, unsigned long)
|
||||
ScCompressedArray<int, unsigned short>::ScCompressedArray(int, unsigned short const*, unsigned long)
|
||||
ScCompressedArray<int, unsigned short>::SetValue(int, unsigned short const&)
|
||||
ScCondFormatList::ScCondFormatList(Window*, ResId const&, ScDocument*)
|
||||
ScCondFrmtItem::ScCondFrmtItem(unsigned short, ScConditionalFormat const&)
|
||||
ScCsvControl::ScCsvControl(Window*, ScCsvLayoutData const&, long)
|
||||
ScDBCollection::AnonDBs::erase(boost::void_ptr_iterator<__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<void**, std::__cxx1998::vector<void*, std::allocator<void*> > >, std::__debug::vector<void*, std::allocator<void*> > >, ScDBData>)
|
||||
ScDataBarSettingsDlg::ScDataBarSettingsDlg(Window*, ScDataBarFormat*)
|
||||
ScDocument::FindConditionalFormat(unsigned long, short, ScRangeList&)
|
||||
ScHTMLColOffset::Insert(ScHTMLColOffset const*, unsigned short, unsigned short)
|
||||
ScHTMLColOffset::Insert(unsigned long const&, unsigned short&)
|
||||
ScHTMLColOffset::Insert(unsigned long const*, unsigned short)
|
||||
@ -50,7 +46,6 @@ ScHTMLColOffset::Remove(unsigned long const&, unsigned short)
|
||||
ScHTMLColOffset_SAR::Replace(unsigned long const&, unsigned short)
|
||||
ScHTMLColOffset_SAR::Replace(unsigned long const*, unsigned short, unsigned short)
|
||||
ScHTMLColOffset_SAR::_ForEach(unsigned short, unsigned short, unsigned char (*)(unsigned long const&, void*), void*)
|
||||
ScNamedRangeObj::getImplementation(com::sun::star::uno::Reference<com::sun::star::uno::XInterface>)
|
||||
ScRTFColTwips::Insert(ScRTFColTwips const*, unsigned short, unsigned short)
|
||||
ScRTFColTwips::Insert(unsigned long const&, unsigned short&)
|
||||
ScRTFColTwips::Insert(unsigned long const*, unsigned short)
|
||||
@ -59,24 +54,19 @@ ScRTFColTwips_SAR::Replace(unsigned long const&, unsigned short)
|
||||
ScRTFColTwips_SAR::Replace(unsigned long const*, unsigned short, unsigned short)
|
||||
ScRTFColTwips_SAR::_ForEach(unsigned short, unsigned short, unsigned char (*)(unsigned long const&, void*), void*)
|
||||
ScSimpleRangeList::Range::contains(ScSimpleRangeList::Range const&) const
|
||||
ScTable::ReplaceRangeNamesInUse(short, int, short, int, std::__debug::map<unsigned short, unsigned short, std::less<unsigned short>, std::allocator<std::pair<unsigned short const, unsigned short> > > const&)
|
||||
ScTypedStrData::GetValue() const
|
||||
ScValidationEntries_Impl::Insert(ScValidationData* const&, unsigned short&)
|
||||
ScValidationEntries_Impl::Insert(ScValidationData* const*, unsigned short)
|
||||
ScValidationEntries_Impl::Insert(ScValidationEntries_Impl const*, unsigned short, unsigned short)
|
||||
ScValidationEntries_Impl::Remove(ScValidationData* const&, unsigned short)
|
||||
ScValidationEntries_Impl::Remove(unsigned short, unsigned short)
|
||||
ScValueCell::ScValueCell()
|
||||
ScVbaFormat<ooo::vba::excel::XRange>::getXServiceInfo()
|
||||
ScVbaFormat<ooo::vba::excel::XRange>::setNumberFormat(com::sun::star::lang::Locale, rtl::OUString const&)
|
||||
ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
|
||||
ScVbaFormat<ooo::vba::excel::XStyle>::getXServiceInfo()
|
||||
ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
|
||||
ScVbaFormat<ooo::vba::excel::XStyle>::setNumberFormat(com::sun::star::lang::Locale, rtl::OUString const&)
|
||||
ScViewFunc::SetConditionalFormat(ScConditionalFormat const&)
|
||||
SecurityEnvironment_NssImpl::getImplementation(com::sun::star::uno::Reference<com::sun::star::uno::XInterface>)
|
||||
SfxDockingWrapper::GetChildWindowId()
|
||||
SfxFilterPtrArr::DeleteAndDestroy(unsigned short, unsigned short)
|
||||
SfxModuleArr_Impl::DeleteAndDestroy(unsigned short, unsigned short)
|
||||
SfxNavigatorWrapper::GetChildWindowId()
|
||||
SfxPartChildWnd_Impl::GetChildWindowId()
|
||||
@ -106,10 +96,10 @@ SvxMSDffShapeInfos::Insert(SvxMSDffShapeInfo* const*, unsigned short)
|
||||
SvxMSDffShapeInfos::Insert(SvxMSDffShapeInfos const*, unsigned short, unsigned short)
|
||||
SvxMSDffShapeInfos::Remove(SvxMSDffShapeInfo* const&, unsigned short)
|
||||
SvxMSDffShapeTxBxSort::DeleteAndDestroy(unsigned short, unsigned short)
|
||||
SvxMSDffShapeTxBxSort::Insert(SvxMSDffShapeOrder* const&, unsigned short&)
|
||||
SvxMSDffShapeTxBxSort::Insert(SvxMSDffShapeOrder* const*, unsigned short)
|
||||
SvxMSDffShapeTxBxSort::Insert(SvxMSDffShapeOrder const*&, unsigned short&)
|
||||
SvxMSDffShapeTxBxSort::Insert(SvxMSDffShapeOrder const**, unsigned short)
|
||||
SvxMSDffShapeTxBxSort::Insert(SvxMSDffShapeTxBxSort const*, unsigned short, unsigned short)
|
||||
SvxMSDffShapeTxBxSort::Remove(SvxMSDffShapeOrder* const&, unsigned short)
|
||||
SvxMSDffShapeTxBxSort::Remove(SvxMSDffShapeOrder const*&, unsigned short)
|
||||
SvxMSDffShapeTxBxSort::Remove(unsigned short, unsigned short)
|
||||
SvxRubyChildWindow::GetChildWindowId()
|
||||
SvxTabStopArr::Insert(SvxTabStop const&, unsigned short&)
|
||||
@ -221,11 +211,8 @@ SystemChildWindow::SystemChildWindow(Window*, ResId const&)
|
||||
TempFile::IsValid() const
|
||||
TextEngine::GetLeftMargin() const
|
||||
TransferableDataHelper::GetInterface(com::sun::star::datatransfer::DataFlavor const&, com::sun::star::uno::Reference<com::sun::star::uno::XInterface>&)
|
||||
VCLUnoHelper::CreatePointer()
|
||||
VCLXPrinterServer::getImplementationId()
|
||||
VCLXPrinterServer::getTypes()
|
||||
VbaFoundFilesEnum::SetFileList(com::sun::star::uno::Sequence<rtl::OUString>&)
|
||||
VbaFoundFilesEnum::VbaFoundFilesEnum()
|
||||
VclEventListeners2::~VclEventListeners2()
|
||||
ViewShell::getIDocumentFieldsAccess() const
|
||||
VirtualDevice::SetOutputSizePixelAndBuffer(Size const&, boost::shared_array<unsigned char> const&)
|
||||
@ -630,13 +617,10 @@ comphelper::OSelectionChangeListener::disposeAdapter()
|
||||
comphelper::detail::ConfigurationWrapper::getGroupReadWrite(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&) const
|
||||
comphelper::detail::ConfigurationWrapper::getLocalizedPropertyValue(rtl::OUString const&) const
|
||||
comphelper::detail::ConfigurationWrapper::setLocalizedPropertyValue(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&, com::sun::star::uno::Any const&) const
|
||||
comphelper::findProperty(com::sun::star::beans::Property&, com::sun::star::uno::Sequence<com::sun::star::beans::Property>&, rtl::OUString const&)
|
||||
connectivity::OKeyValue::OKeyValue()
|
||||
connectivity::OSQLInternalNode::OSQLInternalNode(unsigned short const*, connectivity::SQLNodeType, unsigned int)
|
||||
connectivity::OSQLScanner::GetCurrentRule() const
|
||||
connectivity::SQLError::getSQLState(int) const
|
||||
connectivity::file::OStatement_Base::reset()
|
||||
connectivity::file::OStatement_Base::setWarning(com::sun::star::sdbc::SQLWarning const&)
|
||||
connectivity::mozab::MQueryHelper::next()
|
||||
connectivity::sdbcx::OGroup::OGroup(rtl::OUString const&, unsigned char)
|
||||
connectivity::sdbcx::OGroup::OGroup(unsigned char)
|
||||
@ -650,7 +634,6 @@ dbtools::getConnection(rtl::OUString const&, rtl::OUString const&, rtl::OUString
|
||||
dp_misc::TRACE(rtl::OString const&)
|
||||
dp_misc::writeConsoleError(rtl::OString const&)
|
||||
drawinglayer::attribute::SdrFormTextAttribute::getFormTextShdwTransp() const
|
||||
drawinglayer::attribute::SdrTextAttribute::getPropertiesVersion() const
|
||||
drawinglayer::attribute::SdrTextAttribute::isWrongSpell() const
|
||||
formula::FormulaTokenIterator::First()
|
||||
jfw_plugin::VendorBase::createInstance()
|
||||
|
Loading…
x
Reference in New Issue
Block a user