summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-27 16:57:21 +0200
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-09-06 15:47:44 -0500
commit5bce32904091ffe28884fd5c0f4801ee82bad101 (patch)
treefc2573078a858de456a0dc7b7810176d433241c7 /svl
parent10143717834d8401d85fdf9564e782a58b9983ec (diff)
SfxHint: convert home-grown RTTI to normal C++ RTTI
Also note that I fixed a bug in SvxFontMenuControl::Notify where the if statement had the check the wrong way around. Change-Id: I611e8929c65818191e36bd80f2b985820ada4411 Reviewed-on: https://gerrit.libreoffice.org/11147 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'svl')
-rw-r--r--svl/Library_svl.mk1
-rw-r--r--svl/source/items/style.cxx4
-rw-r--r--svl/source/notify/hint.cxx2
-rw-r--r--svl/source/notify/isethint.cxx3
-rw-r--r--svl/source/notify/smplhint.cxx24
5 files changed, 0 insertions, 34 deletions
diff --git a/svl/Library_svl.mk b/svl/Library_svl.mk
index 7b2b2ee399d7..18225fbff3ee 100644
--- a/svl/Library_svl.mk
+++ b/svl/Library_svl.mk
@@ -127,7 +127,6 @@ $(eval $(call gb_Library_add_exception_objects,svl,\
svl/source/notify/isethint \
svl/source/notify/listener \
svl/source/notify/lstner \
- svl/source/notify/smplhint \
svl/source/numbers/numfmuno \
svl/source/numbers/numhead \
svl/source/numbers/numuno \
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx
index 541fa95cbcbc..2f41cf85a496 100644
--- a/svl/source/items/style.cxx
+++ b/svl/source/items/style.cxx
@@ -58,10 +58,6 @@ TYPEINIT0(SfxStyleSheetBase)
TYPEINIT3(SfxStyleSheet, SfxStyleSheetBase, SfxListener, SfxBroadcaster)
-TYPEINIT1(SfxStyleSheetHint, SfxHint);
-TYPEINIT1(SfxStyleSheetHintExtended, SfxStyleSheetHint);
-TYPEINIT1(SfxStyleSheetPoolHint, SfxHint);
-
SfxStyleSheetHintExtended::SfxStyleSheetHintExtended
(
sal_uInt16 nAction, // SFX_STYLESHEET_... (see above)
diff --git a/svl/source/notify/hint.cxx b/svl/source/notify/hint.cxx
index 28ef4e06d165..183b12af9c91 100644
--- a/svl/source/notify/hint.cxx
+++ b/svl/source/notify/hint.cxx
@@ -21,8 +21,6 @@
#include <svl/hint.hxx>
-TYPEINIT0(SfxHint);
-
// virtual dtor for the typical base-class Hint
SfxHint::~SfxHint()
diff --git a/svl/source/notify/isethint.cxx b/svl/source/notify/isethint.cxx
index 3c2dd49eb2aa..9577aefda0c4 100644
--- a/svl/source/notify/isethint.cxx
+++ b/svl/source/notify/isethint.cxx
@@ -22,8 +22,6 @@
#include <svl/itemset.hxx>
-TYPEINIT1(SfxItemSetHint, SfxHint);
-
/**
* Copies the SfxItemSet passed as a parameter.
*/
@@ -32,7 +30,6 @@ SfxItemSetHint::SfxItemSetHint( const SfxItemSet &rItemSet )
{
}
-
SfxItemSetHint::~SfxItemSetHint()
{
delete _pItemSet;
diff --git a/svl/source/notify/smplhint.cxx b/svl/source/notify/smplhint.cxx
deleted file mode 100644
index b85173431150..000000000000
--- a/svl/source/notify/smplhint.cxx
+++ /dev/null
@@ -1,24 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <svl/smplhint.hxx>
-
-TYPEINIT1(SfxSimpleHint, SfxHint);
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */