From 69222d71221d0ec81a3dbf01789456bcf2dde0da Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 1 Oct 2012 11:06:53 +0300 Subject: Deduplication of TemplatePopup_Impl for disable-dynlinking Change-Id: I3e49ab8bd3411be8fcfa7ab43b50cbb2d82b6de0 --- sw/source/ui/utlui/tmplctrl.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'sw') diff --git a/sw/source/ui/utlui/tmplctrl.cxx b/sw/source/ui/utlui/tmplctrl.cxx index b43d9c682f80..fba6dd705351 100644 --- a/sw/source/ui/utlui/tmplctrl.cxx +++ b/sw/source/ui/utlui/tmplctrl.cxx @@ -36,12 +36,12 @@ SFX_IMPL_STATUSBAR_CONTROL( SwTemplateControl, SfxStringItem ); -// class TemplatePopup_Impl -------------------------------------------------- +// class SwTemplatePopup_Impl -------------------------------------------------- -class TemplatePopup_Impl : public PopupMenu +class SwTemplatePopup_Impl : public PopupMenu { public: - TemplatePopup_Impl(); + SwTemplatePopup_Impl(); sal_uInt16 GetCurId() const { return nCurId; } @@ -51,13 +51,13 @@ private: virtual void Select(); }; -TemplatePopup_Impl::TemplatePopup_Impl() : +SwTemplatePopup_Impl::SwTemplatePopup_Impl() : PopupMenu(), nCurId(USHRT_MAX) { } -void TemplatePopup_Impl::Select() +void SwTemplatePopup_Impl::Select() { nCurId = GetCurItemId(); } @@ -98,7 +98,7 @@ void SwTemplateControl::Command( const CommandEvent& rCEvt ) GetStatusBar().GetItemText( GetId() ).Len() ) { CaptureMouse(); - TemplatePopup_Impl aPop; + SwTemplatePopup_Impl aPop; { SwView* pView = ::GetActiveView(); SwWrtShell* pWrtShell; -- cgit