summaryrefslogtreecommitdiff
path: root/svtools/source/svhtml/htmlout.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/svhtml/htmlout.cxx')
-rw-r--r--svtools/source/svhtml/htmlout.cxx15
1 files changed, 14 insertions, 1 deletions
diff --git a/svtools/source/svhtml/htmlout.cxx b/svtools/source/svhtml/htmlout.cxx
index 477c24d45108..99d9e38d5e84 100644
--- a/svtools/source/svhtml/htmlout.cxx
+++ b/svtools/source/svhtml/htmlout.cxx
@@ -558,7 +558,8 @@ SvStream& HTMLOutFuncs::FlushToAscii( SvStream& rStream,
return rStream;
}
-SvStream& HTMLOutFuncs::Out_Hex( SvStream& rStream, sal_uLong nHex, sal_uInt8 nLen )
+SvStream& HTMLOutFuncs::Out_Hex( SvStream& rStream, sal_uLong nHex, sal_uInt8 nLen,
+ rtl_TextEncoding )
{ // in einen Stream aus
sal_Char aNToABuf[] = "0000000000000000";
@@ -977,6 +978,18 @@ OString HTMLOutFuncs::CreateTableDataOptionsValNum(
return aStrTD.makeStringAndClear();
}
+bool HTMLOutFuncs::PrivateURLToInternalImg( OUString& rURL )
+{
+ if( rURL.getLength() > 14 &&
+ rURL.compareTo( OOO_STRING_SVTOOLS_HTML_private_image, 14 ) == 0 )
+ {
+ rURL = rURL.copy( 14 );
+ return true;
+ }
+
+ return false;
+}
+
void HtmlWriterHelper::applyColor(HtmlWriter& rHtmlWriter, const OString &aAttributeName, const Color& rColor)
{
OStringBuffer sBuffer;