[PATCH] Open File dialog: Don't try to add filename column twice
Lionel Elie Mamane
lionel at mamane.lu
Thu Aug 4 15:49:06 PDT 2011
---
svtools/source/contnr/fileview.cxx | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx
index 1cdf90c..8f947c1 100644
--- a/svtools/source/contnr/fileview.cxx
+++ b/svtools/source/contnr/fileview.cxx
@@ -741,7 +741,7 @@ ViewTabListBox_Impl::ViewTabListBox_Impl( Window* pParentWin,
}
if( ( nFlags & FILEVIEW_SHOW_NONE ) == FILEVIEW_SHOW_NONE )
bViewHeader = false;
- else
+ else if ( ! ( nFlags & FILEVIEW_SHOW_ALL ) == FILEVIEW_SHOW_ALL )
mpHeaderBar->InsertItem( COLUMN_TITLE, String( SvtResId( STR_SVT_FILEVIEW_COLUMN_TITLE ) ), 600, nBits );
Size aHeadSize = mpHeaderBar->GetSizePixel();
--
1.7.2.5
--CE+1k2dSO48ffgeK--
More information about the LibreOffice
mailing list