diff options
author | Noel Grandin <noel@peralex.com> | 2013-09-17 16:38:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-09-19 10:14:17 +0200 |
commit | 4eade0266f74eef910c916d46fbf186d4d499f52 (patch) | |
tree | b1c1472c85752ae1a499b8dc2c0fcf88eb3f4f64 /sw | |
parent | 39ba0533e1ec827d1d1b5b58f47fb1035b91f015 (diff) |
convert sw/inc/EnhancedPDFExportHelper.hxx from String to OUString
Change-Id: Ie786dda9dd0285037294067d0a9fad1abaebd530
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/EnhancedPDFExportHelper.hxx | 5 | ||||
-rw-r--r-- | sw/source/core/text/EnhancedPDFExportHelper.cxx | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/sw/inc/EnhancedPDFExportHelper.hxx b/sw/inc/EnhancedPDFExportHelper.hxx index ab16b3697508..564dd31fabca 100644 --- a/sw/inc/EnhancedPDFExportHelper.hxx +++ b/sw/inc/EnhancedPDFExportHelper.hxx @@ -43,7 +43,6 @@ class SwTxtNode; class SwNumRule; class SwTable; class SwNumberTreeNode; -class String; class SvxLanguageItem; @@ -148,7 +147,7 @@ class SwTaggedPDFHelper const Frm_Info* mpFrmInfo; const Por_Info* mpPorInfo; - void BeginTag( vcl::PDFWriter::StructElement aTagRole, const String& rTagName ); + void BeginTag( vcl::PDFWriter::StructElement aTagRole, const OUString& rTagName ); void EndTag(); void SetAttributes( vcl::PDFWriter::StructElement eType ); @@ -229,7 +228,7 @@ class SwEnhancedPDFExportHelper void MakeHeaderFooterLinks( vcl::PDFExtOutDevData& rPDFExtOutDevData, const SwTxtNode& rTNd, const SwRect& rLinkRect, - sal_Int32 nDestId, const String& rURL, bool bIntern ) const; + sal_Int32 nDestId, const OUString& rURL, bool bIntern ) const; public: diff --git a/sw/source/core/text/EnhancedPDFExportHelper.cxx b/sw/source/core/text/EnhancedPDFExportHelper.cxx index dde5b366c0fb..1228d5b65943 100644 --- a/sw/source/core/text/EnhancedPDFExportHelper.cxx +++ b/sw/source/core/text/EnhancedPDFExportHelper.cxx @@ -420,10 +420,10 @@ bool SwTaggedPDFHelper::CheckRestoreTag() const /* * SwTaggedPDFHelper::BeginTag() */ -void SwTaggedPDFHelper::BeginTag( vcl::PDFWriter::StructElement eType, const String& rString ) +void SwTaggedPDFHelper::BeginTag( vcl::PDFWriter::StructElement eType, const OUString& rString ) { // write new tag - const sal_Int32 nId = mpPDFExtOutDevData->BeginStructureElement( eType, OUString( rString ) ); + const sal_Int32 nId = mpPDFExtOutDevData->BeginStructureElement( eType, rString ); ++nEndStructureElement; #if OSL_DEBUG_LEVEL > 1 @@ -2211,7 +2211,7 @@ void SwEnhancedPDFExportHelper::MakeHeaderFooterLinks( vcl::PDFExtOutDevData& rP const SwTxtNode& rTNd, const SwRect& rLinkRect, sal_Int32 nDestId, - const String& rURL, + const OUString& rURL, bool bIntern ) const { // We assume, that the primary link has just been exported. Therefore |