[Libreoffice-commits] core.git: vcl/source

Chris Sherlock (via logerrit) logerrit at kemper.freedesktop.org
Thu Oct 7 12:28:06 UTC 2021


 vcl/source/cnttype/mcnttype.cxx |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

New commits:
commit 946b0840a0db5aabfb0d60916abf161d755170f4
Author:     Chris Sherlock <chris.sherlock79 at gmail.com>
AuthorDate: Wed Sep 29 21:52:40 2021 +1000
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Thu Oct 7 14:27:31 2021 +0200

    vcl: remove unnecessary using com::sun::star::\* and std namespaces
    
    Change-Id: Ia6e9987262e10a107a14c9fd1b9c274c34cc7d27
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122815
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/vcl/source/cnttype/mcnttype.cxx b/vcl/source/cnttype/mcnttype.cxx
index 3c75c62b943d..f41f5d25ea3a 100644
--- a/vcl/source/cnttype/mcnttype.cxx
+++ b/vcl/source/cnttype/mcnttype.cxx
@@ -26,9 +26,6 @@
 
 #include "mcnttype.hxx"
 
-using namespace com::sun::star::uno;
-using namespace com::sun::star::container;
-
 CMimeContentType::CMimeContentType( const OUString& aCntType )
 {
     init( aCntType );
@@ -49,7 +46,7 @@ OUString SAL_CALL CMimeContentType::getFullMediaType( )
     return m_MediaType + "/" + m_MediaSubtype;
 }
 
-Sequence< OUString > SAL_CALL CMimeContentType::getParameters( )
+css::uno::Sequence< OUString > SAL_CALL CMimeContentType::getParameters( )
 {
     return comphelper::mapKeysToSequence(m_ParameterMap);
 }
@@ -64,7 +61,7 @@ OUString SAL_CALL CMimeContentType::getParameterValue( const OUString& aName )
     auto const lower = aName.toAsciiLowerCase();
 
     if ( !hasParameter( lower ) )
-        throw NoSuchElementException( );
+        throw css::container::NoSuchElementException( );
 
     return m_ParameterMap.find( lower )->second;
 }


More information about the Libreoffice-commits mailing list