summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-04-20 19:51:40 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-04-21 10:07:01 +0900
commit281278541bbbcaa9be78c67ff33dc9cd19e6e457 (patch)
treed274139d101ab1930b460d2ae7e73ac904912f06
parent0dac111a3249b65eb512403897855f9d9b226f39 (diff)
highlight the whole entry in "Style And Formatting" tree/list
Change-Id: I2968541be05aafbd39a161b48d840f7be66deee1
-rw-r--r--sfx2/source/inc/templdgi.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/sfx2/source/inc/templdgi.hxx b/sfx2/source/inc/templdgi.hxx
index c11a859fc764..8d20103b934c 100644
--- a/sfx2/source/inc/templdgi.hxx
+++ b/sfx2/source/inc/templdgi.hxx
@@ -64,13 +64,17 @@ public:
: SvTreeListBox(pParent, rId)
, pDialog(pD)
, nModifier(0)
- {}
+ {
+ SetHighlightRange();
+ }
DropListBox_Impl(vcl::Window* pParent, WinBits nWinBits, SfxCommonTemplateDialog_Impl* pD)
: SvTreeListBox(pParent, nWinBits)
, pDialog(pD)
, nModifier(0)
- {}
+ {
+ SetHighlightRange();
+ }
virtual void MouseButtonDown(const MouseEvent& rMEvt) SAL_OVERRIDE;
virtual sal_Int8 AcceptDrop(const AcceptDropEvent& rEvt) SAL_OVERRIDE;