summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/hyperlinkcontext.cxx
diff options
context:
space:
mode:
authorJosé Guilherme Vanz <guilherme.sft@gmail.com>2012-12-06 23:46:58 -0200
committerCaolán McNamara <caolanm@redhat.com>2012-12-07 13:05:33 +0000
commitf0a5e3934ee2261284932c2e8dc48b8ce6605686 (patch)
tree8c958c08257e41c70919c1e2f5e4788b1a4fab2e /oox/source/drawingml/hyperlinkcontext.cxx
parent74e858693e4c8e5b87730033706656a220f71cfc (diff)
::rtl:: prefixes removal in oox
This commit removes some ::rtl:: prefixes and some macros in OOX Change-Id: I0c5ad9805ec2e8ed1092c56fe32e6901fdbd2b67 Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1261 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'oox/source/drawingml/hyperlinkcontext.cxx')
-rw-r--r--oox/source/drawingml/hyperlinkcontext.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/oox/source/drawingml/hyperlinkcontext.cxx b/oox/source/drawingml/hyperlinkcontext.cxx
index 209e733ea8ef..f2d715cee1e4 100644
--- a/oox/source/drawingml/hyperlinkcontext.cxx
+++ b/oox/source/drawingml/hyperlinkcontext.cxx
@@ -26,7 +26,6 @@
#include "oox/core/xmlfilterbase.hxx"
#include "oox/drawingml/embeddedwavaudiofile.hxx"
-using ::rtl::OUString;
using namespace ::oox::core;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::xml::sax;
@@ -43,11 +42,11 @@ HyperLinkContext::HyperLinkContext( ContextHandler& rParent,
OUString aRelId = xAttributes->getOptionalValue( R_TOKEN( id ) );
if ( !aRelId.isEmpty() )
{
- OSL_TRACE("OOX: URI rId %s", ::rtl::OUStringToOString (aRelId, RTL_TEXTENCODING_UTF8).pData->buffer);
+ OSL_TRACE("OOX: URI rId %s", OUStringToOString (aRelId, RTL_TEXTENCODING_UTF8).pData->buffer);
sHref = getRelations().getExternalTargetFromRelId( aRelId );
if( !sHref.isEmpty() )
{
- OSL_TRACE("OOX: URI href %s", ::rtl::OUStringToOString (sHref, RTL_TEXTENCODING_UTF8).pData->buffer);
+ OSL_TRACE("OOX: URI href %s", OUStringToOString (sHref, RTL_TEXTENCODING_UTF8).pData->buffer);
sURL = getFilter().getAbsoluteUrl( sHref );
}
}
@@ -122,9 +121,9 @@ HyperLinkContext::HyperLinkContext( ContextHandler& rParent,
const OUString sNotesSlide( CREATE_OUSTRING( "notesSlide" ) );
const OUString aSlideType( sHref.copy( 0, nIndex2 ) );
if ( aSlideType.match( sSlide ) )
- sURL = CREATE_OUSTRING( "#Slide " ).concat( rtl::OUString::valueOf( nPageNumber ) );
+ sURL = CREATE_OUSTRING( "#Slide " ).concat( OUString::valueOf( nPageNumber ) );
else if ( aSlideType.match( sNotesSlide ) )
- sURL = CREATE_OUSTRING( "#Notes " ).concat( rtl::OUString::valueOf( nPageNumber ) );
+ sURL = CREATE_OUSTRING( "#Notes " ).concat( OUString::valueOf( nPageNumber ) );
// else: todo for other types such as notesMaster or slideMaster as they can't be referenced easily
}
}