callcatcher: update unused code list and drop more old-layouting unuseds
Change-Id: I1096ea50a23040090c9ee2975a4165c6de238497
This commit is contained in:
@@ -78,7 +78,7 @@ connectivity::mork::ProfileAccess::isProfileLocked(com::sun::star::mozilla::Mozi
|
|||||||
connectivity::mozab::MQueryHelper::next()
|
connectivity::mozab::MQueryHelper::next()
|
||||||
connectivity::sdbcx::OGroup::OGroup(rtl::OUString const&, unsigned char)
|
connectivity::sdbcx::OGroup::OGroup(rtl::OUString const&, unsigned char)
|
||||||
connectivity::sdbcx::OGroup::OGroup(unsigned char)
|
connectivity::sdbcx::OGroup::OGroup(unsigned char)
|
||||||
dbtools::getConnection(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&)
|
dbtools::getConnection(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> const&)
|
||||||
formula::FormulaTokenIterator::First()
|
formula::FormulaTokenIterator::First()
|
||||||
framework::OReadMenuDocumentHandler::getServiceFactory()
|
framework::OReadMenuDocumentHandler::getServiceFactory()
|
||||||
jfw_plugin::VendorBase::createInstance()
|
jfw_plugin::VendorBase::createInstance()
|
||||||
|
@@ -317,7 +317,6 @@ namespace vcl
|
|||||||
|
|
||||||
// returns the index of the added label
|
// returns the index of the added label
|
||||||
size_t addRow( Window* i_pLabel, boost::shared_ptr<WindowArranger> const& i_rElement, long i_nIndent = 0 );
|
size_t addRow( Window* i_pLabel, boost::shared_ptr<WindowArranger> const& i_rElement, long i_nIndent = 0 );
|
||||||
size_t addRow( Window* i_pLabel, Window* i_pElement, long i_nIndent = 0, const Size& i_rElementMinSize = Size() );
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class VCL_DLLPUBLIC Indenter : public WindowArranger
|
class VCL_DLLPUBLIC Indenter : public WindowArranger
|
||||||
|
@@ -126,7 +126,6 @@ namespace dnd {
|
|||||||
|
|
||||||
namespace vcl {
|
namespace vcl {
|
||||||
struct ControlLayoutData;
|
struct ControlLayoutData;
|
||||||
class WindowArranger;
|
|
||||||
struct ExtWindowImpl;
|
struct ExtWindowImpl;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1313,20 +1312,7 @@ public:
|
|||||||
|
|
||||||
// ExtImpl
|
// ExtImpl
|
||||||
|
|
||||||
// layouting
|
// old layouting, in-process-of-removal
|
||||||
boost::shared_ptr< vcl::WindowArranger > getLayout();
|
|
||||||
|
|
||||||
/* add a child Window
|
|
||||||
addWindow will do the following things
|
|
||||||
- insert the passed window into the child list (equivalent to i_pWin->SetParent( this ))
|
|
||||||
- mark the window as "owned", meaning that the added Window will be destroyed by
|
|
||||||
the parent's desctructor.
|
|
||||||
This means: do not pass in member windows or stack objects here. Do not cause
|
|
||||||
the destructor of the added window to be called in any way.
|
|
||||||
|
|
||||||
to avoid ownership pass i_bTakeOwnership as "false"
|
|
||||||
*/
|
|
||||||
void addWindow( Window* i_pWin, bool i_bTakeOwnership = true );
|
|
||||||
|
|
||||||
/* return the identifier of this window
|
/* return the identifier of this window
|
||||||
*/
|
*/
|
||||||
|
@@ -730,18 +730,6 @@ size_t LabelColumn::addRow( Window* i_pLabel, boost::shared_ptr<WindowArranger>
|
|||||||
return nIndex;
|
return nIndex;
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t LabelColumn::addRow( Window* i_pLabel, Window* i_pElement, long i_nIndent, const Size& i_rElementMinSize )
|
|
||||||
{
|
|
||||||
boost::shared_ptr< LabeledElement > xLabel( new LabeledElement( this, 1 ) );
|
|
||||||
xLabel->setLabel( i_pLabel );
|
|
||||||
xLabel->setBorders( 0, i_nIndent, 0, 0, 0 );
|
|
||||||
xLabel->setElement( i_pElement );
|
|
||||||
xLabel->setMinimumSize( 1, i_rElementMinSize );
|
|
||||||
size_t nIndex = addChild( xLabel );
|
|
||||||
resize();
|
|
||||||
return nIndex;
|
|
||||||
}
|
|
||||||
|
|
||||||
// ----------------------------------------
|
// ----------------------------------------
|
||||||
// vcl::Indenter
|
// vcl::Indenter
|
||||||
//-----------------------------------------
|
//-----------------------------------------
|
||||||
|
@@ -100,38 +100,6 @@ void Window::ImplExtResize()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
boost::shared_ptr< vcl::WindowArranger > Window::getLayout()
|
|
||||||
{
|
|
||||||
boost::shared_ptr< vcl::WindowArranger > xRet;
|
|
||||||
vcl::ExtWindowImpl* pImpl = ImplGetExtWindowImpl();
|
|
||||||
if( pImpl )
|
|
||||||
{
|
|
||||||
if( ! pImpl->mxLayout.get() )
|
|
||||||
{
|
|
||||||
pImpl->mxLayout.reset( new vcl::LabelColumn() );
|
|
||||||
pImpl->mxLayout->setParentWindow( this );
|
|
||||||
pImpl->mxLayout->setOuterBorder( -1 );
|
|
||||||
}
|
|
||||||
xRet = pImpl->mxLayout;
|
|
||||||
}
|
|
||||||
|
|
||||||
return xRet;
|
|
||||||
}
|
|
||||||
|
|
||||||
void Window::addWindow( Window* i_pWin, bool i_bTakeOwnership )
|
|
||||||
{
|
|
||||||
vcl::ExtWindowImpl* pImpl = ImplGetExtWindowImpl();
|
|
||||||
if( pImpl && i_pWin )
|
|
||||||
{
|
|
||||||
vcl::ExtWindowImpl* pChildImpl = i_pWin->ImplGetExtWindowImpl();
|
|
||||||
if( pChildImpl )
|
|
||||||
{
|
|
||||||
i_pWin->SetParent( this );
|
|
||||||
pChildImpl->mbOwnedByParent = i_bTakeOwnership;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Window* Window::findWindow( const rtl::OUString& i_rIdentifier ) const
|
Window* Window::findWindow( const rtl::OUString& i_rIdentifier ) const
|
||||||
{
|
{
|
||||||
if( getIdentifier() == i_rIdentifier )
|
if( getIdentifier() == i_rIdentifier )
|
||||||
|
Reference in New Issue
Block a user