summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-05-20 14:24:43 +0300
committerTor Lillqvist <tml@iki.fi>2013-05-20 14:30:51 +0300
commit061030bb26cf17daffaf384b2de0a7446ba172f5 (patch)
treebcbb1eedb96702c8d01188a7a00fd82669021f6c /svx
parentf160e4935c474a5293b3d3c11b3d538efb4767a0 (diff)
WaE: unused function 'GetItemId_Impl_line'
Change-Id: Icc8ff462995491d153532eeb0218c2cac480511e
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sidebar/line/LinePropertyPanel.cxx23
1 files changed, 0 insertions, 23 deletions
diff --git a/svx/source/sidebar/line/LinePropertyPanel.cxx b/svx/source/sidebar/line/LinePropertyPanel.cxx
index 071f4ec51c05..915d48b648d2 100644
--- a/svx/source/sidebar/line/LinePropertyPanel.cxx
+++ b/svx/source/sidebar/line/LinePropertyPanel.cxx
@@ -60,29 +60,6 @@ using ::sfx2::sidebar::Theme;
#define A2S(pString) (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(pString)))
namespace {
- short GetItemId_Impl_line( ValueSet& rValueSet, const Color& rCol )
- {
- if(rCol == COL_AUTO)
- return 0;
-
- bool bFound = false;
- sal_uInt16 nCount = rValueSet.GetItemCount();
- sal_uInt16 n = 1;
-
- while ( !bFound && n <= nCount )
- {
- Color aValCol = rValueSet.GetItemColor(n);
-
- bFound = ( aValCol.GetRed() == rCol.GetRed()
- && aValCol.GetGreen() == rCol.GetGreen()
- && aValCol.GetBlue() == rCol.GetBlue() );
-
- if ( !bFound )
- n++;
- }
- return bFound ? n : -1;
- }
-
void FillLineEndListBox(ListBox& rListBoxStart, ListBox& rListBoxEnd, const XLineEndList& rList)
{
const sal_uInt32 nCount(rList.Count());