[Libreoffice-commits] .: 3 commits - editeng/inc sw/inc

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Dec 11 01:40:55 PST 2012


 editeng/inc/editeng/LatinLookupTree.hxx |    2 --
 sw/inc/SwXMLSectionList.hxx             |    2 --
 sw/inc/shellio.hxx                      |    1 -
 sw/inc/unotxdoc.hxx                     |    2 +-
 4 files changed, 1 insertion(+), 6 deletions(-)

New commits:
commit 22dadc5d1584fb7d161b4dabb9ff5152d5db5445
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Tue Dec 11 09:45:26 2012 +0100

    fix include guard

diff --git a/sw/inc/unotxdoc.hxx b/sw/inc/unotxdoc.hxx
index a43ce05..b0b6b60 100644
--- a/sw/inc/unotxdoc.hxx
+++ b/sw/inc/unotxdoc.hxx
@@ -542,7 +542,6 @@ public:
     virtual sal_Bool SAL_CALL supportsService(const rtl::OUString& ServiceName) throw( css::uno::RuntimeException );
     virtual css::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( css::uno::RuntimeException );
 };
-#endif
 
 class SwXDocumentPropertyHelper : public SvxUnoForbiddenCharsTable
 {
@@ -585,5 +584,6 @@ public:
     void DontTouchThatViewShellItSmellsFunny() { m_pShell = 0; }
 };
 
+#endif
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
commit bbbbe235c97f8fd0747f91a7b96f961b85091fe1
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Tue Dec 11 09:34:13 2012 +0100

    'using namespace rtl;' in a header is baaaad

diff --git a/editeng/inc/editeng/LatinLookupTree.hxx b/editeng/inc/editeng/LatinLookupTree.hxx
index 373152c..9407780 100644
--- a/editeng/inc/editeng/LatinLookupTree.hxx
+++ b/editeng/inc/editeng/LatinLookupTree.hxx
@@ -24,8 +24,6 @@
 #include <editeng/TreeHead.hxx>
 #include <editeng/editengdllapi.h>
 
-using namespace rtl;
-
 /**
  * LatinLookupTree implements a tree that is optimized for storing and looking
  * up words that mainly consist of roman characters, although any other
commit 15b91684a608ed485e62b2320bde61817c47631e
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Tue Dec 11 09:16:59 2012 +0100

    remove wrong and unused forward declaration for 'class vector'

diff --git a/sw/inc/SwXMLSectionList.hxx b/sw/inc/SwXMLSectionList.hxx
index 38f4df1..04ff2bd 100644
--- a/sw/inc/SwXMLSectionList.hxx
+++ b/sw/inc/SwXMLSectionList.hxx
@@ -22,8 +22,6 @@
 #include <xmloff/xmlictxt.hxx>
 #include <xmloff/xmlimp.hxx>
 
-class vector;
-
 class SwXMLSectionList : public SvXMLImport
 {
 protected:
diff --git a/sw/inc/shellio.hxx b/sw/inc/shellio.hxx
index e0bdf94..674bf7c 100644
--- a/sw/inc/shellio.hxx
+++ b/sw/inc/shellio.hxx
@@ -53,7 +53,6 @@ class SwCrsrShell;
 class SwDoc;
 class SwPaM;
 class SwTextBlocks;
-class vector;
 struct SwPosition;
 struct Writer_Impl;
 


More information about the Libreoffice-commits mailing list