summaryrefslogtreecommitdiff
path: root/include/vcl/toolkit
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-09-30 13:33:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-10-01 11:16:47 +0200
commitc8734eddf4cce6c2c54556fee383f2764dbb981d (patch)
tree9928d403a6126bb57bafb579119a378e17ad2d41 /include/vcl/toolkit
parenta6f1841aedae66915bcc10287bdec21fc2ebe8eb (diff)
loplugin:singlevalfields
Change-Id: I8f844c40dcb48737d95a3004cd7e8c730656d955 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174299 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/toolkit')
-rw-r--r--include/vcl/toolkit/ivctrl.hxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/vcl/toolkit/ivctrl.hxx b/include/vcl/toolkit/ivctrl.hxx
index 0340eacf164e..95b29933349e 100644
--- a/include/vcl/toolkit/ivctrl.hxx
+++ b/include/vcl/toolkit/ivctrl.hxx
@@ -45,12 +45,6 @@ namespace o3tl
template<> struct typed_flags<SvxIconViewFlags> : is_typed_flags<SvxIconViewFlags, 0x000f> {};
}
-enum class SvxIconChoiceCtrlTextMode
-{
- Full = 1, // Enlarge BoundRect southwards
- Short // Shorten with "..."
-};
-
class SvxIconChoiceCtrlEntry
{
Image aImage;
@@ -65,7 +59,6 @@ class SvxIconChoiceCtrlEntry
tools::Rectangle aRect; // Bounding-Rectangle of the entry
- SvxIconChoiceCtrlTextMode eTextMode;
sal_uInt16 nX,nY; // for keyboard control
SvxIconViewFlags nFlags;
@@ -83,7 +76,6 @@ public:
void SetQuickHelpText( const OUString& rText ) { aQuickHelpText = rText; }
const OUString& GetQuickHelpText() const { return aQuickHelpText; }
- SvxIconChoiceCtrlTextMode GetTextMode() const { return eTextMode; }
SvxIconViewFlags GetFlags() const { return nFlags; }
bool IsSelected() const { return bool(nFlags & SvxIconViewFlags::SELECTED); }
bool IsFocused() const { return bool(nFlags & SvxIconViewFlags::FOCUSED); }