summaryrefslogtreecommitdiffstats
path: root/sd/source/ui/view/viewoverlaymanager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/viewoverlaymanager.cxx')
-rw-r--r--sd/source/ui/view/viewoverlaymanager.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/sd/source/ui/view/viewoverlaymanager.cxx b/sd/source/ui/view/viewoverlaymanager.cxx
index 8b5814749529..3dc5260944a2 100644
--- a/sd/source/ui/view/viewoverlaymanager.cxx
+++ b/sd/source/ui/view/viewoverlaymanager.cxx
@@ -51,8 +51,12 @@ using namespace ::com::sun::star::uno;
namespace sd {
+namespace {
+
class ImageButtonHdl;
+}
+
static const sal_uInt16 gButtonSlots[] = { SID_INSERT_TABLE, SID_INSERT_DIAGRAM, SID_INSERT_GRAPHIC, SID_INSERT_AVMEDIA };
static const char* gButtonToolTips[] = { STR_INSERT_TABLE, STR_INSERT_CHART, STR_INSERT_PICTURE, STR_INSERT_MOVIE };
@@ -108,6 +112,8 @@ static BitmapEx* getButtonImage( int index, bool large )
const sal_uInt32 SMART_TAG_HDL_NUM = SAL_MAX_UINT32;
+namespace {
+
class ChangePlaceholderTag : public SmartTag
{
friend class ImageButtonHdl;
@@ -154,6 +160,8 @@ private:
Size maImageSize;
};
+}
+
ImageButtonHdl::ImageButtonHdl( const SmartTagReference& xTag /*, sal_uInt16 nSID, const Image& rImage, const Image& rImageMO*/, const Point& rPnt )
: SmartHdl( xTag, rPnt, SdrHdlKind::SmartTag )
, mxChangePlaceholderTag( dynamic_cast< ChangePlaceholderTag* >( xTag.get() ) )