summaryrefslogtreecommitdiff
path: root/cppcanvas/source/mtfrenderer/textaction.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-02-07 12:10:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-02-07 12:35:57 +0100
commitb13b01a2bca7b7c69a8fcf9e5ef7f209df99e4ad (patch)
tree166c9424a543318673d397a25cba158afa9b0757 /cppcanvas/source/mtfrenderer/textaction.hxx
parentc6be3cf03b0c48fba99e785f18a61c798d3bb5be (diff)
loplugin:deletedspecial
Change-Id: I988d7cdfa048a3b093ebc34f9016ac42440daa4b
Diffstat (limited to 'cppcanvas/source/mtfrenderer/textaction.hxx')
-rw-r--r--cppcanvas/source/mtfrenderer/textaction.hxx16
1 files changed, 4 insertions, 12 deletions
diff --git a/cppcanvas/source/mtfrenderer/textaction.hxx b/cppcanvas/source/mtfrenderer/textaction.hxx
index 622360240cc1..8c1270ed2a51 100644
--- a/cppcanvas/source/mtfrenderer/textaction.hxx
+++ b/cppcanvas/source/mtfrenderer/textaction.hxx
@@ -33,7 +33,7 @@ class Size;
class Color;
-/* Definition of internal::TextActionFactory class */
+/* Definition of internal::TextActionFactory */
namespace cppcanvas
{
@@ -48,9 +48,8 @@ namespace cppcanvas
handling, since a lot of the internal state (e.g. fonts,
text layout) is Canvas-dependent.
*/
- class TextActionFactory
+ namespace TextActionFactory
{
- public:
/** Create text action, optionally shadow/relief effect
Note that this method accepts all coordinates in
@@ -65,7 +64,7 @@ namespace cppcanvas
subsettable (Action::render( Subset ) works on
characters)
*/
- static ActionSharedPtr createTextAction( const ::Point& rStartPoint,
+ ActionSharedPtr createTextAction( const ::Point& rStartPoint,
const ::Size& rReliefOffset,
const ::Color& rReliefColor,
const ::Size& rShadowOffset,
@@ -79,14 +78,7 @@ namespace cppcanvas
const OutDevState& rState,
const Renderer::Parameters& rParms,
bool bSubsettable );
-
- private:
- // static factory, disable big four
- TextActionFactory();
- ~TextActionFactory();
- TextActionFactory(const TextActionFactory&);
- TextActionFactory& operator=( const TextActionFactory& );
- };
+ }
}
}