Advertisement
Guest User

Untitled

a guest
Mar 30th, 2010
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.03 KB | None | 0 0
  1. Index: okular/extensions.cpp
  2. ===================================================================
  3. --- okular/extensions.cpp   (revision 1109126)
  4. +++ okular/extensions.cpp   (working copy)
  5. @@ -84,7 +84,7 @@
  6.      {
  7.          type = KParts::LiveConnectExtension::TypeVoid;
  8.          postMessage( args );
  9. -        value = QString();
  10. +        value.clear();
  11.          result = true;
  12.      }
  13.      return result;
  14. Index: okular/core/document.cpp
  15. ===================================================================
  16. --- okular/core/document.cpp    (revision 1109126)
  17. +++ okular/core/document.cpp    (working copy)
  18. @@ -1709,7 +1709,7 @@
  19.      {
  20.          setViewport( nextViewport );
  21.          d->m_nextDocumentViewport = DocumentViewport();
  22. -        d->m_nextDocumentDestination = QString();
  23. +        (d->m_nextDocumentDestination).clear();
  24.      }
  25.  
  26.      AudioPlayer::instance()->d->m_currentDocument = isstdin ? KUrl() : d->m_url;
  27. @@ -1811,10 +1811,10 @@
  28.              KGlobal::locale()->removeCatalog( genIt.value().catalogName );
  29.      }
  30.      d->m_generator = 0;
  31. -    d->m_generatorName = QString();
  32. +    (d->m_generatorName).clear();
  33.      d->m_url = KUrl();
  34. -    d->m_docFileName = QString();
  35. -    d->m_xmlFileName = QString();
  36. +    (d->m_docFileName).clear();
  37. +    (d->m_xmlFileName).clear();
  38.      delete d->m_tempFile;
  39.      d->m_tempFile = 0;
  40.      delete d->m_archiveData;
  41. @@ -2852,7 +2852,7 @@
  42.  
  43.                  setViewport( nextViewport, -1, true );
  44.                  d->m_nextDocumentViewport = DocumentViewport();
  45. -                d->m_nextDocumentDestination = QString();
  46. +                (d->m_nextDocumentDestination).clear();
  47.              }
  48.  
  49.              } break;
  50. Index: okular/generators/chm/generator_chm.cpp
  51. ===================================================================
  52. --- okular/generators/chm/generator_chm.cpp (revision 1109126)
  53. +++ okular/generators/chm/generator_chm.cpp (working copy)
  54. @@ -220,7 +220,7 @@
  55.      }
  56.  
  57.      m_syncGen->closeUrl();
  58. -    m_chmUrl = QString();
  59. +    m_chmUrl.clear();
  60.  
  61.      userMutex()->unlock();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement