summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-09-29 13:56:43 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-09-29 13:57:17 +0200
commit014e7933af751bfe0a03867373b82efa806f3a3d (patch)
tree59be1f8b861bb6bb8a54e4c028683f15f0c615cf /editeng
parent14157dcdf175f1ef45903f7ec3ed85d0f7c76798 (diff)
svtools: std::auto_ptr -> std::unique_ptr
...changing HTMLOptions to std::vector<std::unique_ptr<...>> because boost::ptr_vector<...>::push_back only supports auto_ptr, not unique_ptr. Change-Id: Ie5f92bc40ce5425dc1c634b17addc2b0dd9bbda3
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/eehtml.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/editeng/eehtml.cxx b/editeng/source/editeng/eehtml.cxx
index 15d8c59f54cd..384588409062 100644
--- a/editeng/source/editeng/eehtml.cxx
+++ b/editeng/source/editeng/eehtml.cxx
@@ -117,7 +117,7 @@ void EditHTMLParser::NextToken( int nToken )
bool bEquiv = false;
for ( size_t i = 0; i < nArrLen; i++ )
{
- const HTMLOption& aOption = aOptions[i];
+ const HTMLOption& aOption = *aOptions[i];
switch( aOption.GetToken() )
{
case HTML_O_HTTPEQUIV:
@@ -711,7 +711,7 @@ void EditHTMLParser::StartPara( bool bReal )
SvxAdjust eAdjust = SVX_ADJUST_LEFT;
for ( size_t i = 0, n = aOptions.size(); i < n; ++i )
{
- const HTMLOption& aOption = aOptions[i];
+ const HTMLOption& aOption = *aOptions[i];
switch( aOption.GetToken() )
{
case HTML_O_ALIGN:
@@ -772,7 +772,7 @@ void EditHTMLParser::AnchorStart()
for ( size_t i = 0, n = aOptions.size(); i < n; ++i )
{
- const HTMLOption& aOption = aOptions[i];
+ const HTMLOption& aOption = *aOptions[i];
switch( aOption.GetToken() )
{
case HTML_O_HREF: