diff options
Diffstat (limited to 'sc/source/ui/miscdlgs/mvtabdlg.cxx')
-rw-r--r-- | sc/source/ui/miscdlgs/mvtabdlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/miscdlgs/mvtabdlg.cxx b/sc/source/ui/miscdlgs/mvtabdlg.cxx index 54375859b6e6..0e7bc58ff38f 100644 --- a/sc/source/ui/miscdlgs/mvtabdlg.cxx +++ b/sc/source/ui/miscdlgs/mvtabdlg.cxx @@ -144,7 +144,7 @@ void ScMoveTableDlg::CheckNewTabName() { // New sheet name is empty. This is not good. pFtWarn->Show(); - pFtWarn->SetControlBackground(Color(COL_YELLOW)); + pFtWarn->SetControlBackground(COL_YELLOW); pFtWarn->SetText(msStrTabNameEmpty); pBtnOk->Disable(); return; @@ -154,7 +154,7 @@ void ScMoveTableDlg::CheckNewTabName() { // New sheet name contains invalid characters. pFtWarn->Show(); - pFtWarn->SetControlBackground(Color(COL_YELLOW)); + pFtWarn->SetControlBackground(COL_YELLOW); pFtWarn->SetText(msStrTabNameInvalid); pBtnOk->Disable(); return; @@ -176,7 +176,7 @@ void ScMoveTableDlg::CheckNewTabName() if ( bFound ) { pFtWarn->Show(); - pFtWarn->SetControlBackground(Color(COL_YELLOW)); + pFtWarn->SetControlBackground(COL_YELLOW); pFtWarn->SetText(msStrTabNameUsed); pBtnOk->Disable(); } |