summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-03-08 16:26:57 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-03-08 16:29:44 +0000
commit278e30ccd45dab36d65c08fbaaf28aa69a23cf28 (patch)
tree7c87f5b7a3212c148eeca71da6056c2e95ee71ab /svtools
parentcec5fc7c57de1f6e5e25378d644e5dd6e139fbeb (diff)
don't broadcast pref size changed if we've a size req set
Change-Id: I29cfc42c000457c5016ae7fda19347c6f60742f9
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/treelistbox.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index feb68e2e4b25..c39051814e5d 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -3679,7 +3679,8 @@ void SvTreeListBox::ModelNotification( sal_uInt16 nActionId, SvTreeListEntry* pE
nContextBmpWidthMax = nMaxWidth;
SetTabs();
}
- queue_resize();
+ if (get_width_request() == -1)
+ queue_resize();
}
break;