summaryrefslogtreecommitdiff
path: root/sc/source/ui/dbgui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-29 15:57:22 +0200
committerNoel Grandin <noel@peralex.com>2015-05-05 09:30:40 +0200
commit03e6cc9130864adcea5a1ae5440f24a9c128e8d6 (patch)
tree4d8245b295c316bc71dc713c4691322c27a37d12 /sc/source/ui/dbgui
parent6ca16a4cad999dbb0296ea64db2263a26e52f36c (diff)
loplugin:staticmethods
Change-Id: I912187d6c481a2ba61fed9c01998bf6f3c08a6a0
Diffstat (limited to 'sc/source/ui/dbgui')
-rw-r--r--sc/source/ui/dbgui/consdlg.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sc/source/ui/dbgui/consdlg.cxx b/sc/source/ui/dbgui/consdlg.cxx
index 1b84ae626154..03fb45ce8d04 100644
--- a/sc/source/ui/dbgui/consdlg.cxx
+++ b/sc/source/ui/dbgui/consdlg.cxx
@@ -325,15 +325,15 @@ bool ScConsolidateDlg::VerifyEdit( formula::RefEdit* pEd )
if ( pEd == pEdDataArea )
{
- bEditOk = pRangeUtil->IsAbsArea( pEd->GetText(), pDoc,
+ bEditOk = ScRangeUtil::IsAbsArea( pEd->GetText(), pDoc,
nTab, &theCompleteStr, NULL, NULL, eConv );
}
else if ( pEd == pEdDestArea )
{
OUString aPosStr;
- pRangeUtil->CutPosString( pEd->GetText(), aPosStr );
- bEditOk = pRangeUtil->IsAbsPos( aPosStr, pDoc,
+ ScRangeUtil::CutPosString( pEd->GetText(), aPosStr );
+ bEditOk = ScRangeUtil::IsAbsPos( aPosStr, pDoc,
nTab, &theCompleteStr, NULL, eConv );
}
@@ -374,7 +374,7 @@ IMPL_LINK_NOARG(ScConsolidateDlg, OkHdl)
OUString aDestPosStr( pEdDestArea->GetText() );
const formula::FormulaGrammar::AddressConvention eConv = pDoc->GetAddressConvention();
- if ( pRangeUtil->IsAbsPos( aDestPosStr, pDoc, nTab, NULL, &aDestAddress, eConv ) )
+ if ( ScRangeUtil::IsAbsPos( aDestPosStr, pDoc, nTab, NULL, &aDestAddress, eConv ) )
{
ScConsolidateParam theOutParam( theConsData );
ScArea** ppDataAreas = new ScArea*[nDataAreaCount];
@@ -384,7 +384,7 @@ IMPL_LINK_NOARG(ScConsolidateDlg, OkHdl)
for ( i=0; i<nDataAreaCount; i++ )
{
pArea = new ScArea;
- pRangeUtil->MakeArea( pLbConsAreas->GetEntry( i ),
+ ScRangeUtil::MakeArea( pLbConsAreas->GetEntry( i ),
*pArea, pDoc, nTab, eConv );
ppDataAreas[i] = pArea;
}
@@ -435,7 +435,7 @@ IMPL_LINK( ScConsolidateDlg, ClickHdl, PushButton*, pBtn )
sal_uInt16 nAreaCount = 0;
const formula::FormulaGrammar::AddressConvention eConv = pDoc->GetAddressConvention();
- if ( pRangeUtil->IsAbsTabArea( aNewEntry, pDoc, &ppAreas, &nAreaCount, true, eConv ) )
+ if ( ScRangeUtil::IsAbsTabArea( aNewEntry, pDoc, &ppAreas, &nAreaCount, true, eConv ) )
{
// IsAbsTabArea() creates an array of ScArea pointers,
// which have been created dynamically as well.
@@ -511,7 +511,7 @@ IMPL_LINK( ScConsolidateDlg, SelectHdl, ListBox*, pLb )
OUString aString( pAreaData[nSelPos-1].aStrArea );
if ( pLb == pLbDestArea )
- pRangeUtil->CutPosString( aString, aString );
+ ScRangeUtil::CutPosString( aString, aString );
pEd->SetText( aString );