diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-22 13:10:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-26 08:08:31 +0200 |
commit | 0901f0b88beb50d9d6acc6eccd96fe55d96a6986 (patch) | |
tree | ffc14e5d0b681a98b7399a8d21e4592717c7ca43 /sc/inc/funcdesc.hxx | |
parent | 95d9d5c8d53ec6c3ced3615f9d9420e2698dc04d (diff) |
loplugin:useuniqueptr in ScFuncDesc
Change-Id: I2b4843bea22c097d377351833e0215153f6721ad
Reviewed-on: https://gerrit.libreoffice.org/56330
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/funcdesc.hxx')
-rw-r--r-- | sc/inc/funcdesc.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/funcdesc.hxx b/sc/inc/funcdesc.hxx index 8ff400e3afbf..65ce16a7cf2e 100644 --- a/sc/inc/funcdesc.hxx +++ b/sc/inc/funcdesc.hxx @@ -27,6 +27,7 @@ #include <formula/IFunctionDescription.hxx> #include <sal/types.h> #include <rtl/ustring.hxx> +#include <boost/optional.hpp> #include <map> #include <memory> @@ -206,8 +207,8 @@ public: ParameterFlags() : bOptional(false) {} }; - OUString *pFuncName; /**< Function name */ - OUString *pFuncDesc; /**< Description of function */ + boost::optional<OUString> mxFuncName; /**< Function name */ + boost::optional<OUString> mxFuncDesc; /**< Description of function */ std::vector<OUString> maDefArgNames; /**< Parameter name(s) */ std::vector<OUString> maDefArgDescs; /**< Description(s) of parameter(s) */ ParameterFlags *pDefArgFlags; /**< Flags for each parameter */ |