diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-06-12 22:00:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-06-12 22:00:40 +0200 |
commit | 1c18604836ce8063b80cc8090445bf0c0094c5d8 (patch) | |
tree | 348ae89a628ad24d162941a908c8337938ca7952 /sc | |
parent | 104badf31c8a39994cadc460561bfa01e428b67b (diff) |
-Werror,-Wunused-function
Change-Id: I1b12a923e8c045c7ebca8c0b77b8135d3e072ac9
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/condformat/condformatdlg.cxx | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/sc/source/ui/condformat/condformatdlg.cxx b/sc/source/ui/condformat/condformatdlg.cxx index 81a681bdd020..8434d5379d11 100644 --- a/sc/source/ui/condformat/condformatdlg.cxx +++ b/sc/source/ui/condformat/condformatdlg.cxx @@ -709,36 +709,6 @@ ScColorScaleEntry* createColorScaleEntry( const ListBox& rType, const ColorListB return pEntry; } -void GetDataBarType(const ListBox& rLstBox, const Edit& rEd, ScColorScaleEntry* pEntry ) -{ - double nVal = 0; - switch(rLstBox.GetSelectEntryPos()) - { - case 0: - pEntry->SetMin(true); - break; - case 1: - pEntry->SetMax(true); - break; - case 2: - pEntry->SetPercentile(true); - nVal = rtl::math::stringToDouble(rEd.GetText(), '.', ','); - pEntry->SetValue(nVal); - break; - case 3: - nVal = rtl::math::stringToDouble(rEd.GetText(), '.', ','); - pEntry->SetPercent(true); - pEntry->SetValue(nVal); - break; - case 4: - nVal = rtl::math::stringToDouble(rEd.GetText(), '.', ','); - pEntry->SetValue(nVal); - break; - case 5: - break; - } -} - } ScFormatEntry* ScCondFrmtEntry::createColorscaleEntry() const |