From 7f5d27a7a7d51282bc816f945bbe7f8df25b0e6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Wed, 12 Oct 2016 16:24:26 +0100 Subject: [PATCH] no Browse is loaded from .src anymore Change-Id: I72e87433fef1a27c6bcac2746d9d366335797800 --- include/svtools/brwbox.hxx | 2 -- svtools/source/brwbox/brwbox1.cxx | 12 ------------ 2 files changed, 14 deletions(-) diff --git a/include/svtools/brwbox.hxx b/include/svtools/brwbox.hxx index cdaca6b320dd..5ec84e60652d 100644 --- a/include/svtools/brwbox.hxx +++ b/include/svtools/brwbox.hxx @@ -393,8 +393,6 @@ protected: public: BrowseBox( vcl::Window* pParent, WinBits nBits = 0, BrowserMode nMode = BrowserMode::NONE ); - BrowseBox( vcl::Window* pParent, const ResId& rId, - BrowserMode nMode = BrowserMode::NONE ); virtual ~BrowseBox() override; virtual void dispose() override; diff --git a/svtools/source/brwbox/brwbox1.cxx b/svtools/source/brwbox/brwbox1.cxx index 37deeb509c49..8a7b1fac54a7 100644 --- a/svtools/source/brwbox/brwbox1.cxx +++ b/svtools/source/brwbox/brwbox1.cxx @@ -110,7 +110,6 @@ void BrowseBox::ConstructImpl( BrowserMode nMode ) ( bHasFocus ? 0 : 1 ) + ( GetUpdateMode() ? 0 : 1 ); } - BrowseBox::BrowseBox( vcl::Window* pParent, WinBits nBits, BrowserMode nMode ) :Control( pParent, nBits | WB_3DLOOK ) ,DragSourceHelper( this ) @@ -120,17 +119,6 @@ BrowseBox::BrowseBox( vcl::Window* pParent, WinBits nBits, BrowserMode nMode ) ConstructImpl( nMode ); } - -BrowseBox::BrowseBox( vcl::Window* pParent, const ResId& rId, BrowserMode nMode ) - :Control( pParent, rId ) - ,DragSourceHelper( this ) - ,DropTargetHelper( this ) - ,aHScroll( VclPtr::Create(this, WinBits(WB_HSCROLL)) ) -{ - ConstructImpl(nMode); -} - - BrowseBox::~BrowseBox() { disposeOnce();