loplugin:unusedmethods
Change-Id: I2dd10873be73256a3689233c7b1e37bde8f685ee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100820 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
parent
89ca0ed3bc
commit
3f9940c2e0
@ -102,7 +102,6 @@ $(eval $(call gb_Library_add_exception_objects,dbu,\
|
|||||||
dbaccess/source/ui/control/FieldDescControl \
|
dbaccess/source/ui/control/FieldDescControl \
|
||||||
dbaccess/source/ui/control/opendoccontrols \
|
dbaccess/source/ui/control/opendoccontrols \
|
||||||
dbaccess/source/ui/control/RelationControl \
|
dbaccess/source/ui/control/RelationControl \
|
||||||
dbaccess/source/ui/control/ScrollHelper \
|
|
||||||
dbaccess/source/ui/control/sqledit \
|
dbaccess/source/ui/control/sqledit \
|
||||||
dbaccess/source/ui/control/SqlNameEdit \
|
dbaccess/source/ui/control/SqlNameEdit \
|
||||||
dbaccess/source/ui/control/TableGrantCtrl \
|
dbaccess/source/ui/control/TableGrantCtrl \
|
||||||
|
@ -1,52 +0,0 @@
|
|||||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
||||||
/*
|
|
||||||
* This file is part of the LibreOffice project.
|
|
||||||
*
|
|
||||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
*
|
|
||||||
* This file incorporates work covered by the following license notice:
|
|
||||||
*
|
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
||||||
* contributor license agreements. See the NOTICE file distributed
|
|
||||||
* with this work for additional information regarding copyright
|
|
||||||
* ownership. The ASF licenses this file to you under the Apache
|
|
||||||
* License, Version 2.0 (the "License"); you may not use this file
|
|
||||||
* except in compliance with the License. You may obtain a copy of
|
|
||||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <ScrollHelper.hxx>
|
|
||||||
|
|
||||||
#define LISTBOX_SCROLLING_AREA 12
|
|
||||||
namespace dbaui
|
|
||||||
{
|
|
||||||
|
|
||||||
OScrollHelper::OScrollHelper()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
OScrollHelper::~OScrollHelper()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
void OScrollHelper::scroll(const Point& _rPoint, const Size& _rOutputSize)
|
|
||||||
{
|
|
||||||
// Scrolling Areas
|
|
||||||
tools::Rectangle aScrollArea( Point(0, _rOutputSize.Height() - LISTBOX_SCROLLING_AREA),
|
|
||||||
Size(_rOutputSize.Width(), LISTBOX_SCROLLING_AREA) );
|
|
||||||
|
|
||||||
// if pointer in bottom area begin scroll
|
|
||||||
if( aScrollArea.IsInside(_rPoint) )
|
|
||||||
m_aUpScroll.Call(nullptr);
|
|
||||||
else
|
|
||||||
{
|
|
||||||
aScrollArea.SetPos(Point(0,0));
|
|
||||||
// if pointer in top area begin scroll
|
|
||||||
if( aScrollArea.IsInside(_rPoint) )
|
|
||||||
m_aDownScroll.Call(nullptr);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -447,24 +447,11 @@ void TableTreeListBox::UpdateTableList( const Reference< XConnection >& _rxConne
|
|||||||
m_xTreeView->make_sorted();
|
m_xTreeView->make_sorted();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool OTableTreeListBox::isWildcardChecked(const weld::TreeIter& rEntry)
|
|
||||||
{
|
|
||||||
return m_xTreeView->get_text_emphasis(rEntry, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
bool TableTreeListBox::isWildcardChecked(const weld::TreeIter& rEntry)
|
bool TableTreeListBox::isWildcardChecked(const weld::TreeIter& rEntry)
|
||||||
{
|
{
|
||||||
return m_xTreeView->get_text_emphasis(rEntry, 0);
|
return m_xTreeView->get_text_emphasis(rEntry, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void OTableTreeListBox::checkWildcard(weld::TreeIter& rEntry)
|
|
||||||
{
|
|
||||||
if (!m_bShowToggles)
|
|
||||||
return;
|
|
||||||
m_xTreeView->set_toggle(rEntry, TRISTATE_TRUE);
|
|
||||||
checkedButton_noBroadcast(rEntry);
|
|
||||||
}
|
|
||||||
|
|
||||||
void TableTreeListBox::checkWildcard(weld::TreeIter& rEntry)
|
void TableTreeListBox::checkWildcard(weld::TreeIter& rEntry)
|
||||||
{
|
{
|
||||||
if (!m_bShowToggles)
|
if (!m_bShowToggles)
|
||||||
|
@ -1,67 +0,0 @@
|
|||||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
||||||
/*
|
|
||||||
* This file is part of the LibreOffice project.
|
|
||||||
*
|
|
||||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
*
|
|
||||||
* This file incorporates work covered by the following license notice:
|
|
||||||
*
|
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
||||||
* contributor license agreements. See the NOTICE file distributed
|
|
||||||
* with this work for additional information regarding copyright
|
|
||||||
* ownership. The ASF licenses this file to you under the Apache
|
|
||||||
* License, Version 2.0 (the "License"); you may not use this file
|
|
||||||
* except in compliance with the License. You may obtain a copy of
|
|
||||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
||||||
*/
|
|
||||||
#ifndef INCLUDED_DBACCESS_SOURCE_UI_INC_SCROLLHELPER_HXX
|
|
||||||
#define INCLUDED_DBACCESS_SOURCE_UI_INC_SCROLLHELPER_HXX
|
|
||||||
|
|
||||||
#include <tools/link.hxx>
|
|
||||||
#include <tools/gen.hxx>
|
|
||||||
|
|
||||||
namespace dbaui
|
|
||||||
{
|
|
||||||
class OScrollHelper
|
|
||||||
{
|
|
||||||
Link<LinkParamNone*,void> m_aUpScroll;
|
|
||||||
Link<LinkParamNone*,void> m_aDownScroll;
|
|
||||||
public:
|
|
||||||
/** default constructor
|
|
||||||
*/
|
|
||||||
OScrollHelper();
|
|
||||||
|
|
||||||
~OScrollHelper();
|
|
||||||
|
|
||||||
/** set the memthod which should be called when scrolling up
|
|
||||||
@param _rUpScroll
|
|
||||||
the method to set
|
|
||||||
*/
|
|
||||||
void setUpScrollMethod( const Link<LinkParamNone*,void>& _rUpScroll )
|
|
||||||
{
|
|
||||||
m_aUpScroll = _rUpScroll;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** set the memthod which should be called when scrolling down
|
|
||||||
@param _rDownScroll
|
|
||||||
the method to set
|
|
||||||
*/
|
|
||||||
void setDownScrollMethod( const Link<LinkParamNone*,void>& _rDownScroll )
|
|
||||||
{
|
|
||||||
m_aDownScroll = _rDownScroll;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** check if a scroll method has to be called
|
|
||||||
@param _rPoint
|
|
||||||
the current selection point
|
|
||||||
@param _rOutputSize
|
|
||||||
the output size of the window
|
|
||||||
*/
|
|
||||||
void scroll(const Point& _rPoint, const Size& _rOutputSize);
|
|
||||||
};
|
|
||||||
}
|
|
||||||
#endif // INCLUDED_DBACCESS_SOURCE_UI_INC_SCROLLHELPER_HXX
|
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -19,8 +19,6 @@
|
|||||||
#ifndef INCLUDED_DBACCESS_SOURCE_UI_INC_DBTREELISTBOX_HXX
|
#ifndef INCLUDED_DBACCESS_SOURCE_UI_INC_DBTREELISTBOX_HXX
|
||||||
#define INCLUDED_DBACCESS_SOURCE_UI_INC_DBTREELISTBOX_HXX
|
#define INCLUDED_DBACCESS_SOURCE_UI_INC_DBTREELISTBOX_HXX
|
||||||
|
|
||||||
#include "ScrollHelper.hxx"
|
|
||||||
|
|
||||||
#include <com/sun/star/frame/XPopupMenuController.hpp>
|
#include <com/sun/star/frame/XPopupMenuController.hpp>
|
||||||
|
|
||||||
#include <vcl/InterimItemWindow.hxx>
|
#include <vcl/InterimItemWindow.hxx>
|
||||||
|
@ -116,18 +116,6 @@ namespace dbaui
|
|||||||
*/
|
*/
|
||||||
static OUString getDefaultImageResourceID(sal_Int32 _nDatabaseObjectType);
|
static OUString getDefaultImageResourceID(sal_Int32 _nDatabaseObjectType);
|
||||||
|
|
||||||
/** retrieves the image to be used for folders of database objects
|
|
||||||
@param _nDatabaseObjectType
|
|
||||||
the type of the object. Must be one of the css.sdb.application.DatabaseObject
|
|
||||||
constants.
|
|
||||||
@param _rName
|
|
||||||
the name of the object
|
|
||||||
@return
|
|
||||||
the image to be used for folders of the given type
|
|
||||||
*/
|
|
||||||
static Image getFolderImage(
|
|
||||||
sal_Int32 _nDatabaseObjectType
|
|
||||||
);
|
|
||||||
static OUString getFolderImageId(
|
static OUString getFolderImageId(
|
||||||
sal_Int32 _nDatabaseObjectType
|
sal_Int32 _nDatabaseObjectType
|
||||||
);
|
);
|
||||||
|
@ -46,13 +46,9 @@ public:
|
|||||||
OTableTreeListBox(vcl::Window* pParent, bool bShowToggles);
|
OTableTreeListBox(vcl::Window* pParent, bool bShowToggles);
|
||||||
virtual ~OTableTreeListBox();
|
virtual ~OTableTreeListBox();
|
||||||
|
|
||||||
void init() { m_bVirtualRoot = true; }
|
|
||||||
|
|
||||||
typedef std::pair< OUString, bool > TTableViewName;
|
typedef std::pair< OUString, bool > TTableViewName;
|
||||||
typedef std::vector< TTableViewName > TNames;
|
typedef std::vector< TTableViewName > TNames;
|
||||||
|
|
||||||
void SuppressEmptyFolders() { m_bNoEmptyFolders = true; }
|
|
||||||
|
|
||||||
/** determines whether the given entry denotes a tables folder
|
/** determines whether the given entry denotes a tables folder
|
||||||
*/
|
*/
|
||||||
bool isFolderEntry(const weld::TreeIter& rEntry) const;
|
bool isFolderEntry(const weld::TreeIter& rEntry) const;
|
||||||
@ -82,23 +78,9 @@ public:
|
|||||||
|
|
||||||
std::unique_ptr<weld::TreeIter> getAllObjectsEntry() const;
|
std::unique_ptr<weld::TreeIter> getAllObjectsEntry() const;
|
||||||
|
|
||||||
/** does a wildcard check of the given entry
|
|
||||||
<p>There are two different 'checked' states: If the user checks all children of an entry, this is different
|
|
||||||
from checking the entry itself. The second is called 'wildcard' checking, 'cause in the resulting
|
|
||||||
table filter it's represented by a wildcard.</p>
|
|
||||||
*/
|
|
||||||
void checkWildcard(weld::TreeIter& rEntry);
|
|
||||||
|
|
||||||
/** determine if the given entry is 'wildcard checked'
|
|
||||||
@see checkWildcard
|
|
||||||
*/
|
|
||||||
bool isWildcardChecked(const weld::TreeIter& rEntry);
|
|
||||||
|
|
||||||
void CheckButtons(); // make the button states consistent (bottom-up)
|
void CheckButtons(); // make the button states consistent (bottom-up)
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void CheckButtonHdl();
|
|
||||||
|
|
||||||
void checkedButton_noBroadcast(const weld::TreeIter& rEntry);
|
void checkedButton_noBroadcast(const weld::TreeIter& rEntry);
|
||||||
|
|
||||||
void implEmphasize(const weld::TreeIter& rEntry, bool _bChecked, bool _bUpdateDescendants = true, bool _bUpdateAncestors = true);
|
void implEmphasize(const weld::TreeIter& rEntry, bool _bChecked, bool _bUpdateDescendants = true, bool _bUpdateAncestors = true);
|
||||||
@ -198,14 +180,6 @@ public:
|
|||||||
const css::uno::Sequence< OUString>& _rViews
|
const css::uno::Sequence< OUString>& _rViews
|
||||||
);
|
);
|
||||||
|
|
||||||
/** to be used if a foreign instance added a table
|
|
||||||
*/
|
|
||||||
std::unique_ptr<weld::TreeIter> addedTable( const OUString& _rName );
|
|
||||||
|
|
||||||
/** to be used if a foreign instance removed a table
|
|
||||||
*/
|
|
||||||
void removedTable( const OUString& _rName );
|
|
||||||
|
|
||||||
std::unique_ptr<weld::TreeIter> getAllObjectsEntry() const;
|
std::unique_ptr<weld::TreeIter> getAllObjectsEntry() const;
|
||||||
|
|
||||||
/** does a wildcard check of the given entry
|
/** does a wildcard check of the given entry
|
||||||
@ -253,17 +227,6 @@ public:
|
|||||||
const css::uno::Reference< css::sdbc::XConnection >& _rxConnection,
|
const css::uno::Reference< css::sdbc::XConnection >& _rxConnection,
|
||||||
const TNames& _rTables
|
const TNames& _rTables
|
||||||
);
|
);
|
||||||
|
|
||||||
/** returns a NamedDatabaseObject record which describes the given entry
|
|
||||||
*/
|
|
||||||
css::sdb::application::NamedDatabaseObject
|
|
||||||
describeObject(weld::TreeIter& rEntry);
|
|
||||||
|
|
||||||
/** returns the fully qualified name of a table entry
|
|
||||||
@param _pEntry
|
|
||||||
the entry whose name is to be obtained. Must not denote a folder entry.
|
|
||||||
*/
|
|
||||||
OUString getQualifiedTableName(weld::TreeIter& rEntry) const;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace dbaui
|
} // namespace dbaui
|
||||||
|
@ -203,34 +203,6 @@ namespace dbaui
|
|||||||
return sImageResourceID;
|
return sImageResourceID;
|
||||||
}
|
}
|
||||||
|
|
||||||
Image ImageProvider::getFolderImage( sal_Int32 _nDatabaseObjectType )
|
|
||||||
{
|
|
||||||
OUString sImageResourceID;
|
|
||||||
switch ( _nDatabaseObjectType )
|
|
||||||
{
|
|
||||||
case DatabaseObject::QUERY:
|
|
||||||
sImageResourceID = QUERYFOLDER_TREE_ICON;
|
|
||||||
break;
|
|
||||||
case DatabaseObject::FORM:
|
|
||||||
sImageResourceID = FORMFOLDER_TREE_ICON;
|
|
||||||
break;
|
|
||||||
case DatabaseObject::REPORT:
|
|
||||||
sImageResourceID = REPORTFOLDER_TREE_ICON;
|
|
||||||
break;
|
|
||||||
case DatabaseObject::TABLE:
|
|
||||||
sImageResourceID = TABLEFOLDER_TREE_ICON;
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
OSL_FAIL( "ImageProvider::getDefaultImage: invalid database object type!" );
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
Image aFolderImage;
|
|
||||||
if (!sImageResourceID.isEmpty())
|
|
||||||
aFolderImage = Image(StockImage::Yes, sImageResourceID);
|
|
||||||
return aFolderImage;
|
|
||||||
}
|
|
||||||
|
|
||||||
OUString ImageProvider::getFolderImageId( sal_Int32 _nDatabaseObjectType )
|
OUString ImageProvider::getFolderImageId( sal_Int32 _nDatabaseObjectType )
|
||||||
{
|
{
|
||||||
OUString sImageResourceID;
|
OUString sImageResourceID;
|
||||||
|
@ -1,47 +0,0 @@
|
|||||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
||||||
/*
|
|
||||||
* This file is part of the LibreOffice project.
|
|
||||||
*
|
|
||||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
*
|
|
||||||
* This file incorporates work covered by the following license notice:
|
|
||||||
*
|
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
||||||
* contributor license agreements. See the NOTICE file distributed
|
|
||||||
* with this work for additional information regarding copyright
|
|
||||||
* ownership. The ASF licenses this file to you under the Apache
|
|
||||||
* License, Version 2.0 (the "License"); you may not use this file
|
|
||||||
* except in compliance with the License. You may obtain a copy of
|
|
||||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef INCLUDED_UCBHELPER_GETCOMPONENTCONTEXT_HXX
|
|
||||||
#define INCLUDED_UCBHELPER_GETCOMPONENTCONTEXT_HXX
|
|
||||||
|
|
||||||
#include <sal/config.h>
|
|
||||||
|
|
||||||
#include <com/sun/star/uno/Reference.h>
|
|
||||||
#include <ucbhelper/ucbhelperdllapi.h>
|
|
||||||
|
|
||||||
namespace com::sun::star {
|
|
||||||
namespace lang { class XMultiServiceFactory; }
|
|
||||||
namespace uno { class XComponentContext; }
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace ucbhelper {
|
|
||||||
|
|
||||||
//TODO: a duplicate of comphelper::getComponentContext
|
|
||||||
// (comphelper/processfactory.hxx)
|
|
||||||
UCBHELPER_DLLPUBLIC
|
|
||||||
css::uno::Reference< css::uno::XComponentContext >
|
|
||||||
getComponentContext(
|
|
||||||
css::uno::Reference< css::lang::XMultiServiceFactory >
|
|
||||||
const & factory);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -73,7 +73,6 @@ private:
|
|||||||
VCL_DLLPRIVATE void InitData( bool _bRadioBtn, const Control* pControlForSettings );
|
VCL_DLLPRIVATE void InitData( bool _bRadioBtn, const Control* pControlForSettings );
|
||||||
public:
|
public:
|
||||||
// include creating default images (CheckBox or RadioButton)
|
// include creating default images (CheckBox or RadioButton)
|
||||||
SvLBoxButtonData( const Control* pControlForSettings );
|
|
||||||
SvLBoxButtonData( const Control* pControlForSettings, bool _bRadioBtn );
|
SvLBoxButtonData( const Control* pControlForSettings, bool _bRadioBtn );
|
||||||
|
|
||||||
~SvLBoxButtonData();
|
~SvLBoxButtonData();
|
||||||
|
@ -162,9 +162,6 @@ public:
|
|||||||
bool Remove( const SvTreeListEntry* pEntry );
|
bool Remove( const SvTreeListEntry* pEntry );
|
||||||
void Clear();
|
void Clear();
|
||||||
|
|
||||||
bool HasChildren( const SvTreeListEntry* pEntry ) const;
|
|
||||||
bool HasParent( const SvTreeListEntry* pEntry ) const;
|
|
||||||
|
|
||||||
bool IsChild(const SvTreeListEntry* pParent, const SvTreeListEntry* pChild) const;
|
bool IsChild(const SvTreeListEntry* pParent, const SvTreeListEntry* pChild) const;
|
||||||
SvTreeListEntry* GetEntry( SvTreeListEntry* pParent, sal_uLong nPos ) const;
|
SvTreeListEntry* GetEntry( SvTreeListEntry* pParent, sal_uLong nPos ) const;
|
||||||
SvTreeListEntry* GetEntry( sal_uLong nRootPos ) const;
|
SvTreeListEntry* GetEntry( sal_uLong nRootPos ) const;
|
||||||
|
@ -384,7 +384,6 @@ public:
|
|||||||
|
|
||||||
using Window::GetParent;
|
using Window::GetParent;
|
||||||
SvTreeListEntry* GetParent( SvTreeListEntry* pEntry ) const;
|
SvTreeListEntry* GetParent( SvTreeListEntry* pEntry ) const;
|
||||||
SvTreeListEntry* GetRootLevelParent(SvTreeListEntry* pEntry ) const;
|
|
||||||
|
|
||||||
using Window::GetChildCount;
|
using Window::GetChildCount;
|
||||||
sal_uLong GetChildCount( SvTreeListEntry const * pParent ) const;
|
sal_uLong GetChildCount( SvTreeListEntry const * pParent ) const;
|
||||||
@ -665,18 +664,12 @@ public:
|
|||||||
virtual void ModelNotification( SvListAction nActionId, SvTreeListEntry* pEntry1,
|
virtual void ModelNotification( SvListAction nActionId, SvTreeListEntry* pEntry1,
|
||||||
SvTreeListEntry* pEntry2, sal_uLong nPos ) override;
|
SvTreeListEntry* pEntry2, sal_uLong nPos ) override;
|
||||||
|
|
||||||
void EndSelection();
|
|
||||||
|
|
||||||
SvTreeListEntry* GetFirstEntryInView() const;
|
SvTreeListEntry* GetFirstEntryInView() const;
|
||||||
SvTreeListEntry* GetNextEntryInView(SvTreeListEntry*) const;
|
SvTreeListEntry* GetNextEntryInView(SvTreeListEntry*) const;
|
||||||
void ScrollToAbsPos( long nPos );
|
void ScrollToAbsPos( long nPos );
|
||||||
|
|
||||||
void ShowFocusRect( const SvTreeListEntry* pEntry );
|
|
||||||
|
|
||||||
static VclPtr<PopupMenu> CreateContextMenu();
|
static VclPtr<PopupMenu> CreateContextMenu();
|
||||||
|
|
||||||
void EnableContextMenuHandling();
|
|
||||||
|
|
||||||
long getPreferredDimensions(std::vector<long> &rWidths) const;
|
long getPreferredDimensions(std::vector<long> &rWidths) const;
|
||||||
|
|
||||||
virtual Size GetOptimalSize() const override;
|
virtual Size GetOptimalSize() const override;
|
||||||
|
@ -3126,7 +3126,6 @@ dbaccess/source/ui/control/ColumnControlWindow.cxx
|
|||||||
dbaccess/source/ui/control/FieldControls.cxx
|
dbaccess/source/ui/control/FieldControls.cxx
|
||||||
dbaccess/source/ui/control/FieldDescControl.cxx
|
dbaccess/source/ui/control/FieldDescControl.cxx
|
||||||
dbaccess/source/ui/control/RelationControl.cxx
|
dbaccess/source/ui/control/RelationControl.cxx
|
||||||
dbaccess/source/ui/control/ScrollHelper.cxx
|
|
||||||
dbaccess/source/ui/control/SqlNameEdit.cxx
|
dbaccess/source/ui/control/SqlNameEdit.cxx
|
||||||
dbaccess/source/ui/control/TableGrantCtrl.cxx
|
dbaccess/source/ui/control/TableGrantCtrl.cxx
|
||||||
dbaccess/source/ui/control/VertSplitView.cxx
|
dbaccess/source/ui/control/VertSplitView.cxx
|
||||||
@ -7152,7 +7151,6 @@ include/ucbhelper/content.hxx
|
|||||||
include/ucbhelper/contenthelper.hxx
|
include/ucbhelper/contenthelper.hxx
|
||||||
include/ucbhelper/contentidentifier.hxx
|
include/ucbhelper/contentidentifier.hxx
|
||||||
include/ucbhelper/fd_inputstream.hxx
|
include/ucbhelper/fd_inputstream.hxx
|
||||||
include/ucbhelper/getcomponentcontext.hxx
|
|
||||||
include/ucbhelper/interactionrequest.hxx
|
include/ucbhelper/interactionrequest.hxx
|
||||||
include/ucbhelper/interceptedinteraction.hxx
|
include/ucbhelper/interceptedinteraction.hxx
|
||||||
include/ucbhelper/macros.hxx
|
include/ucbhelper/macros.hxx
|
||||||
@ -16185,7 +16183,6 @@ ucbhelper/source/provider/contentidentifier.cxx
|
|||||||
ucbhelper/source/provider/contentinfo.cxx
|
ucbhelper/source/provider/contentinfo.cxx
|
||||||
ucbhelper/source/provider/contentinfo.hxx
|
ucbhelper/source/provider/contentinfo.hxx
|
||||||
ucbhelper/source/provider/fd_inputstream.cxx
|
ucbhelper/source/provider/fd_inputstream.cxx
|
||||||
ucbhelper/source/provider/getcomponentcontext.cxx
|
|
||||||
ucbhelper/source/provider/interactionrequest.cxx
|
ucbhelper/source/provider/interactionrequest.cxx
|
||||||
ucbhelper/source/provider/propertyvalueset.cxx
|
ucbhelper/source/provider/propertyvalueset.cxx
|
||||||
ucbhelper/source/provider/providerhelper.cxx
|
ucbhelper/source/provider/providerhelper.cxx
|
||||||
|
@ -31,7 +31,6 @@
|
|||||||
#include <osl/diagnose.h>
|
#include <osl/diagnose.h>
|
||||||
#include <cppuhelper/exc_hlp.hxx>
|
#include <cppuhelper/exc_hlp.hxx>
|
||||||
#include <cppuhelper/queryinterface.hxx>
|
#include <cppuhelper/queryinterface.hxx>
|
||||||
#include <ucbhelper/getcomponentcontext.hxx>
|
|
||||||
#include <ucbhelper/macros.hxx>
|
#include <ucbhelper/macros.hxx>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
#include "cachedcontentresultset.hxx"
|
#include "cachedcontentresultset.hxx"
|
||||||
#include <osl/diagnose.h>
|
#include <osl/diagnose.h>
|
||||||
#include <cppuhelper/queryinterface.hxx>
|
#include <cppuhelper/queryinterface.hxx>
|
||||||
#include <ucbhelper/getcomponentcontext.hxx>
|
|
||||||
#include <ucbhelper/macros.hxx>
|
#include <ucbhelper/macros.hxx>
|
||||||
|
|
||||||
using namespace com::sun::star::lang;
|
using namespace com::sun::star::lang;
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
#include <com/sun/star/ucb/ContentResultSetCapability.hpp>
|
#include <com/sun/star/ucb/ContentResultSetCapability.hpp>
|
||||||
#include <com/sun/star/ucb/SortedDynamicResultSetFactory.hpp>
|
#include <com/sun/star/ucb/SortedDynamicResultSetFactory.hpp>
|
||||||
#include <osl/diagnose.h>
|
#include <osl/diagnose.h>
|
||||||
#include <ucbhelper/getcomponentcontext.hxx>
|
|
||||||
#include <ucbhelper/macros.hxx>
|
#include <ucbhelper/macros.hxx>
|
||||||
#include <cppuhelper/queryinterface.hxx>
|
#include <cppuhelper/queryinterface.hxx>
|
||||||
|
|
||||||
|
@ -40,7 +40,6 @@
|
|||||||
#include <com/sun/star/container/XNameAccess.hpp>
|
#include <com/sun/star/container/XNameAccess.hpp>
|
||||||
#include <com/sun/star/uno/Any.hxx>
|
#include <com/sun/star/uno/Any.hxx>
|
||||||
#include <ucbhelper/cancelcommandexecution.hxx>
|
#include <ucbhelper/cancelcommandexecution.hxx>
|
||||||
#include <ucbhelper/getcomponentcontext.hxx>
|
|
||||||
#include <ucbhelper/macros.hxx>
|
#include <ucbhelper/macros.hxx>
|
||||||
#include <rtl/ref.hxx>
|
#include <rtl/ref.hxx>
|
||||||
#include "identify.hxx"
|
#include "identify.hxx"
|
||||||
|
@ -45,7 +45,6 @@
|
|||||||
#include <com/sun/star/util/XChangesBatch.hpp>
|
#include <com/sun/star/util/XChangesBatch.hpp>
|
||||||
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
|
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
|
||||||
#include <cppuhelper/implbase.hxx>
|
#include <cppuhelper/implbase.hxx>
|
||||||
#include <ucbhelper/getcomponentcontext.hxx>
|
|
||||||
#include <ucbhelper/macros.hxx>
|
#include <ucbhelper/macros.hxx>
|
||||||
#include <tools/diagnose_ex.h>
|
#include <tools/diagnose_ex.h>
|
||||||
#include "ucbstore.hxx"
|
#include "ucbstore.hxx"
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
#include <com/sun/star/ucb/WelcomeDynamicResultSetStruct.hpp>
|
#include <com/sun/star/ucb/WelcomeDynamicResultSetStruct.hpp>
|
||||||
#include <com/sun/star/ucb/CachedDynamicResultSetStubFactory.hpp>
|
#include <com/sun/star/ucb/CachedDynamicResultSetStubFactory.hpp>
|
||||||
#include <com/sun/star/ucb/XSourceInitialization.hpp>
|
#include <com/sun/star/ucb/XSourceInitialization.hpp>
|
||||||
#include <ucbhelper/getcomponentcontext.hxx>
|
|
||||||
|
|
||||||
using namespace com::sun::star::beans;
|
using namespace com::sun::star::beans;
|
||||||
using namespace com::sun::star::lang;
|
using namespace com::sun::star::lang;
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
#include <comphelper/processfactory.hxx>
|
#include <comphelper/processfactory.hxx>
|
||||||
#include <cppuhelper/queryinterface.hxx>
|
#include <cppuhelper/queryinterface.hxx>
|
||||||
#include <ucbhelper/contenthelper.hxx>
|
#include <ucbhelper/contenthelper.hxx>
|
||||||
#include <ucbhelper/getcomponentcontext.hxx>
|
|
||||||
#include <ucbhelper/macros.hxx>
|
#include <ucbhelper/macros.hxx>
|
||||||
#include <com/sun/star/ucb/ContentCreationException.hpp>
|
#include <com/sun/star/ucb/ContentCreationException.hpp>
|
||||||
#include <com/sun/star/ucb/IllegalIdentifierException.hpp>
|
#include <com/sun/star/ucb/IllegalIdentifierException.hpp>
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
#include <cppuhelper/typeprovider.hxx>
|
#include <cppuhelper/typeprovider.hxx>
|
||||||
#include <cppuhelper/supportsservice.hxx>
|
#include <cppuhelper/supportsservice.hxx>
|
||||||
#include <cppuhelper/factory.hxx>
|
#include <cppuhelper/factory.hxx>
|
||||||
#include <ucbhelper/getcomponentcontext.hxx>
|
|
||||||
#include "ftpcontentprovider.hxx"
|
#include "ftpcontentprovider.hxx"
|
||||||
#include "ftpcontent.hxx"
|
#include "ftpcontent.hxx"
|
||||||
#include "ftploaderthread.hxx"
|
#include "ftploaderthread.hxx"
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
|
|
||||||
#include <sal/log.hxx>
|
#include <sal/log.hxx>
|
||||||
#include <ucbhelper/contenthelper.hxx>
|
#include <ucbhelper/contenthelper.hxx>
|
||||||
#include <ucbhelper/getcomponentcontext.hxx>
|
|
||||||
#include <ucbhelper/macros.hxx>
|
#include <ucbhelper/macros.hxx>
|
||||||
#include <cppuhelper/queryinterface.hxx>
|
#include <cppuhelper/queryinterface.hxx>
|
||||||
#include <com/sun/star/ucb/ContentCreationException.hpp>
|
#include <com/sun/star/ucb/ContentCreationException.hpp>
|
||||||
|
@ -38,7 +38,6 @@
|
|||||||
#include <com/sun/star/util/XChangesBatch.hpp>
|
#include <com/sun/star/util/XChangesBatch.hpp>
|
||||||
#include <com/sun/star/util/XChangesNotifier.hpp>
|
#include <com/sun/star/util/XChangesNotifier.hpp>
|
||||||
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
|
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
|
||||||
#include <ucbhelper/getcomponentcontext.hxx>
|
|
||||||
#include <ucbhelper/macros.hxx>
|
#include <ucbhelper/macros.hxx>
|
||||||
#include <rtl/ref.hxx>
|
#include <rtl/ref.hxx>
|
||||||
|
|
||||||
|
@ -32,7 +32,6 @@
|
|||||||
#include <com/sun/star/util/theOfficeInstallationDirectories.hpp>
|
#include <com/sun/star/util/theOfficeInstallationDirectories.hpp>
|
||||||
#include <cppuhelper/queryinterface.hxx>
|
#include <cppuhelper/queryinterface.hxx>
|
||||||
#include <ucbhelper/contentidentifier.hxx>
|
#include <ucbhelper/contentidentifier.hxx>
|
||||||
#include <ucbhelper/getcomponentcontext.hxx>
|
|
||||||
#include <ucbhelper/macros.hxx>
|
#include <ucbhelper/macros.hxx>
|
||||||
#include "hierarchyprovider.hxx"
|
#include "hierarchyprovider.hxx"
|
||||||
#include "hierarchycontent.hxx"
|
#include "hierarchycontent.hxx"
|
||||||
|
@ -28,7 +28,6 @@
|
|||||||
#include <cppuhelper/weak.hxx>
|
#include <cppuhelper/weak.hxx>
|
||||||
#include <cppuhelper/queryinterface.hxx>
|
#include <cppuhelper/queryinterface.hxx>
|
||||||
#include <ucbhelper/contentidentifier.hxx>
|
#include <ucbhelper/contentidentifier.hxx>
|
||||||
#include <ucbhelper/getcomponentcontext.hxx>
|
|
||||||
#include <ucbhelper/macros.hxx>
|
#include <ucbhelper/macros.hxx>
|
||||||
#include <com/sun/star/container/XHierarchicalNameAccess.hpp>
|
#include <com/sun/star/container/XHierarchicalNameAccess.hpp>
|
||||||
#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
|
#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
|
||||||
|
@ -32,7 +32,6 @@
|
|||||||
#include <com/sun/star/ucb/IllegalIdentifierException.hpp>
|
#include <com/sun/star/ucb/IllegalIdentifierException.hpp>
|
||||||
#include <cppuhelper/queryinterface.hxx>
|
#include <cppuhelper/queryinterface.hxx>
|
||||||
#include <ucbhelper/contentidentifier.hxx>
|
#include <ucbhelper/contentidentifier.hxx>
|
||||||
#include <ucbhelper/getcomponentcontext.hxx>
|
|
||||||
#include <ucbhelper/macros.hxx>
|
#include <ucbhelper/macros.hxx>
|
||||||
|
|
||||||
#include "tdoc_provider.hxx"
|
#include "tdoc_provider.hxx"
|
||||||
|
@ -31,7 +31,6 @@
|
|||||||
#include <com/sun/star/ucb/IllegalIdentifierException.hpp>
|
#include <com/sun/star/ucb/IllegalIdentifierException.hpp>
|
||||||
#include <comphelper/processfactory.hxx>
|
#include <comphelper/processfactory.hxx>
|
||||||
#include <ucbhelper/contentidentifier.hxx>
|
#include <ucbhelper/contentidentifier.hxx>
|
||||||
#include <ucbhelper/getcomponentcontext.hxx>
|
|
||||||
#include <ucbhelper/macros.hxx>
|
#include <ucbhelper/macros.hxx>
|
||||||
#include <cppuhelper/queryinterface.hxx>
|
#include <cppuhelper/queryinterface.hxx>
|
||||||
#include "webdavprovider.hxx"
|
#include "webdavprovider.hxx"
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ucbhelper/contentidentifier.hxx>
|
#include <ucbhelper/contentidentifier.hxx>
|
||||||
#include <ucbhelper/getcomponentcontext.hxx>
|
|
||||||
#include <ucbhelper/macros.hxx>
|
#include <ucbhelper/macros.hxx>
|
||||||
#include "webdavprovider.hxx"
|
#include "webdavprovider.hxx"
|
||||||
#include "webdavcontent.hxx"
|
#include "webdavcontent.hxx"
|
||||||
|
@ -8,9 +8,6 @@ excludelist:
|
|||||||
ucbhelper/source/provider/cancelcommandexecution.cxx:
|
ucbhelper/source/provider/cancelcommandexecution.cxx:
|
||||||
# Needed for linker visibility
|
# Needed for linker visibility
|
||||||
- ucbhelper/cancelcommandexecution.hxx
|
- ucbhelper/cancelcommandexecution.hxx
|
||||||
ucbhelper/source/provider/getcomponentcontext.cxx:
|
|
||||||
# Needed to for ucbhelper::getComponentContext
|
|
||||||
- ucbhelper/getcomponentcontext.hxx
|
|
||||||
ucbhelper/source/provider/resultsetmetadata.cxx:
|
ucbhelper/source/provider/resultsetmetadata.cxx:
|
||||||
# Needed for UnoType types
|
# Needed for UnoType types
|
||||||
- com/sun/star/io/XInputStream.hpp
|
- com/sun/star/io/XInputStream.hpp
|
||||||
|
@ -35,7 +35,6 @@ $(eval $(call gb_Library_add_exception_objects,ucbhelper,\
|
|||||||
ucbhelper/source/provider/contentidentifier \
|
ucbhelper/source/provider/contentidentifier \
|
||||||
ucbhelper/source/provider/contentinfo \
|
ucbhelper/source/provider/contentinfo \
|
||||||
ucbhelper/source/provider/fd_inputstream \
|
ucbhelper/source/provider/fd_inputstream \
|
||||||
ucbhelper/source/provider/getcomponentcontext \
|
|
||||||
ucbhelper/source/provider/interactionrequest \
|
ucbhelper/source/provider/interactionrequest \
|
||||||
ucbhelper/source/provider/propertyvalueset \
|
ucbhelper/source/provider/propertyvalueset \
|
||||||
ucbhelper/source/provider/providerhelper \
|
ucbhelper/source/provider/providerhelper \
|
||||||
|
@ -1,39 +0,0 @@
|
|||||||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
||||||
/*
|
|
||||||
* This file is part of the LibreOffice project.
|
|
||||||
*
|
|
||||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
*
|
|
||||||
* This file incorporates work covered by the following license notice:
|
|
||||||
*
|
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
||||||
* contributor license agreements. See the NOTICE file distributed
|
|
||||||
* with this work for additional information regarding copyright
|
|
||||||
* ownership. The ASF licenses this file to you under the Apache
|
|
||||||
* License, Version 2.0 (the "License"); you may not use this file
|
|
||||||
* except in compliance with the License. You may obtain a copy of
|
|
||||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <sal/config.h>
|
|
||||||
|
|
||||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
|
||||||
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
|
|
||||||
#include <com/sun/star/uno/Reference.hxx>
|
|
||||||
#include <com/sun/star/uno/XComponentContext.hpp>
|
|
||||||
#include <ucbhelper/getcomponentcontext.hxx>
|
|
||||||
|
|
||||||
css::uno::Reference< css::uno::XComponentContext >
|
|
||||||
ucbhelper::getComponentContext(
|
|
||||||
css::uno::Reference< css::lang::XMultiServiceFactory > const & factory)
|
|
||||||
{
|
|
||||||
return css::uno::Reference< css::uno::XComponentContext >(
|
|
||||||
css::uno::Reference< css::beans::XPropertySet >(
|
|
||||||
factory, css::uno::UNO_QUERY_THROW)->getPropertyValue(
|
|
||||||
"DefaultContext"),
|
|
||||||
css::uno::UNO_QUERY_THROW);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
|
@ -307,7 +307,6 @@ public:
|
|||||||
bool GetUpdateMode() const { return m_bUpdateMode; }
|
bool GetUpdateMode() const { return m_bUpdateMode; }
|
||||||
tools::Rectangle GetClipRegionRect() const;
|
tools::Rectangle GetClipRegionRect() const;
|
||||||
bool HasHorScrollBar() const { return m_aHorSBar->IsVisible(); }
|
bool HasHorScrollBar() const { return m_aHorSBar->IsVisible(); }
|
||||||
void ShowFocusRect( const SvTreeListEntry* pEntry );
|
|
||||||
void CallEventListeners( VclEventId nEvent, void* pData = nullptr );
|
void CallEventListeners( VclEventId nEvent, void* pData = nullptr );
|
||||||
|
|
||||||
bool IsSelectable( const SvTreeListEntry* pEntry );
|
bool IsSelectable( const SvTreeListEntry* pEntry );
|
||||||
|
@ -3225,26 +3225,6 @@ void SvImpLBox::StopUserEvent()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SvImpLBox::ShowFocusRect( const SvTreeListEntry* pEntry )
|
|
||||||
{
|
|
||||||
if( pEntry )
|
|
||||||
{
|
|
||||||
long nY = GetEntryLine(pEntry);
|
|
||||||
tools::Rectangle aRect = m_pView->GetFocusRect(pEntry, nY);
|
|
||||||
vcl::Region aOldClip( m_pView->GetClipRegion());
|
|
||||||
vcl::Region aClipRegion( GetClipRegionRect() );
|
|
||||||
m_pView->SetClipRegion( aClipRegion );
|
|
||||||
m_pView->ShowFocus( aRect );
|
|
||||||
m_pView->SetClipRegion( aOldClip );
|
|
||||||
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
m_pView->HideFocus();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void SvImpLBox::implInitDefaultNodeImages()
|
void SvImpLBox::implInitDefaultNodeImages()
|
||||||
{
|
{
|
||||||
if ( s_pDefCollapsed )
|
if ( s_pDefCollapsed )
|
||||||
|
@ -50,12 +50,6 @@ void SvLBoxButtonData::InitData( bool _bRadioBtn, const Control* pCtrl )
|
|||||||
SetDefaultImages( pCtrl );
|
SetDefaultImages( pCtrl );
|
||||||
}
|
}
|
||||||
|
|
||||||
SvLBoxButtonData::SvLBoxButtonData( const Control* pControlForSettings )
|
|
||||||
: pImpl( new SvLBoxButtonData_Impl )
|
|
||||||
{
|
|
||||||
InitData( false, pControlForSettings );
|
|
||||||
}
|
|
||||||
|
|
||||||
SvLBoxButtonData::SvLBoxButtonData( const Control* pControlForSettings, bool _bRadioBtn )
|
SvLBoxButtonData::SvLBoxButtonData( const Control* pControlForSettings, bool _bRadioBtn )
|
||||||
: pImpl( new SvLBoxButtonData_Impl )
|
: pImpl( new SvLBoxButtonData_Impl )
|
||||||
{
|
{
|
||||||
|
@ -1493,19 +1493,6 @@ void SvTreeList::GetInsertionPos( SvTreeListEntry const * pEntry, SvTreeListEntr
|
|||||||
rPos = k;
|
rPos = k;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool SvTreeList::HasChildren( const SvTreeListEntry* pEntry ) const
|
|
||||||
{
|
|
||||||
if ( !pEntry )
|
|
||||||
pEntry = pRootItem.get();
|
|
||||||
|
|
||||||
return !pEntry->m_Children.empty();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool SvTreeList::HasParent( const SvTreeListEntry* pEntry ) const
|
|
||||||
{
|
|
||||||
return pEntry->pParent != pRootItem.get();
|
|
||||||
}
|
|
||||||
|
|
||||||
SvTreeListEntry* SvTreeList::GetEntry( SvTreeListEntry* pParent, sal_uLong nPos ) const
|
SvTreeListEntry* SvTreeList::GetEntry( SvTreeListEntry* pParent, sal_uLong nPos ) const
|
||||||
{ if ( !pParent )
|
{ if ( !pParent )
|
||||||
pParent = pRootItem.get();
|
pParent = pRootItem.get();
|
||||||
|
@ -786,11 +786,6 @@ SvTreeListEntry* SvTreeListBox::GetParent( SvTreeListEntry* pEntry ) const
|
|||||||
return pModel->GetParent(pEntry);
|
return pModel->GetParent(pEntry);
|
||||||
}
|
}
|
||||||
|
|
||||||
SvTreeListEntry* SvTreeListBox::GetRootLevelParent( SvTreeListEntry* pEntry ) const
|
|
||||||
{
|
|
||||||
return pModel->GetRootLevelParent(pEntry);
|
|
||||||
}
|
|
||||||
|
|
||||||
sal_uLong SvTreeListBox::GetChildCount( SvTreeListEntry const * pParent ) const
|
sal_uLong SvTreeListBox::GetChildCount( SvTreeListEntry const * pParent ) const
|
||||||
{
|
{
|
||||||
return pModel->GetChildCount(pParent);
|
return pModel->GetChildCount(pParent);
|
||||||
@ -3339,11 +3334,6 @@ void SvTreeListBox::ModelNotification( SvListAction nActionId, SvTreeListEntry*
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SvTreeListBox::EndSelection()
|
|
||||||
{
|
|
||||||
pImpl->EndSelection();
|
|
||||||
}
|
|
||||||
|
|
||||||
SvTreeListEntry* SvTreeListBox::GetFirstEntryInView() const
|
SvTreeListEntry* SvTreeListBox::GetFirstEntryInView() const
|
||||||
{
|
{
|
||||||
return GetEntry( Point() );
|
return GetEntry( Point() );
|
||||||
@ -3363,11 +3353,6 @@ SvTreeListEntry* SvTreeListBox::GetNextEntryInView(SvTreeListEntry* pEntry ) con
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void SvTreeListBox::ShowFocusRect( const SvTreeListEntry* pEntry )
|
|
||||||
{
|
|
||||||
pImpl->ShowFocusRect( pEntry );
|
|
||||||
}
|
|
||||||
|
|
||||||
void SvTreeListBox::DataChanged( const DataChangedEvent& rDCEvt )
|
void SvTreeListBox::DataChanged( const DataChangedEvent& rDCEvt )
|
||||||
{
|
{
|
||||||
if( (rDCEvt.GetType()==DataChangedEventType::SETTINGS) && (rDCEvt.GetFlags() & AllSettingsFlags::STYLE) )
|
if( (rDCEvt.GetType()==DataChangedEventType::SETTINGS) && (rDCEvt.GetFlags() & AllSettingsFlags::STYLE) )
|
||||||
@ -3429,12 +3414,6 @@ VclPtr<PopupMenu> SvTreeListBox::CreateContextMenu()
|
|||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SvTreeListBox::EnableContextMenuHandling()
|
|
||||||
{
|
|
||||||
assert(pImpl && "-SvTreeListBox::EnableContextMenuHandling(): No implementation!");
|
|
||||||
pImpl->m_bContextMenuHandling = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
css::uno::Reference< XAccessible > SvTreeListBox::CreateAccessible()
|
css::uno::Reference< XAccessible > SvTreeListBox::CreateAccessible()
|
||||||
{
|
{
|
||||||
vcl::Window* pParent = GetAccessibleParentWindow();
|
vcl::Window* pParent = GetAccessibleParentWindow();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user