summaryrefslogtreecommitdiff
authorStephan Bergmann <sbergman@redhat.com>2012-04-27 12:38:50 (GMT)
committer Stephan Bergmann <sbergman@redhat.com>2012-04-27 12:39:26 (GMT)
commit449440706c6db8f10d37321ed1280d986d07b9f3 (patch) (side-by-side diff)
treeb56413fcbcbcf2d5b2ce0534602e852c4ced4743
parent41b0d974e40ba777955dd22a09a0bfe44d17fdeb (diff)
downloadcore-449440706c6db8f10d37321ed1280d986d07b9f3.zip
core-449440706c6db8f10d37321ed1280d986d07b9f3.tar.gz
NOINITIALSELECTION important for Save As
...as otherwise the initial selection would overwrite the passed-in directory where to save to. Change-Id: Iafb3aa8a120a777f9bf15c00ab3b9c0379bd3b2c
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--fpicker/source/office/PlacesListBox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpicker/source/office/PlacesListBox.cxx b/fpicker/source/office/PlacesListBox.cxx
index 5338cb7..708b500 100644
--- a/fpicker/source/office/PlacesListBox.cxx
+++ b/fpicker/source/office/PlacesListBox.cxx
@@ -40,7 +40,7 @@ namespace css = com::sun::star;
using rtl::OUString;
PlacesListBox_Impl::PlacesListBox_Impl( Window* pParent, const rtl::OUString& rTitle ) :
- SvHeaderTabListBox( pParent, WB_TABSTOP ),
+ SvHeaderTabListBox( pParent, WB_TABSTOP | WB_NOINITIALSELECTION ),
mpHeaderBar( NULL )
{
Size aBoxSize = pParent->GetSizePixel( );