~noskcaj/ubuntu/saucy/openwalnut/liberation

« back to all changes in this revision

Viewing changes to src/qt4gui/networkEditor/WQtNetworkItem.cpp

  • Committer: Package Import Robot
  • Author(s): Dmitrijs Ledkovs
  • Date: 2013-05-24 03:12:03 UTC
  • Revision ID: package-import@ubuntu.com-20130524031203-l5g1lzm1vd83fupi
Tags: 1.3.1+hg5849-1ubuntu1
Cherrypick boost1.53 pointer cast fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
 
67
67
    // for captions of data modules
68
68
    boost::shared_ptr< WDataModule > dataModule;
69
 
    dataModule = boost::shared_dynamic_cast< WDataModule >( module );
 
69
    dataModule = boost::dynamic_pointer_cast< WDataModule >( module );
70
70
    if( dataModule )
71
71
    {
72
72
        m_subtitleFull = dataModule->getFilename().filename().string();
215
215
            // if busy indication was active -> update to remove it again
216
216
            needUpdate |= m_busyIndicatorShow;
217
217
            m_busyIndicatorShow = false;
218
 
            WDataModule::SPtr dataModule = boost::shared_dynamic_cast< WDataModule >( m_module );
 
218
            WDataModule::SPtr dataModule = boost::dynamic_pointer_cast< WDataModule >( m_module );
219
219
            if( dataModule )
220
220
            {
221
221
                m_subtitleFull = dataModule->getFilename().filename().string();