summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-04-27 14:38:50 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-04-27 14:39:26 +0200
commit449440706c6db8f10d37321ed1280d986d07b9f3 (patch)
treeb56413fcbcbcf2d5b2ce0534602e852c4ced4743 /fpicker
parent41b0d974e40ba777955dd22a09a0bfe44d17fdeb (diff)
NOINITIALSELECTION important for Save As
...as otherwise the initial selection would overwrite the passed-in directory where to save to. Change-Id: Iafb3aa8a120a777f9bf15c00ab3b9c0379bd3b2c
Diffstat (limited to 'fpicker')
-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 5338cb7e3551..708b50009ebc 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( );