summaryrefslogtreecommitdiff
path: root/sc/source/ui/miscdlgs/tabbgcolordlg.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-27 17:15:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-28 10:21:05 +0200
commit93fed09bfbeae299aa56c7c6d929d57607ac087b (patch)
treeaa90672b1496a1d1497e19e658a5892fb79792ee /sc/source/ui/miscdlgs/tabbgcolordlg.cxx
parenta8e7b4966846dc1005898add66a965eba9409840 (diff)
Dialog::EndDialog nResult param is of type long/VclResponseType
Change-Id: I31f1941daf158676518fcf259ef8a9e84863473e
Diffstat (limited to 'sc/source/ui/miscdlgs/tabbgcolordlg.cxx')
-rw-r--r--sc/source/ui/miscdlgs/tabbgcolordlg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/miscdlgs/tabbgcolordlg.cxx b/sc/source/ui/miscdlgs/tabbgcolordlg.cxx
index 4b30c539971b..b2299f777194 100644
--- a/sc/source/ui/miscdlgs/tabbgcolordlg.cxx
+++ b/sc/source/ui/miscdlgs/tabbgcolordlg.cxx
@@ -113,7 +113,7 @@ IMPL_LINK_NOARG(ScTabBgColorDlg, TabBgColorDblClickHdl_Impl)
sal_uInt16 nItemId = m_pTabBgColorSet->GetSelectItemId();
Color aColor = nItemId ? ( m_pTabBgColorSet->GetItemColor( nItemId ) ) : Color( COL_AUTO );
m_aTabBgColor = aColor;
- EndDialog( sal_True );
+ EndDialog( RET_OK );
return 0;
}
@@ -125,7 +125,7 @@ IMPL_LINK_NOARG(ScTabBgColorDlg, TabBgColorOKHdl_Impl)
sal_uInt16 nItemId = m_pTabBgColorSet->GetSelectItemId();
Color aColor = nItemId ? ( m_pTabBgColorSet->GetItemColor( nItemId ) ) : Color( COL_AUTO );
m_aTabBgColor = aColor;
- EndDialog( sal_True );
+ EndDialog( RET_OK );
return 0;
}
@@ -156,7 +156,7 @@ void ScTabBgColorDlg::ScTabBgColorValueSet::KeyInput( const KeyEvent& rKEvt )
sal_uInt16 nItemId = GetSelectItemId();
const Color& aColor = nItemId ? ( GetItemColor( nItemId ) ) : Color( COL_AUTO );
m_pTabBgColorDlg->m_aTabBgColor = aColor;
- m_pTabBgColorDlg->EndDialog(sal_True);
+ m_pTabBgColorDlg->EndDialog(RET_OK);
}
break;
}