summaryrefslogtreecommitdiff
path: root/svtools/source/svhtml
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-07-23 22:14:07 +0200
committerMichael Stahl <mstahl@redhat.com>2015-07-24 10:58:53 +0200
commit2f467535231af44af5ee857e2444a87779e82b2c (patch)
tree1b16478b1bb4b2f6deecd8e4a846a6b8e75d5ed1 /svtools/source/svhtml
parentcef74993a96feae0dd7489a11dfdf062687c0868 (diff)
svtools: replace boost::ptr_vector with std::vector
Change-Id: I70a2919e43495ce10c0c90ec91a25604d82e7d28
Diffstat (limited to 'svtools/source/svhtml')
-rw-r--r--svtools/source/svhtml/parhtml.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx
index 2627bc1ac9b9..b9e228a849ea 100644
--- a/svtools/source/svhtml/parhtml.cxx
+++ b/svtools/source/svhtml/parhtml.cxx
@@ -20,7 +20,6 @@
#include <ctype.h>
#include <comphelper/string.hxx>
-#include <o3tl/ptr_container.hxx>
#include <tools/stream.hxx>
#include <tools/debug.hxx>
#include <tools/color.hxx>
@@ -1577,10 +1576,9 @@ const HTMLOptions& HTMLParser::GetOptions( sal_uInt16 *pNoConvertToken )
}
// Token is known and can be saved
- std::unique_ptr<HTMLOption> pOption(
- new HTMLOption(sal::static_int_cast<sal_uInt16>(nToken), sName, aValue));
+ maOptions.push_back(
+ HTMLOption(sal::static_int_cast<sal_uInt16>(nToken), sName, aValue));
- o3tl::ptr_container::push_back(maOptions, std::move(pOption));
}
else
// Ignore white space and unexpected characters