diff options
Diffstat (limited to 'sc/source/ui/dbgui/filtdlg.cxx')
-rw-r--r-- | sc/source/ui/dbgui/filtdlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/dbgui/filtdlg.cxx b/sc/source/ui/dbgui/filtdlg.cxx index 79fe8ab38db0..82235105e780 100644 --- a/sc/source/ui/dbgui/filtdlg.cxx +++ b/sc/source/ui/dbgui/filtdlg.cxx @@ -443,7 +443,7 @@ void ScFilterDlg::SetReference( const ScRange& rRef, ScDocument* pDocP ) { if ( rRef.aStart != rRef.aEnd ) RefInputStart( pEdCopyArea ); - OUString aRefStr(rRef.aStart.Format(SCA_ABS_3D, pDocP, pDocP->GetAddressConvention())); + OUString aRefStr(rRef.aStart.Format(ScRefFlags::ADDR_ABS_3D, pDocP, pDocP->GetAddressConvention())); pEdCopyArea->SetRefString( aRefStr ); } } @@ -664,9 +664,9 @@ ScQueryItem* ScFilterDlg::GetOutputItem() if ( pBtnCopyResult->IsChecked() ) { - sal_uInt16 nResult = theCopyPos.Parse( + ScRefFlags nResult = theCopyPos.Parse( pEdCopyArea->GetText(), pDoc, pDoc->GetAddressConvention()); - bCopyPosOk = ( SCA_VALID == (nResult & SCA_VALID) ); + bCopyPosOk = (nResult & ScRefFlags::VALID) == ScRefFlags::VALID; } if ( pBtnCopyResult->IsChecked() && bCopyPosOk ) |