summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-04 09:33:21 +0200
committerNoel Grandin <noel@peralex.com>2014-03-05 09:17:48 +0200
commit8f4aaed8552e27161b007308741e7ed2276a0c6b (patch)
treeb09ff47771d70c42fc4b5a77959cabea37656192
parent6c8f8b0283345ab74b28e99bad3ea0028406e88f (diff)
debug only code SvtIconChoiceCtrl::SetEntryTextMode
Change-Id: I840294fd8ae03ecfef614fea7c6f3a552596446e
-rw-r--r--include/svtools/ivctrl.hxx2
-rw-r--r--svtools/source/contnr/ivctrl.cxx2
-rw-r--r--unusedcode.easy1
3 files changed, 4 insertions, 1 deletions
diff --git a/include/svtools/ivctrl.hxx b/include/svtools/ivctrl.hxx
index a51693e048ba..37df1b01c639 100644
--- a/include/svtools/ivctrl.hxx
+++ b/include/svtools/ivctrl.hxx
@@ -322,7 +322,9 @@ public:
// in dem sal_uLong wird die Position in der Liste des gefunden Eintrags zurueckgegeben
SvxIconChoiceCtrlEntry* GetSelectedEntry( sal_uLong& rPos ) const;
+#ifdef DBG_UTIL
void SetEntryTextMode( SvxIconChoiceCtrlTextMode eMode, SvxIconChoiceCtrlEntry* pEntry = 0 );
+#endif
virtual sal_Bool HasBackground() const;
virtual sal_Bool HasFont() const;
diff --git a/svtools/source/contnr/ivctrl.cxx b/svtools/source/contnr/ivctrl.cxx
index 4cf327205957..e7992a587c59 100644
--- a/svtools/source/contnr/ivctrl.cxx
+++ b/svtools/source/contnr/ivctrl.cxx
@@ -278,10 +278,12 @@ void SvtIconChoiceCtrl::Command( const CommandEvent& rCEvt )
_pImp->Command( rCEvt );
}
+#ifdef DBG_UTIL
void SvtIconChoiceCtrl::SetEntryTextMode( SvxIconChoiceCtrlTextMode eMode, SvxIconChoiceCtrlEntry* pEntry )
{
_pImp->SetEntryTextMode( eMode, pEntry );
}
+#endif
sal_uLong SvtIconChoiceCtrl::GetEntryCount() const
{
diff --git a/unusedcode.easy b/unusedcode.easy
index 88ace10a0db4..82a0b6aa6546 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -68,7 +68,6 @@ SvtAccessibilityOptions::SetColorValueSetColumnCount(short)
SvtAccessibilityOptions::SetEdgeBlending(short)
SvtAccessibilityOptions::SetListBoxMaximumLineCount(short)
SvtAccessibilityOptions::SetPreviewUsesCheckeredBackground(unsigned char)
-SvtIconChoiceCtrl::SetEntryTextMode(SvxIconChoiceCtrlTextMode, SvxIconChoiceCtrlEntry*)
SvtListener::IsListening(SvtBroadcaster&) const
SvxNumberFormatShell::IsAdded_Impl(unsigned long)
SwAccessibleField::SwAccessibleField(SwField*, SwAccessibleParagraph*, short)