diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-03-26 14:49:45 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-03-26 16:21:40 -0400 |
commit | 9e18d9f9c59a5d6783ded83d3cee0a42a99d6c82 (patch) | |
tree | 7c39be760909bc2fdea6d00328002d88f890b4f8 /cui | |
parent | 4361ab3b47dfb31cd118a05f91afaa73ee4022c5 (diff) |
bool and string.
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/tpline.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/cui/source/tabpages/tpline.cxx b/cui/source/tabpages/tpline.cxx index e2676b0b8921..62a382d66d11 100644 --- a/cui/source/tabpages/tpline.cxx +++ b/cui/source/tabpages/tpline.cxx @@ -270,9 +270,9 @@ void SvxLineTabPage::SymbolSelected(MenuButton* pButton) sal_uInt16 nItemId = pButton->GetCurItemId(); const Graphic* pGraphic = 0; Graphic aGraphic; - String aGrfName; - sal_Bool bResetSize = sal_False; - sal_Bool bEnable=sal_True; + rtl::OUString aGrfName; + bool bResetSize = false; + bool bEnable = true; long nPreviousSymbolType = nSymbolType; if(nItemId >= MN_GALLERY_ENTRY) @@ -284,7 +284,7 @@ void SvxLineTabPage::SymbolSelected(MenuButton* pButton) else { nSymbolType=SVX_SYMBOLTYPE_BRUSHITEM; - bResetSize = sal_True; + bResetSize = true; } SvxBmpItemInfo* pInfo = aGrfBrushItems[ nItemId - MN_GALLERY_ENTRY ]; pGraphic = pInfo->pBrushItem->GetGraphic(); @@ -303,14 +303,14 @@ void SvxLineTabPage::SymbolSelected(MenuButton* pButton) { nSymbolType=SVX_SYMBOLTYPE_NONE; pGraphic=NULL; - bEnable=sal_False; + bEnable = false; } break; default: { SvxOpenGraphicDialog aGrfDlg(CUI_RES(RID_STR_EDIT_GRAPHIC)); - aGrfDlg.EnableLink(sal_False); - aGrfDlg.AsLink(sal_False); + aGrfDlg.EnableLink(false); + aGrfDlg.AsLink(false); if( !aGrfDlg.Execute() ) { // ausgewaehlten Filter merken @@ -319,7 +319,7 @@ void SvxLineTabPage::SymbolSelected(MenuButton* pButton) { nSymbolType=SVX_SYMBOLTYPE_BRUSHITEM; pGraphic = &aGraphic; - bResetSize = sal_True; + bResetSize = true; } } if( !pGraphic ) @@ -352,7 +352,7 @@ void SvxLineTabPage::SymbolSelected(MenuButton* pButton) { aSymbolGraphic=Graphic(); aCtlPreview.SetSymbol(NULL,aSymbolSize); - bEnable=sal_False; + bEnable = false; } aSymbolLastSize=aSymbolSize; SetMetricValue(aSymbolWidthMF, aSymbolSize.Width(), ePoolUnit); |