diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-17 11:05:49 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-17 13:21:49 +0200 |
commit | 048a32d903c8cc81a8836c7c7209b92e0bfd6cd7 (patch) | |
tree | 6f6b1dd872a065199fc77ef401f220767d525024 /include/tools/fract.hxx | |
parent | 81ff7cfddb8e6786529f0a878007e9d399d4908a (diff) |
use unique_ptr for pImpl in tools/
Change-Id: I7ac7eca32a67524f6c87696c16b16128e6d8518b
Diffstat (limited to 'include/tools/fract.hxx')
-rw-r--r-- | include/tools/fract.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/tools/fract.hxx b/include/tools/fract.hxx index 93663aca8ad2..efa7a17dc028 100644 --- a/include/tools/fract.hxx +++ b/include/tools/fract.hxx @@ -21,6 +21,7 @@ #include <sal/types.h> #include <tools/toolsdllapi.h> +#include <memory> class SvStream; @@ -30,7 +31,7 @@ class TOOLS_DLLPUBLIC SAL_WARN_UNUSED Fraction { struct Impl; - Impl* mpImpl; + std::unique_ptr<Impl> mpImpl; bool HasOverflowValue(); |