summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/bastyp/frmhtml.cxx2
-rw-r--r--sfx2/source/bastyp/sfxhtml.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/bastyp/frmhtml.cxx b/sfx2/source/bastyp/frmhtml.cxx
index c667f1948492..dd14e59414d9 100644
--- a/sfx2/source/bastyp/frmhtml.cxx
+++ b/sfx2/source/bastyp/frmhtml.cxx
@@ -61,7 +61,7 @@ void SfxFrameHTMLParser::ParseFrameOptions(
for (size_t i = 0, n = rOptions.size(); i < n; ++i)
{
- const HTMLOption& aOption = rOptions[i];
+ const HTMLOption& aOption = *rOptions[i];
switch( aOption.GetToken() )
{
case HTML_O_BORDERCOLOR:
diff --git a/sfx2/source/bastyp/sfxhtml.cxx b/sfx2/source/bastyp/sfxhtml.cxx
index 0e036c90d222..ccc11d0703bd 100644
--- a/sfx2/source/bastyp/sfxhtml.cxx
+++ b/sfx2/source/bastyp/sfxhtml.cxx
@@ -94,7 +94,7 @@ bool SfxHTMLParser::ParseMapOptions(
for (size_t i = rOptions.size(); i; )
{
- const HTMLOption& aOption = rOptions[--i];
+ const HTMLOption& aOption = *rOptions[--i];
switch( aOption.GetToken() )
{
case HTML_O_NAME:
@@ -126,7 +126,7 @@ bool SfxHTMLParser::ParseAreaOptions(ImageMap * pImageMap, const OUString& rBase
{
sal_uInt16 nEvent = 0;
ScriptType eScrpType = STARBASIC;
- const HTMLOption& rOption = rOptions[--i];
+ const HTMLOption& rOption = *rOptions[--i];
switch( rOption.GetToken() )
{
case HTML_O_NAME: