diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:34:15 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:36:05 +0100 |
commit | add9dae7035a86204def97a953c75e26f313c51c (patch) | |
tree | 68121740d18bf6ebe919ae1b953cd51e54ab5639 /include | |
parent | 2cebd4d0860c7bf3d601023b942fdbe1a522d33a (diff) |
loplugin:deletedspecial
Change-Id: I9ea64443350ed2e1341b99270fa8b29189f07eb2
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/btndlg.hxx | 5 | ||||
-rw-r--r-- | include/vcl/button.hxx | 45 | ||||
-rw-r--r-- | include/vcl/ctrl.hxx | 5 | ||||
-rw-r--r-- | include/vcl/dialog.hxx | 15 | ||||
-rw-r--r-- | include/vcl/dockingarea.hxx | 5 | ||||
-rw-r--r-- | include/vcl/dockwin.hxx | 5 | ||||
-rw-r--r-- | include/vcl/floatwin.hxx | 5 | ||||
-rw-r--r-- | include/vcl/graphicfilter.hxx | 4 | ||||
-rw-r--r-- | include/vcl/menubtn.hxx | 5 | ||||
-rw-r--r-- | include/vcl/metric.hxx | 4 | ||||
-rw-r--r-- | include/vcl/morebtn.hxx | 5 | ||||
-rw-r--r-- | include/vcl/print.hxx | 4 | ||||
-rw-r--r-- | include/vcl/quickselectionengine.hxx | 5 | ||||
-rw-r--r-- | include/vcl/split.hxx | 5 | ||||
-rw-r--r-- | include/vcl/splitwin.hxx | 7 | ||||
-rw-r--r-- | include/vcl/svapp.hxx | 12 | ||||
-rw-r--r-- | include/vcl/syschild.hxx | 4 | ||||
-rw-r--r-- | include/vcl/toolbox.hxx | 5 | ||||
-rw-r--r-- | include/vcl/virdev.hxx | 5 | ||||
-rw-r--r-- | include/vcl/wrkwin.hxx | 4 |
20 files changed, 64 insertions, 90 deletions
diff --git a/include/vcl/btndlg.hxx b/include/vcl/btndlg.hxx index d537592de190..fc51c15b95d1 100644 --- a/include/vcl/btndlg.hxx +++ b/include/vcl/btndlg.hxx @@ -72,9 +72,8 @@ protected: SAL_DLLPRIVATE long ImplGetButtonSize(); private: - // Copy assignment is forbidden and not implemented. - SAL_DLLPRIVATE ButtonDialog( const ButtonDialog & ); - SAL_DLLPRIVATE ButtonDialog& operator=( const ButtonDialog& ); + ButtonDialog( const ButtonDialog & ) SAL_DELETED_FUNCTION; + ButtonDialog& operator=( const ButtonDialog& ) SAL_DELETED_FUNCTION; private: boost::ptr_vector<ImplBtnDlgItem> maItemList; diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx index 3ea832d9525d..3ab556ddfe50 100644 --- a/include/vcl/button.hxx +++ b/include/vcl/button.hxx @@ -43,9 +43,8 @@ private: /// Command URL (like .uno:Save) in case the button should handle it. OUString maCommand; - // Copy assignment is forbidden and not implemented. - SAL_DLLPRIVATE Button (const Button &); - SAL_DLLPRIVATE Button & operator= (const Button &); + Button (const Button &) SAL_DELETED_FUNCTION; + Button & operator= (const Button &) SAL_DELETED_FUNCTION; public: SAL_DLLPRIVATE sal_uInt16 ImplGetButtonState() const; SAL_DLLPRIVATE sal_uInt16& ImplGetButtonState(); @@ -219,9 +218,8 @@ protected: private: SAL_DLLPRIVATE void ImplInit( vcl::Window* pParent, WinBits nStyle ); - // Copy assignment is forbidden and not implemented. - SAL_DLLPRIVATE OKButton (const OKButton &); - SAL_DLLPRIVATE OKButton & operator= (const OKButton &); + OKButton (const OKButton &) SAL_DELETED_FUNCTION; + OKButton & operator= (const OKButton &) SAL_DELETED_FUNCTION; public: explicit OKButton( vcl::Window* pParent, WinBits nStyle = WB_DEFBUTTON ); @@ -237,9 +235,8 @@ protected: private: SAL_DLLPRIVATE void ImplInit( vcl::Window* pParent, WinBits nStyle ); - // Copy assignment is forbidden and not implemented. - SAL_DLLPRIVATE CancelButton (const CancelButton &); - SAL_DLLPRIVATE CancelButton & operator= (const CancelButton &); + CancelButton (const CancelButton &) SAL_DELETED_FUNCTION; + CancelButton & operator= (const CancelButton &) SAL_DELETED_FUNCTION; public: explicit CancelButton( vcl::Window* pParent, WinBits nStyle = 0 ); @@ -265,9 +262,8 @@ protected: private: SAL_DLLPRIVATE void ImplInit( vcl::Window* pParent, WinBits nStyle ); - // Copy assignment is forbidden and not implemented. - SAL_DLLPRIVATE HelpButton( const HelpButton & ); - SAL_DLLPRIVATE HelpButton & operator= ( const HelpButton & ); + HelpButton( const HelpButton & ) SAL_DELETED_FUNCTION; + HelpButton & operator= ( const HelpButton & ) SAL_DELETED_FUNCTION; public: explicit HelpButton( vcl::Window* pParent, WinBits nStyle = 0 ); @@ -310,9 +306,8 @@ private: SAL_DLLPRIVATE Size ImplGetRadioImageSize() const; SAL_DLLPRIVATE long ImplGetImageToTextDistance() const; - // Copy assignment is forbidden and not implemented. - SAL_DLLPRIVATE RadioButton(const RadioButton &); - SAL_DLLPRIVATE RadioButton& operator= (const RadioButton &); + RadioButton(const RadioButton &) SAL_DELETED_FUNCTION; + RadioButton& operator= (const RadioButton &) SAL_DELETED_FUNCTION; protected: using Control::ImplInitSettings; @@ -437,9 +432,8 @@ private: SAL_DLLPRIVATE long ImplGetImageToTextDistance() const; SAL_DLLPRIVATE Size ImplGetCheckImageSize() const; - // Copy assignment is forbidden and not implemented. - SAL_DLLPRIVATE CheckBox(const CheckBox &); - SAL_DLLPRIVATE CheckBox& operator= (const CheckBox &); + CheckBox(const CheckBox &) SAL_DELETED_FUNCTION; + CheckBox& operator= (const CheckBox &) SAL_DELETED_FUNCTION; protected: using Control::ImplInitSettings; @@ -523,9 +517,8 @@ protected: private: SAL_DLLPRIVATE void ImplInitStyle(); - // Copy assignment is forbidden and not implemented. - SAL_DLLPRIVATE ImageButton( const ImageButton & ); - SAL_DLLPRIVATE ImageButton & operator= ( const ImageButton & ); + ImageButton( const ImageButton & ) SAL_DELETED_FUNCTION; + ImageButton & operator= ( const ImageButton & ) SAL_DELETED_FUNCTION; public: ImageButton( vcl::Window* pParent, WinBits nStyle = 0 ); @@ -535,9 +528,8 @@ public: class VCL_DLLPUBLIC ImageRadioButton : public RadioButton { - // Copy assignment is forbidden and not implemented. - SAL_DLLPRIVATE ImageRadioButton( const ImageRadioButton & ); - SAL_DLLPRIVATE ImageRadioButton & operator= ( const ImageRadioButton & ); + ImageRadioButton( const ImageRadioButton & ) SAL_DELETED_FUNCTION; + ImageRadioButton & operator= ( const ImageRadioButton & ) SAL_DELETED_FUNCTION; public: explicit ImageRadioButton( vcl::Window* pParent, WinBits nStyle = 0 ); @@ -546,9 +538,8 @@ public: class VCL_DLLPUBLIC TriStateBox : public CheckBox { - // Copy assignment is forbidden and not implemented. - SAL_DLLPRIVATE TriStateBox( const TriStateBox & ); - SAL_DLLPRIVATE TriStateBox & operator= ( const TriStateBox & ); + TriStateBox( const TriStateBox & ) SAL_DELETED_FUNCTION; + TriStateBox & operator= ( const TriStateBox & ) SAL_DELETED_FUNCTION; public: explicit TriStateBox( vcl::Window* pParent, WinBits nStyle = 0 ); diff --git a/include/vcl/ctrl.hxx b/include/vcl/ctrl.hxx index 11582347936d..d85c85885b2c 100644 --- a/include/vcl/ctrl.hxx +++ b/include/vcl/ctrl.hxx @@ -46,9 +46,8 @@ private: SAL_DLLPRIVATE void ImplInitControlData(); - // Copy assignment is forbidden and not implemented. - SAL_DLLPRIVATE Control (const Control &); - SAL_DLLPRIVATE Control & operator= (const Control &); + Control (const Control &) SAL_DELETED_FUNCTION; + Control & operator= (const Control &) SAL_DELETED_FUNCTION; protected: Control( WindowType nType ); diff --git a/include/vcl/dialog.hxx b/include/vcl/dialog.hxx index 11b862541bfa..0b00ebeccdda 100644 --- a/include/vcl/dialog.hxx +++ b/include/vcl/dialog.hxx @@ -53,9 +53,8 @@ private: SAL_DLLPRIVATE void ImplInitDialogData(); SAL_DLLPRIVATE void ImplInitSettings(); - // Copy assignment is forbidden and not implemented. - SAL_DLLPRIVATE Dialog (const Dialog &); - SAL_DLLPRIVATE Dialog & operator= (const Dialog &); + SAL_DLLPRIVATE Dialog (const Dialog &) SAL_DELETED_FUNCTION; + SAL_DLLPRIVATE Dialog & operator= (const Dialog &) SAL_DELETED_FUNCTION; DECL_DLLPRIVATE_LINK( ImplAsyncCloseHdl, void* ); @@ -126,9 +125,8 @@ public: // - ModelessDialog - class VCL_DLLPUBLIC ModelessDialog : public Dialog { - // Copy assignment is forbidden and not implemented. - SAL_DLLPRIVATE ModelessDialog (const ModelessDialog &); - SAL_DLLPRIVATE ModelessDialog & operator= (const ModelessDialog &); + ModelessDialog (const ModelessDialog &) SAL_DELETED_FUNCTION; + ModelessDialog & operator= (const ModelessDialog &) SAL_DELETED_FUNCTION; public: explicit ModelessDialog( vcl::Window* pParent, const OUString& rID, const OUString& rUIXMLDescription ); @@ -149,9 +147,8 @@ protected: private: - // Copy assignment is forbidden and not implemented. - SAL_DLLPRIVATE ModalDialog (const ModalDialog &); - SAL_DLLPRIVATE ModalDialog & operator= (const ModalDialog &); + SAL_DLLPRIVATE ModalDialog (const ModalDialog &) SAL_DELETED_FUNCTION; + SAL_DLLPRIVATE ModalDialog & operator= (const ModalDialog &) SAL_DELETED_FUNCTION; }; #endif // INCLUDED_VCL_DIALOG_HXX diff --git a/include/vcl/dockingarea.hxx b/include/vcl/dockingarea.hxx index c0b75181159e..7fa2ad55fec0 100644 --- a/include/vcl/dockingarea.hxx +++ b/include/vcl/dockingarea.hxx @@ -31,9 +31,8 @@ class VCL_DLLPUBLIC DockingAreaWindow : public vcl::Window private: ImplData* mpImplData; - // Copy assignment is forbidden and not implemented. - SAL_DLLPRIVATE DockingAreaWindow (const DockingAreaWindow &); - SAL_DLLPRIVATE DockingAreaWindow & operator= (const DockingAreaWindow &); + DockingAreaWindow (const DockingAreaWindow &) SAL_DELETED_FUNCTION; + DockingAreaWindow & operator= (const DockingAreaWindow &) SAL_DELETED_FUNCTION; public: explicit DockingAreaWindow( vcl::Window* pParent ); diff --git a/include/vcl/dockwin.hxx b/include/vcl/dockwin.hxx index 1ae7479a19db..9cc9ec927dbc 100644 --- a/include/vcl/dockwin.hxx +++ b/include/vcl/dockwin.hxx @@ -271,9 +271,8 @@ private: SAL_DLLPRIVATE void setPosSizeOnContainee(Size aSize, Window &rBox); DECL_DLLPRIVATE_LINK( ImplHandleLayoutTimerHdl, void* ); - // Copy assignment is forbidden and not implemented. - SAL_DLLPRIVATE DockingWindow (const DockingWindow &); - SAL_DLLPRIVATE DockingWindow & operator= (const DockingWindow &); + DockingWindow (const DockingWindow &) SAL_DELETED_FUNCTION; + DockingWindow & operator= (const DockingWindow &) SAL_DELETED_FUNCTION; protected: using Window::ImplInit; diff --git a/include/vcl/floatwin.hxx b/include/vcl/floatwin.hxx index 5ad30a7282e5..d017b218901e 100644 --- a/include/vcl/floatwin.hxx +++ b/include/vcl/floatwin.hxx @@ -95,9 +95,8 @@ private: SAL_DLLPRIVATE void ImplCallPopupModeEnd(); DECL_DLLPRIVATE_LINK( ImplEndPopupModeHdl, void* ); - // Copy assignment is forbidden and not implemented. - SAL_DLLPRIVATE FloatingWindow (const FloatingWindow &); - SAL_DLLPRIVATE FloatingWindow & operator= (const FloatingWindow &); + FloatingWindow (const FloatingWindow &) SAL_DELETED_FUNCTION; + FloatingWindow & operator= (const FloatingWindow &) SAL_DELETED_FUNCTION; protected: using Window::ImplInit; diff --git a/include/vcl/graphicfilter.hxx b/include/vcl/graphicfilter.hxx index 8ae868fe7fdc..9ae0af810ea2 100644 --- a/include/vcl/graphicfilter.hxx +++ b/include/vcl/graphicfilter.hxx @@ -162,8 +162,8 @@ class VCL_DLLPUBLIC GraphicDescriptor bool ImpDetectEMF( SvStream& rStm, bool bExtendedInfo ); bool ImpDetectSVG( SvStream& rStm, bool bExtendedInfo ); bool ImpDetectMOV( SvStream& rStm, bool bExtendedInfo ); - GraphicDescriptor( const GraphicDescriptor& ); - GraphicDescriptor& operator=( const GraphicDescriptor& ); + GraphicDescriptor( const GraphicDescriptor& ) SAL_DELETED_FUNCTION; + GraphicDescriptor& operator=( const GraphicDescriptor& ) SAL_DELETED_FUNCTION; public: diff --git a/include/vcl/menubtn.hxx b/include/vcl/menubtn.hxx index 83087ab98318..41e03c6462f9 100644 --- a/include/vcl/menubtn.hxx +++ b/include/vcl/menubtn.hxx @@ -47,9 +47,8 @@ private: SAL_DLLPRIVATE void ImplInitMenuButtonData(); DECL_DLLPRIVATE_LINK( ImplMenuTimeoutHdl, void* ); - // Copy assignment is forbidden and not implemented. - SAL_DLLPRIVATE MenuButton( const MenuButton & ); - SAL_DLLPRIVATE MenuButton& operator=( const MenuButton & ); + MenuButton( const MenuButton & ) SAL_DELETED_FUNCTION; + MenuButton& operator=( const MenuButton & ) SAL_DELETED_FUNCTION; protected: using Window::ImplInit; diff --git a/include/vcl/metric.hxx b/include/vcl/metric.hxx index e9872a97d7af..e2049696e500 100644 --- a/include/vcl/metric.hxx +++ b/include/vcl/metric.hxx @@ -212,8 +212,8 @@ private: sal_uInt32 mnRefCount; // prevent assignment and copy construction - FontCharMap( const FontCharMap& ); - void operator=( const FontCharMap& ); + FontCharMap( const FontCharMap& ) SAL_DELETED_FUNCTION; + void operator=( const FontCharMap& ) SAL_DELETED_FUNCTION; }; inline void intrusive_ptr_add_ref(FontCharMap* pFontCharMap) diff --git a/include/vcl/morebtn.hxx b/include/vcl/morebtn.hxx index f77339136ba3..4dbd6da57736 100644 --- a/include/vcl/morebtn.hxx +++ b/include/vcl/morebtn.hxx @@ -39,9 +39,8 @@ private: MapUnit meUnit; bool mbState; - // Copy assignment is forbidden and not implemented. - SAL_DLLPRIVATE MoreButton( const MoreButton & ); - SAL_DLLPRIVATE MoreButton& operator=( const MoreButton & ); + MoreButton( const MoreButton & ) SAL_DELETED_FUNCTION; + MoreButton& operator=( const MoreButton & ) SAL_DELETED_FUNCTION; SAL_DLLPRIVATE void ShowState(); protected: diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx index 45226f0c8f0f..b0dd3f07afd3 100644 --- a/include/vcl/print.hxx +++ b/include/vcl/print.hxx @@ -244,8 +244,8 @@ private: private: SAL_DLLPRIVATE bool EndJob(); - SAL_DLLPRIVATE Printer( const Printer& rPrinter ); - SAL_DLLPRIVATE Printer& operator =( const Printer& rPrinter ); + Printer( const Printer& rPrinter ) SAL_DELETED_FUNCTION; + Printer& operator =( const Printer& rPrinter ) SAL_DELETED_FUNCTION; public: SAL_DLLPRIVATE void ImplStartPage(); diff --git a/include/vcl/quickselectionengine.hxx b/include/vcl/quickselectionengine.hxx index 138a7883f891..3c33172a1667 100644 --- a/include/vcl/quickselectionengine.hxx +++ b/include/vcl/quickselectionengine.hxx @@ -80,9 +80,8 @@ namespace vcl bool bEnabled; private: - QuickSelectionEngine(); // never implemented - QuickSelectionEngine( const QuickSelectionEngine& ); // never implemented - QuickSelectionEngine& operator=( const QuickSelectionEngine& ); // never implemented + QuickSelectionEngine( const QuickSelectionEngine& ) SAL_DELETED_FUNCTION; + QuickSelectionEngine& operator=( const QuickSelectionEngine& ) SAL_DELETED_FUNCTION; }; diff --git a/include/vcl/split.hxx b/include/vcl/split.hxx index c24556e5d72f..fbc833272ce7 100644 --- a/include/vcl/split.hxx +++ b/include/vcl/split.hxx @@ -53,9 +53,8 @@ private: SAL_DLLPRIVATE void ImplRestoreSplitter(); SAL_DLLPRIVATE void ImplInitHorVer(bool bNew); - // Copy assignment is forbidden and not implemented. - SAL_DLLPRIVATE Splitter (const Splitter &); - SAL_DLLPRIVATE Splitter& operator= (const Splitter &); + Splitter (const Splitter &) SAL_DELETED_FUNCTION; + Splitter& operator= (const Splitter &) SAL_DELETED_FUNCTION; protected: using Window::ImplInit; diff --git a/include/vcl/splitwin.hxx b/include/vcl/splitwin.hxx index 83f640696814..715b08324a06 100644 --- a/include/vcl/splitwin.hxx +++ b/include/vcl/splitwin.hxx @@ -66,8 +66,6 @@ private: mbCalc:1, mbRecalc:1, mbInvalidate:1, - mbSizeable:1, - mbBorder:1, mbAutoHide:1, mbFadeIn:1, mbFadeOut:1, @@ -121,9 +119,8 @@ private: long& rMouseOff, ImplSplitSet** ppFoundSet, sal_uInt16& rFoundPos ); static SAL_DLLPRIVATE void ImplDrawSplitTracking( SplitWindow* pThis, const Point& rPos ); - // Copy assignment is forbidden and not implemented. - SAL_DLLPRIVATE SplitWindow (const SplitWindow &); - SAL_DLLPRIVATE SplitWindow & operator= (const SplitWindow &); + SplitWindow (const SplitWindow &) SAL_DELETED_FUNCTION; + SplitWindow & operator= (const SplitWindow &) SAL_DELETED_FUNCTION; public: SplitWindow( vcl::Window* pParent, WinBits nStyle = 0 ); virtual ~SplitWindow(); diff --git a/include/vcl/svapp.hxx b/include/vcl/svapp.hxx index cedca2ade592..9fc2d917f079 100644 --- a/include/vcl/svapp.hxx +++ b/include/vcl/svapp.hxx @@ -1513,8 +1513,8 @@ private: class VCL_DLLPUBLIC SolarMutexGuard { private: - SolarMutexGuard( const SolarMutexGuard& ); - const SolarMutexGuard& operator = ( const SolarMutexGuard& ); + SolarMutexGuard( const SolarMutexGuard& ) SAL_DELETED_FUNCTION; + const SolarMutexGuard& operator = ( const SolarMutexGuard& ) SAL_DELETED_FUNCTION; comphelper::SolarMutex& m_solarMutex; public: @@ -1536,8 +1536,8 @@ class VCL_DLLPUBLIC SolarMutexGuard class VCL_DLLPUBLIC SolarMutexClearableGuard SAL_FINAL { - SolarMutexClearableGuard( const SolarMutexClearableGuard& ); - const SolarMutexClearableGuard& operator = ( const SolarMutexClearableGuard& ); + SolarMutexClearableGuard( const SolarMutexClearableGuard& ) SAL_DELETED_FUNCTION; + const SolarMutexClearableGuard& operator = ( const SolarMutexClearableGuard& ) SAL_DELETED_FUNCTION; bool m_bCleared; public: /** Acquires mutex @@ -1573,8 +1573,8 @@ protected: class VCL_DLLPUBLIC SolarMutexResettableGuard SAL_FINAL { - SolarMutexResettableGuard( const SolarMutexResettableGuard& ); - const SolarMutexResettableGuard& operator = ( const SolarMutexResettableGuard& ); + SolarMutexResettableGuard( const SolarMutexResettableGuard& ) SAL_DELETED_FUNCTION; + const SolarMutexResettableGuard& operator = ( const SolarMutexResettableGuard& ) SAL_DELETED_FUNCTION; bool m_bCleared; public: /** Acquires mutex diff --git a/include/vcl/syschild.hxx b/include/vcl/syschild.hxx index 9a8c57d6ec5b..87e16fcc183a 100644 --- a/include/vcl/syschild.hxx +++ b/include/vcl/syschild.hxx @@ -34,8 +34,8 @@ private: SAL_DLLPRIVATE void ImplTestJavaException( void* pEnv ); // Copy assignment is forbidden and not implemented. - SAL_DLLPRIVATE SystemChildWindow (const SystemChildWindow &); - SAL_DLLPRIVATE SystemChildWindow & operator= (const SystemChildWindow &); + SystemChildWindow (const SystemChildWindow &) SAL_DELETED_FUNCTION; + SystemChildWindow & operator= (const SystemChildWindow &) SAL_DELETED_FUNCTION; public: explicit SystemChildWindow( vcl::Window* pParent, WinBits nStyle = 0 ); diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx index d4baf3e16800..672b22958484 100644 --- a/include/vcl/toolbox.hxx +++ b/include/vcl/toolbox.hxx @@ -240,9 +240,8 @@ private: DECL_DLLPRIVATE_LINK( ImplCustomMenuListener, VclMenuEvent* ); DECL_DLLPRIVATE_LINK( ImplDropdownLongClickHdl, void* ); - // Copy assignment is forbidden and not implemented. - SAL_DLLPRIVATE ToolBox (const ToolBox &); - SAL_DLLPRIVATE ToolBox& operator= (const ToolBox &); + ToolBox (const ToolBox &) SAL_DELETED_FUNCTION; + ToolBox& operator= (const ToolBox &) SAL_DELETED_FUNCTION; public: SAL_DLLPRIVATE void ImplFloatControl( bool bStart, FloatingWindow* pWindow = NULL ); diff --git a/include/vcl/virdev.hxx b/include/vcl/virdev.hxx index 5776f5f5cb80..06dbae6ddffa 100644 --- a/include/vcl/virdev.hxx +++ b/include/vcl/virdev.hxx @@ -50,9 +50,8 @@ private: const basebmp::RawMemorySharedArray &pBuffer, const bool bTopDown ); - // Copy assignment is forbidden and not implemented. - VirtualDevice (const VirtualDevice &); - VirtualDevice & operator= (const VirtualDevice &); + VirtualDevice (const VirtualDevice &) SAL_DELETED_FUNCTION; + VirtualDevice & operator= (const VirtualDevice &) SAL_DELETED_FUNCTION; /** Used for alpha VDev, to set areas to opaque diff --git a/include/vcl/wrkwin.hxx b/include/vcl/wrkwin.hxx index 5b3a266790f2..637bfc8779a6 100644 --- a/include/vcl/wrkwin.hxx +++ b/include/vcl/wrkwin.hxx @@ -53,8 +53,8 @@ private: SAL_DLLPRIVATE void ImplInit( vcl::Window* pParent, WinBits nStyle, const ::com::sun::star::uno::Any& aSystemWorkWindowToken ); private: - SAL_DLLPRIVATE WorkWindow( const WorkWindow& rWin ); - SAL_DLLPRIVATE WorkWindow& operator =( const WorkWindow& rWin ); + WorkWindow( const WorkWindow& rWin ) SAL_DELETED_FUNCTION; + WorkWindow& operator =( const WorkWindow& rWin ) SAL_DELETED_FUNCTION; protected: explicit WorkWindow( WindowType nType ); |