summaryrefslogtreecommitdiff
path: root/reportdesign/source/ui/report/StartMarker.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign/source/ui/report/StartMarker.cxx')
-rw-r--r--reportdesign/source/ui/report/StartMarker.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/reportdesign/source/ui/report/StartMarker.cxx b/reportdesign/source/ui/report/StartMarker.cxx
index 7bbf48877a58..0e1d0f3b385b 100644
--- a/reportdesign/source/ui/report/StartMarker.cxx
+++ b/reportdesign/source/ui/report/StartMarker.cxx
@@ -32,7 +32,6 @@
#include <toolkit/helper/vclunohelper.hxx>
#include <unotools/syslocale.hxx>
-#include <svl/smplhint.hxx>
#define CORNER_SPACE 5
@@ -254,8 +253,7 @@ void OStartMarker::setTitle(const OUString& _sTitle)
void OStartMarker::Notify(SfxBroadcaster & rBc, SfxHint const & rHint)
{
OColorListener::Notify(rBc, rHint);
- const SfxSimpleHint* pSimpleHint = dynamic_cast<const SfxSimpleHint*>(&rHint);
- if (pSimpleHint && pSimpleHint->GetId() == SFX_HINT_COLORS_CHANGED)
+ if (rHint.GetId() == SFX_HINT_COLORS_CHANGED)
{
setColor();
Invalidate(InvalidateFlags::Children);