[Libreoffice-commits] core.git: 2 commits - bin/findunusedcode unusedcode.easy vcl/source

Caolán McNamara caolanm at redhat.com
Tue Mar 4 03:57:02 PST 2014


 bin/findunusedcode           |    1 +
 unusedcode.easy              |   31 ++++++-------------------------
 vcl/source/edit/vclmedit.cxx |    1 +
 3 files changed, 8 insertions(+), 25 deletions(-)

New commits:
commit e8da8b3a1a0e21c1601e93f8c0267e524f406da1
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Mar 4 11:53:40 2014 +0000

    Resolves: fdo#75229 missing object:state-changed:focused
    
    in multiline edits, focus remains stuck on internal
    TextWindow instead of being placed on container MultiLineEdit
    
    regression from b755fb8c0f6b1282f62c12f378c0a5ecac64d490 which
    removed it with no explanation
    
    Change-Id: I9d6bd546e341651442538bf40de6c43c521868d7

diff --git a/vcl/source/edit/vclmedit.cxx b/vcl/source/edit/vclmedit.cxx
index 5300e91..3ab4618 100644
--- a/vcl/source/edit/vclmedit.cxx
+++ b/vcl/source/edit/vclmedit.cxx
@@ -908,6 +908,7 @@ void TextWindow::Command( const CommandEvent& rCEvt )
 
 void TextWindow::GetFocus()
 {
+    Window::GetFocus();
     if ( !mbActivePopup )
     {
         bool bGotoCursor = !mpExtTextView->IsReadOnly();
commit 9b59e888d9c2cc307c1579598d69570124d868b1
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Mar 4 09:24:53 2014 +0000

    callcatcher consider sdk bin dir too
    
    Change-Id: I754345b637bb71a822c9ea4f1edf6e344172b467

diff --git a/bin/findunusedcode b/bin/findunusedcode
index 4aaf9cc..22727cf 100755
--- a/bin/findunusedcode
+++ b/bin/findunusedcode
@@ -41,6 +41,7 @@ make
 
 callanalyse \
   instdir/program/* \
+  instdir/sdk/bin/* \
   workdir/LinkTarget/*/* workdir/LinkTarget/*/*/* \
   workdir/UnpackedTarball/cppunit/src/cppunit/.libs/libcppunit.so* \
   > unusedcode.all
diff --git a/unusedcode.easy b/unusedcode.easy
index 038e022..eb79e40 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1,3 +1,4 @@
+AstDeclaration::setName(rtl::OString const&)
 BigInt::BigInt(unsigned int)
 CalcUnoApiTest::CalcUnoApiTest(rtl::OUString const&)
 Chart2ExportTest::testFdo74115WallGradientFill()
@@ -7,11 +8,6 @@ DocxSdrExport::getFlyFrameGraphic()
 DocxSdrExport::setFlyFrameGraphic(bool)
 DocxSdrExport::setFrameBtLr(bool)
 EditEngine::IsIdleFormatterActive() const
-EditSelection::IsInvalid() const
-FileStream::FileStream()
-FileStream::close()
-FileStream::createTempFile(rtl::OString const&)
-FileStream::write(void const*, unsigned long)
 GDriveDocument::GDriveDocument(GDriveSession*)
 GDriveFolder::GDriveFolder(GDriveSession*)
 GDriveProperty::GDriveProperty()
@@ -26,11 +22,6 @@ MenuBar::RemoveMenuBarButton(unsigned short)
 MenuBar::SetMenuBarButtonHighlightHdl(unsigned short, Link const&)
 OAuth2Handler::OAuth2Handler()
 OAuth2Handler::getAccessToken()
-Options::Options()
-Options::getInputFiles()
-Options::getOption(rtl::OString const&) const
-Options::getProgramName() const
-Options::isValid(rtl::OString const&) const
 OutputDevice::GetCanvas() const
 OutputDevice::LogicToLogic(basegfx::B2DPolyPolygon const&, MapMode const&, MapMode const&)
 OutputDevice::LogicToPixel(Region const&, MapMode const&) const
@@ -52,6 +43,7 @@ SfxBindings::GetSlot(unsigned short)
 SfxBindings::GetSystemWindow() const
 SfxDispatcher::IsOnTop(SfxShell const&)
 SfxGrabBagItem::SetGrabBag(std::map<rtl::OUString, com::sun::star::uno::Any, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, com::sun::star::uno::Any> > > const&)
+SfxInt64Item::SetValue(long)
 SfxItemPool::GetMasterPool() const
 SimpleErrorHandler::SimpleErrorHandler()
 SmFontPickList::Contains(Font const&) const
@@ -101,10 +93,6 @@ ThumbnailView::DeselectItem(unsigned short)
 ThumbnailView::GetItemText(unsigned short) const
 ThumbnailView::SetColor(Color const&)
 ToolBox::GetItemExpand(unsigned short) const
-TypeManager::TypeManager()
-TypeManager::decompose(rtl::OUString const&, bool, rtl::OUString*, int*, std::vector<rtl::OUString, std::allocator<rtl::OUString> >*, rtl::Reference<unoidl::Entity>*) const
-TypeManager::foundAtPrimaryProvider(rtl::OUString const&) const
-TypeManager::loadProvider(rtl::OUString const&, bool)
 UnoApiTest::closeDocument(com::sun::star::uno::Reference<com::sun::star::lang::XComponent>)
 VclMultiLineEdit::IsRightToLeft() const
 VclMultiLineEdit::SetTextSelectable(bool)
@@ -228,13 +216,6 @@ basegfx::tools::equal(basegfx::B3DPolyPolygon const&, basegfx::B3DPolyPolygon co
 canvas::createSurfaceProxyManager(boost::shared_ptr<canvas::IRenderModule> const&)
 chart::ChartModelHelper::setPageSize(com::sun::star::awt::Size const&, com::sun::star::uno::Reference<com::sun::star::frame::XModel> const&)
 chart::ModifyListenerCallBack::startListening(com::sun::star::uno::Reference<com::sun::star::util::XModifyBroadcaster> const&)
-codemaker::ExceptionTree::add(rtl::OString const&, rtl::Reference<TypeManager> const&)
-codemaker::convertString(rtl::OUString const&)
-codemaker::cpp::scopedCppName(rtl::OString const&, bool)
-codemaker::cpp::translateUnoToCppIdentifier(rtl::OString const&, rtl::OString const&, codemaker::cpp::IdentifierTranslationMode, rtl::OString const*)
-codemaker::cpp::translateUnoToCppType(codemaker::UnoType::Sort, rtl::OUString const&)
-codemaker::java::translateUnoToJavaIdentifier(rtl::OString const&, rtl::OString const&)
-codemaker::java::translateUnoToJavaType(codemaker::UnoType::Sort, rtl::OString const&, bool)
 comphelper::detail::ConfigurationWrapper::getGroupReadWrite(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&) const
 comphelper::detail::ConfigurationWrapper::getLocalizedPropertyValue(rtl::OUString const&) const
 comphelper::detail::ConfigurationWrapper::setLocalizedPropertyValue(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&, com::sun::star::uno::Any const&) const
@@ -253,16 +234,16 @@ formula::SingleVectorRefToken::GetRequestedArrayLength() const
 formula::SingleVectorRefToken::SingleVectorRefToken(double const*, unsigned long, unsigned long)
 oglcanvas::CanvasHelper::flush() const
 oglcanvas::TextLayout::draw(com::sun::star::rendering::ViewState const&, com::sun::star::rendering::RenderState const&, com::sun::star::uno::Reference<com::sun::star::rendering::XGraphicDevice> const&) const
+oox::core::Relations::getRelationsFromType(rtl::OUString const&) const
+oox::core::XmlFilterBase::getFragmentPathFromFirstType(rtl::OUString const&)
 oox::xls::BiffDrawingObjectBase::BiffDrawingObjectBase(oox::xls::WorksheetHelper const&)
-registry::tools::Options::Options(char const*)
-registry::tools::Options::badOption(char const*, char const*) const
-registry::tools::Options::initOptions(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)
-registry::tools::convertToFileUrl(char const*, int)
 rtl_OUString::convertFromString::test()
 sc::CLBuildKernelThread::consume()
 sc::CLBuildKernelThread::produce()
 sd::LeftDrawPaneShell::RegisterInterface(SfxModule*)
 sd::LeftImpressPaneShell::RegisterInterface(SfxModule*)
+sfx2::sidebar::Deck::PrintWindowTree(std::vector<sfx2::sidebar::Panel*, std::allocator<sfx2::sidebar::Panel*> > const&)
+sfx2::sidebar::Panel::PrintWindowTree()
 std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString const, (anonymous namespace)::TemplateId>, std::_Select1st<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> >, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> > >::_Rb_tree(std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString const, (anonymous namespace)::TemplateId>, std::_Select1st<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> >, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> > >&&)
 std::auto_ptr<formula::FormulaTokenArray>::auto_ptr(std::auto_ptr<formula::FormulaTokenArray>&)
 std::auto_ptr<formula::FormulaTokenArray>::auto_ptr(std::auto_ptr_ref<formula::FormulaTokenArray>)


More information about the Libreoffice-commits mailing list