diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2011-03-12 23:58:22 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2011-03-12 23:58:22 -0600 |
commit | 5d3fb6af5e2c5ff28e935f3d6445016727d84583 (patch) | |
tree | 12e3b8370b272c2ef6ec1a8145a55dae8b79e189 /cui/source/dialogs | |
parent | 64846268e52ce69b5bbf237e450e2e4e3d4bb039 (diff) |
mis-merge: mostly remove remaining tools types
Diffstat (limited to 'cui/source/dialogs')
-rw-r--r-- | cui/source/dialogs/SpellDialog.cxx | 3 | ||||
-rw-r--r-- | cui/source/dialogs/about.cxx | 5 | ||||
-rw-r--r-- | cui/source/dialogs/iconcdlg.cxx | 12 |
3 files changed, 10 insertions, 10 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index 0ff89d039..290080f95 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -928,7 +928,6 @@ void SpellDialog::InitUserDicts() } SvtLinguConfig aCfg; - const bool bHC = Application::GetSettings().GetStyleSettings().GetHighContrastMode(); // list suitable dictionaries bool bEnable = false; @@ -958,7 +957,7 @@ void SpellDialog::InitUserDicts() if (xSvcInfo.is()) { OUString aDictionaryImageUrl( aCfg.GetSpellAndGrammarContextDictionaryImage( - xSvcInfo->getImplementationName(), bHC) ); + xSvcInfo->getImplementationName()) ); if (aDictionaryImageUrl.getLength() > 0) { Image aImage( lcl_GetImageFromPngUrl( aDictionaryImageUrl ) ); diff --git a/cui/source/dialogs/about.cxx b/cui/source/dialogs/about.cxx index 2cd6e3ea5..a1de647c6 100644 --- a/cui/source/dialogs/about.cxx +++ b/cui/source/dialogs/about.cxx @@ -164,7 +164,7 @@ AboutDialog::AboutDialog( Window* pParent, const ResId& rId ) : if ( pResMgr ) { aCopyrightTextStr = String( ResId( ABOUT_STR_COPYRIGHT, *pResMgr ) ); - pDeveloperAry = new ResStringArray( ResId( ABOUT_STR_DEVELOPER_ARY, *pResMgr ) ); +// pDeveloperAry = new ResStringArray( ResId( ABOUT_STR_DEVELOPER_ARY, *pResMgr ) ); delete pResMgr; } @@ -375,7 +375,8 @@ void AboutDialog::Paint( const Rectangle& rRect ) const int nFullWidth = GetOutputSizePixel().Width(); int nY = nOff; - const int nDevCnt = static_cast<int>( pDeveloperAry->Count() ); +// const int nDevCnt = static_cast<int>( pDeveloperAry->Count() ); + const int nDevCnt = 0; for( int i = 0; i < nDevCnt; ++i ) { if( nY >= rRect.Bottom() ) diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx index b7c58f73b..3c0679641 100644 --- a/cui/source/dialogs/iconcdlg.cxx +++ b/cui/source/dialogs/iconcdlg.cxx @@ -305,7 +305,7 @@ IconChoiceDialog ::~IconChoiceDialog () } // remove Userdata from Icons - for ( ULONG i=0; i < maIconCtrl.GetEntryCount(); i++) + for ( sal_uLong i=0; i < maIconCtrl.GetEntryCount(); i++) { SvxIconChoiceCtrlEntry* pEntry = maIconCtrl.GetEntry ( i ); sal_uInt16* pUserData = (sal_uInt16*) pEntry->GetUserData(); @@ -392,8 +392,8 @@ void IconChoiceDialog::RemoveTabPage( sal_uInt16 nId ) } // remove Icon - bool bFound = FALSE; - for ( ULONG i=0; i<maIconCtrl.GetEntryCount() && !bFound; i++) + bool bFound = false; + for ( sal_uLong i=0; i<maIconCtrl.GetEntryCount() && !bFound; i++) { SvxIconChoiceCtrlEntry* pEntry = maIconCtrl.GetEntry ( i ); sal_uInt16* pUserData = (sal_uInt16*) pEntry->GetUserData(); @@ -499,7 +499,7 @@ void IconChoiceDialog::HidePageImpl ( IconChoicePageData* pData ) void IconChoiceDialog::RemoveResetButton() { aResetBtn.Hide(); - bHideResetBtn = TRUE; + bHideResetBtn = true; } // ----------------------------------------------------------------------- @@ -817,7 +817,7 @@ void IconChoiceDialog::ActivatePageImpl () DBG_ASSERT( !maPageList.empty(), "keine Pages angemeldet" ); IconChoicePageData* pData = GetPageData ( mnCurrentPageId ); DBG_ASSERT( pData, "Id nicht bekannt" ); - BOOL bReadOnly = FALSE; + bool bReadOnly = false; if ( pData ) { if ( !pData->pPage ) @@ -1271,4 +1271,4 @@ void IconChoiceDialog::FocusOnIcon( sal_uInt16 nId ) } -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |