summaryrefslogtreecommitdiff
path: root/include/svx/sdr/contact/viewobjectcontactredirector.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-11-08 22:11:33 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-11-08 22:17:48 -0500
commit9229170920ab770624415c4330da57af5b1b5398 (patch)
treef919af4ad0ca25a297b2aae6518c13280f5ad50e /include/svx/sdr/contact/viewobjectcontactredirector.hxx
parenta305869e99a73626534a921c36eb352cd74582a5 (diff)
Unindent.
Change-Id: I98b5a0b91c92e58bae3caa69a4ed35c72dc839dd
Diffstat (limited to 'include/svx/sdr/contact/viewobjectcontactredirector.hxx')
-rw-r--r--include/svx/sdr/contact/viewobjectcontactredirector.hxx49
1 files changed, 19 insertions, 30 deletions
diff --git a/include/svx/sdr/contact/viewobjectcontactredirector.hxx b/include/svx/sdr/contact/viewobjectcontactredirector.hxx
index 40f4e617413d..84b168946122 100644
--- a/include/svx/sdr/contact/viewobjectcontactredirector.hxx
+++ b/include/svx/sdr/contact/viewobjectcontactredirector.hxx
@@ -23,43 +23,32 @@
#include <svx/svxdllapi.h>
#include <drawinglayer/primitive2d/baseprimitive2d.hxx>
-
-// predeclarations
-
namespace sdr { namespace contact {
- class DisplayInfo;
- class ViewObjectContact;
-}}
+class DisplayInfo;
+class ViewObjectContact;
-
-namespace sdr
+// This class provides a mechanism to redirect the paint mechanism for all or
+// single ViewObjectContacts. An own derivation may be set at single ViewContacts
+// or at the ObjectContact for redirecting all. If both is used, the one at single
+// objects will have priority.
+class SVX_DLLPUBLIC ViewObjectContactRedirector
{
- namespace contact
- {
- // This class provides a mechanism to redirect the paint mechanism for all or
- // single ViewObjectContacts. An own derivation may be set at single ViewContacts
- // or at the ObjectContact for redirecting all. If both is used, the one at single
- // objects will have priority.
- class SVX_DLLPUBLIC ViewObjectContactRedirector
- {
- public:
- // basic constructor.
- ViewObjectContactRedirector();
-
- // The destructor.
- virtual ~ViewObjectContactRedirector();
+public:
+ // basic constructor.
+ ViewObjectContactRedirector();
- // all default implementations just call the same methods at the original. To do something
- // different, overload the method and at least do what the method does.
- virtual drawinglayer::primitive2d::Primitive2DSequence createRedirectedPrimitive2DSequence(
- const sdr::contact::ViewObjectContact& rOriginal,
- const sdr::contact::DisplayInfo& rDisplayInfo);
- };
- } // end of namespace contact
-} // end of namespace sdr
+ // The destructor.
+ virtual ~ViewObjectContactRedirector();
+ // all default implementations just call the same methods at the original. To do something
+ // different, overload the method and at least do what the method does.
+ virtual drawinglayer::primitive2d::Primitive2DSequence createRedirectedPrimitive2DSequence(
+ const sdr::contact::ViewObjectContact& rOriginal,
+ const sdr::contact::DisplayInfo& rDisplayInfo);
+};
+}}
#endif // INCLUDED_SVX_SDR_CONTACT_VIEWOBJECTCONTACTREDIRECTOR_HXX