summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2021-09-29 21:52:40 +1000
committerJulien Nabet <serval2412@yahoo.fr>2021-10-07 14:27:31 +0200
commit946b0840a0db5aabfb0d60916abf161d755170f4 (patch)
treef50e78dcc2b0a174a77c4cec9103c28470bc2e38 /vcl
parent5f91b3b6c6bf4935a5532330b0d834f6f50df32e (diff)
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@yahoo.fr>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/cnttype/mcnttype.cxx7
1 files changed, 2 insertions, 5 deletions
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;
}