summaryrefslogtreecommitdiff
path: root/sc/source/filter/html
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-05-20 08:52:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-05-20 15:21:51 +0100
commitf3f2231f8abf9456877dcfdaa08e9f6f69451c21 (patch)
tree9b9e3cd83c70f5c7691329e78047569b3d7e4d0b /sc/source/filter/html
parentb1e22fb2b16a50869e74f7e1b7b08ea4eefa6a36 (diff)
adjust for return by ref instead of pointer
Diffstat (limited to 'sc/source/filter/html')
-rw-r--r--sc/source/filter/html/htmlexp.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/filter/html/htmlexp.cxx b/sc/source/filter/html/htmlexp.cxx
index 147d403d6891..877514344829 100644
--- a/sc/source/filter/html/htmlexp.cxx
+++ b/sc/source/filter/html/htmlexp.cxx
@@ -257,12 +257,12 @@ ScHTMLExport::ScHTMLExport( SvStream& rStrmP, const String& rBaseURL, ScDocument
sIndent[0] = 0;
// set HTML configuration
- SvxHtmlOptions* pHtmlOptions = SvxHtmlOptions::Get();
- eDestEnc = (pDoc->IsClipOrUndo() ? RTL_TEXTENCODING_UTF8 : pHtmlOptions->GetTextEncoding());
- bCopyLocalFileToINet = pHtmlOptions->IsSaveGraphicsLocal();
+ SvxHtmlOptions& rHtmlOptions = SvxHtmlOptions::Get();
+ eDestEnc = (pDoc->IsClipOrUndo() ? RTL_TEXTENCODING_UTF8 : rHtmlOptions.GetTextEncoding());
+ bCopyLocalFileToINet = rHtmlOptions.IsSaveGraphicsLocal();
for ( sal_uInt16 j=0; j < SC_HTML_FONTSIZES; j++ )
{
- sal_uInt16 nSize = pHtmlOptions->GetFontSize( j );
+ sal_uInt16 nSize = rHtmlOptions.GetFontSize( j );
// remember in Twips, like our SvxFontHeightItem
if ( nSize )
nFontSize[j] = nSize * 20;