diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2017-05-28 15:45:15 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2017-08-29 11:48:48 +0300 |
commit | f9601b9232589bbb704f10073bf9b1516af5a923 (patch) | |
tree | 1abebb77cdde581f5a414ce3643988f5233f1ea5 | |
parent | Remove duplicate code (diff) | |
download | core-f9601b9232589bbb704f10073bf9b1516af5a923.tar.gz core-f9601b9232589bbb704f10073bf9b1516af5a923.zip |
This should be ToolBoxItemBits::DROPDOWNONLY
as there is no select handler registered here.
Change-Id: Ide822efe2bacbe791d950883f18e029b26517c6b
-rw-r--r-- | dbaccess/source/ui/app/AppDetailPageHelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/app/AppDetailPageHelper.cxx b/dbaccess/source/ui/app/AppDetailPageHelper.cxx index f259e609b701..e09ee6dde5ef 100644 --- a/dbaccess/source/ui/app/AppDetailPageHelper.cxx +++ b/dbaccess/source/ui/app/AppDetailPageHelper.cxx @@ -197,7 +197,7 @@ OAppDetailPageHelper::OAppDetailPageHelper(vcl::Window* _pParent,OAppBorderWindo m_aTBPreview->SetOutStyle(TOOLBOX_STYLE_FLAT); m_aTBPreview->InsertItem(SID_DB_APP_DISABLE_PREVIEW, vcl::CommandInfoProvider::GetLabelForCommand(".uno:DBDisablePreview", "com.sun.star.sdb.OfficeDatabaseDocument"), - ToolBoxItemBits::LEFT|ToolBoxItemBits::DROPDOWN|ToolBoxItemBits::AUTOSIZE|ToolBoxItemBits::RADIOCHECK); + ToolBoxItemBits::LEFT|ToolBoxItemBits::DROPDOWNONLY|ToolBoxItemBits::AUTOSIZE|ToolBoxItemBits::RADIOCHECK); m_aTBPreview->SetHelpId(HID_APP_VIEW_PREVIEW_CB); m_aTBPreview->SetDropdownClickHdl( LINK( this, OAppDetailPageHelper, OnDropdownClickHdl ) ); m_aTBPreview->Enable(); |