diff options
Diffstat (limited to 'sc/source/ui/miscdlgs')
-rw-r--r-- | sc/source/ui/miscdlgs/acredlin.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/anyrefdg.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/autofmt.cxx | 40 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/highred.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/scuiautofmt.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/textdlgs.cxx | 4 |
6 files changed, 27 insertions, 27 deletions
diff --git a/sc/source/ui/miscdlgs/acredlin.cxx b/sc/source/ui/miscdlgs/acredlin.cxx index 95e1e450c..40f1b0197 100644 --- a/sc/source/ui/miscdlgs/acredlin.cxx +++ b/sc/source/ui/miscdlgs/acredlin.cxx @@ -262,7 +262,7 @@ void __EXPORT ScAcceptChgDlg::Init() pChanges->SetModifiedLink( LINK( this, ScAcceptChgDlg,ChgTrackModHdl)); aChangeViewSet.SetTheAuthorToShow(pChanges->GetUser()); pTPFilter->ClearAuthors(); - StrCollection aUserColl=pChanges->GetUserCollection(); + ScStrCollection aUserColl=pChanges->GetUserCollection(); for(USHORT i=0;i<aUserColl.GetCount();i++) pTPFilter->InsertAuthor(aUserColl[i]->GetString()); } diff --git a/sc/source/ui/miscdlgs/anyrefdg.cxx b/sc/source/ui/miscdlgs/anyrefdg.cxx index 339999c56..622a7b6c8 100644 --- a/sc/source/ui/miscdlgs/anyrefdg.cxx +++ b/sc/source/ui/miscdlgs/anyrefdg.cxx @@ -752,14 +752,14 @@ void ScAnyRefDlg::ShowFormulaReference( const XubString& rStr ) ScRange aRange; if(bDoubleRef) { - ComplRefData aRef( pToken->GetDoubleRef() ); + ScComplexRefData aRef( pToken->GetDoubleRef() ); aRef.CalcAbsIfRel( aPos ); aRange.aStart.Set( aRef.Ref1.nCol, aRef.Ref1.nRow, aRef.Ref1.nTab ); aRange.aEnd.Set( aRef.Ref2.nCol, aRef.Ref2.nRow, aRef.Ref2.nTab ); } else { - SingleRefData aRef( pToken->GetSingleRef() ); + ScSingleRefData aRef( pToken->GetSingleRef() ); aRef.CalcAbsIfRel( aPos ); aRange.aStart.Set( aRef.nCol, aRef.nRow, aRef.nTab ); aRange.aEnd = aRange.aStart; diff --git a/sc/source/ui/miscdlgs/autofmt.cxx b/sc/source/ui/miscdlgs/autofmt.cxx index 24de35c19..bf23fc07d 100644 --- a/sc/source/ui/miscdlgs/autofmt.cxx +++ b/sc/source/ui/miscdlgs/autofmt.cxx @@ -86,7 +86,7 @@ BOOL bIsOlk = FALSE; //CHINA001 // //CHINA001 aLbFormat ( this, ScResId( LB_FORMAT ) ), //CHINA001 aFlFormat ( this, ScResId( FL_FORMAT ) ), -//CHINA001 pWndPreview ( new AutoFmtPreview( this, ScResId( WND_PREVIEW ), pDoc ) ), +//CHINA001 pWndPreview ( new ScAutoFmtPreview( this, ScResId( WND_PREVIEW ), pDoc ) ), //CHINA001 aBtnNumFormat ( this, ScResId( BTN_NUMFORMAT ) ), //CHINA001 aBtnBorder ( this, ScResId( BTN_BORDER ) ), //CHINA001 aBtnFont ( this, ScResId( BTN_FONT ) ), @@ -486,9 +486,9 @@ BOOL bIsOlk = FALSE; //CHINA001 } //CHINA001 //======================================================================== -// AutoFmtPreview +// ScAutoFmtPreview -AutoFmtPreview::AutoFmtPreview( Window* pParent, const ResId& rRes, ScDocument* pDoc ) : +ScAutoFmtPreview::ScAutoFmtPreview( Window* pParent, const ResId& rRes, ScDocument* pDoc ) : Window ( pParent, rRes ), pCurData ( NULL ), aVD ( *this ), @@ -517,7 +517,7 @@ AutoFmtPreview::AutoFmtPreview( Window* pParent, const ResId& rRes, ScDocument* //------------------------------------------------------------------------ -AutoFmtPreview::~AutoFmtPreview() +ScAutoFmtPreview::~ScAutoFmtPreview() { delete pNumFmt; } @@ -539,7 +539,7 @@ void lcl_SetFontProperties( rFont.SetItalic ( (FontItalic)rPostureItem.GetValue() ); } -void AutoFmtPreview::MakeFonts( USHORT nIndex, Font& rFont, Font& rCJKFont, Font& rCTLFont ) +void ScAutoFmtPreview::MakeFonts( USHORT nIndex, Font& rFont, Font& rCJKFont, Font& rCTLFont ) { if ( pCurData ) { @@ -588,7 +588,7 @@ rFont.MethodName( Value ); rCJKFont.MethodName( Value ); rCTLFont.MethodName( Va //------------------------------------------------------------------------ -USHORT AutoFmtPreview::GetFormatIndex( size_t nCol, size_t nRow ) const +USHORT ScAutoFmtPreview::GetFormatIndex( size_t nCol, size_t nRow ) const { static const USHORT pnFmtMap[] = { @@ -601,21 +601,21 @@ USHORT AutoFmtPreview::GetFormatIndex( size_t nCol, size_t nRow ) const return pnFmtMap[ maArray.GetCellIndex( nCol, nRow, mbRTL ) ]; } -const SvxBoxItem& AutoFmtPreview::GetBoxItem( size_t nCol, size_t nRow ) const +const SvxBoxItem& ScAutoFmtPreview::GetBoxItem( size_t nCol, size_t nRow ) const { - DBG_ASSERT( pCurData, "AutoFmtPreview::GetBoxItem - no format data found" ); + DBG_ASSERT( pCurData, "ScAutoFmtPreview::GetBoxItem - no format data found" ); return *static_cast< const SvxBoxItem* >( pCurData->GetItem( GetFormatIndex( nCol, nRow ), ATTR_BORDER ) ); } -const SvxLineItem& AutoFmtPreview::GetDiagItem( size_t nCol, size_t nRow, bool bTLBR ) const +const SvxLineItem& ScAutoFmtPreview::GetDiagItem( size_t nCol, size_t nRow, bool bTLBR ) const { - DBG_ASSERT( pCurData, "AutoFmtPreview::GetDiagItem - no format data found" ); + DBG_ASSERT( pCurData, "ScAutoFmtPreview::GetDiagItem - no format data found" ); return *static_cast< const SvxLineItem* >( pCurData->GetItem( GetFormatIndex( nCol, nRow ), bTLBR ? ATTR_BORDER_TLBR : ATTR_BORDER_BLTR ) ); } //------------------------------------------------------------------------ -void AutoFmtPreview::DrawString( size_t nCol, size_t nRow ) +void ScAutoFmtPreview::DrawString( size_t nCol, size_t nRow ) { if ( pCurData ) { @@ -800,7 +800,7 @@ void AutoFmtPreview::DrawString( size_t nCol, size_t nRow ) //------------------------------------------------------------------------ -void AutoFmtPreview::DrawStrings() +void ScAutoFmtPreview::DrawStrings() { for( size_t nRow = 0; nRow < 5; ++nRow ) for( size_t nCol = 0; nCol < 5; ++nCol ) @@ -809,7 +809,7 @@ void AutoFmtPreview::DrawStrings() //------------------------------------------------------------------------ -void AutoFmtPreview::DrawBackground() +void ScAutoFmtPreview::DrawBackground() { if( pCurData ) { @@ -832,7 +832,7 @@ void AutoFmtPreview::DrawBackground() //------------------------------------------------------------------------ -void AutoFmtPreview::PaintCells() +void ScAutoFmtPreview::PaintCells() { if ( pCurData ) { @@ -851,7 +851,7 @@ void AutoFmtPreview::PaintCells() //------------------------------------------------------------------------ -void AutoFmtPreview::Init() +void ScAutoFmtPreview::Init() { SetBorderStyle( WINDOW_BORDER_MONO ); maArray.Initialize( 5, 5 ); @@ -872,7 +872,7 @@ void AutoFmtPreview::Init() //------------------------------------------------------------------------ -void AutoFmtPreview::CalcCellArray( BOOL bFitWidthP ) +void ScAutoFmtPreview::CalcCellArray( BOOL bFitWidthP ) { maArray.SetXOffset( 2 ); maArray.SetAllColWidths( bFitWidthP ? mnDataColWidth2 : mnDataColWidth1 ); @@ -893,7 +893,7 @@ inline void lclSetStyleFromBorder( svx::frame::Style& rStyle, const SvxBorderLin rStyle.Set( pBorder, 1.0 / TWIPS_PER_POINT, 5 ); } -void AutoFmtPreview::CalcLineMap() +void ScAutoFmtPreview::CalcLineMap() { if ( pCurData ) { @@ -924,7 +924,7 @@ void AutoFmtPreview::CalcLineMap() //------------------------------------------------------------------------ -void AutoFmtPreview::NotifyChange( ScAutoFormatData* pNewData ) +void ScAutoFmtPreview::NotifyChange( ScAutoFormatData* pNewData ) { if ( pNewData != pCurData ) { @@ -944,7 +944,7 @@ void AutoFmtPreview::NotifyChange( ScAutoFormatData* pNewData ) //------------------------------------------------------------------------ -void AutoFmtPreview::DoPaint( const Rectangle& /* rRect */ ) +void ScAutoFmtPreview::DoPaint( const Rectangle& /* rRect */ ) { sal_uInt32 nOldDrawMode = aVD.GetDrawMode(); // #105733# SvtAccessibilityOptions::GetIsForBorders is no longer used (always assumed TRUE) @@ -979,7 +979,7 @@ void AutoFmtPreview::DoPaint( const Rectangle& /* rRect */ ) //------------------------------------------------------------------------ -void AutoFmtPreview::Paint( const Rectangle& rRect ) +void ScAutoFmtPreview::Paint( const Rectangle& rRect ) { DoPaint( rRect ); } diff --git a/sc/source/ui/miscdlgs/highred.cxx b/sc/source/ui/miscdlgs/highred.cxx index 933bc130f..b6b4e7e20 100644 --- a/sc/source/ui/miscdlgs/highred.cxx +++ b/sc/source/ui/miscdlgs/highred.cxx @@ -131,7 +131,7 @@ void __EXPORT ScHighlightChgDlg::Init() { aChangeViewSet.SetTheAuthorToShow(pChanges->GetUser()); aFilterCtr.ClearAuthors(); - StrCollection aUserColl=pChanges->GetUserCollection(); + ScStrCollection aUserColl=pChanges->GetUserCollection(); for(USHORT i=0;i<aUserColl.GetCount();i++) aFilterCtr.InsertAuthor(aUserColl[i]->GetString()); } diff --git a/sc/source/ui/miscdlgs/scuiautofmt.cxx b/sc/source/ui/miscdlgs/scuiautofmt.cxx index 1d5708511..fdfe37f1a 100644 --- a/sc/source/ui/miscdlgs/scuiautofmt.cxx +++ b/sc/source/ui/miscdlgs/scuiautofmt.cxx @@ -79,7 +79,7 @@ ScAutoFormatDlg::ScAutoFormatDlg( Window* pParent, // aFlFormat ( this, ScResId( FL_FORMAT ) ), aLbFormat ( this, ScResId( LB_FORMAT ) ), - pWndPreview ( new AutoFmtPreview( this, ScResId( WND_PREVIEW ), pDoc ) ), + pWndPreview ( new ScAutoFmtPreview( this, ScResId( WND_PREVIEW ), pDoc ) ), aBtnOk ( this, ScResId( BTN_OK ) ), aBtnCancel ( this, ScResId( BTN_CANCEL ) ), aBtnHelp ( this, ScResId( BTN_HELP ) ), diff --git a/sc/source/ui/miscdlgs/textdlgs.cxx b/sc/source/ui/miscdlgs/textdlgs.cxx index 600889591..60f609761 100644 --- a/sc/source/ui/miscdlgs/textdlgs.cxx +++ b/sc/source/ui/miscdlgs/textdlgs.cxx @@ -131,8 +131,8 @@ void __EXPORT ScParagraphDlg::PageCreated( USHORT nId, SfxTabPage &rPage ) //CHINA001 DisableControls( TABTYPE_ALL &~TABTYPE_LEFT | //CHINA001 TABFILL_ALL &~TABFILL_NONE ); SfxAllItemSet aSet(*(GetInputSetImpl()->GetPool()));//add CHINA001 - aSet.Put(SfxUInt16Item(SID_SVXTABULATORTABPAGE_CONTROLFLAGS,TABTYPE_ALL &~TABTYPE_LEFT | - TABFILL_ALL &~TABFILL_NONE )); + aSet.Put(SfxUInt16Item(SID_SVXTABULATORTABPAGE_CONTROLFLAGS,(TABTYPE_ALL &~TABTYPE_LEFT) | + (TABFILL_ALL &~TABFILL_NONE) )); rPage.PageCreated(aSet);//add CHINA001 } break; |