summaryrefslogtreecommitdiff
path: root/include/svx/charmap.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-13 14:52:40 +0200
committerMichael Meeks <michael.meeks@collabora.com>2015-04-09 21:21:05 +0100
commited2cea3e5087b90cd3686d8fd9da7e74981c8da6 (patch)
treeacf3852fcd4550285a8ebc014ac5134ff045035a /include/svx/charmap.hxx
parent232eec872bdaf1dd6d87df97baa3b9ad432a7acd (diff)
vcl: VclPtr conversion in svx.
Change-Id: I3a1000baa049b11728c46efbc2f0af0d8f34cf2b Conflicts: include/svx/charmap.hxx include/svx/float3d.hxx include/svx/fontwork.hxx include/svx/galctrl.hxx svx/inc/svdibrow.hxx svx/source/dialog/dlgctl3d.cxx svx/source/dialog/fontwork.cxx svx/source/engine3d/float3d.cxx svx/source/fmcomp/gridctrl.cxx svx/source/gallery2/galbrws1.cxx svx/source/inc/docrecovery.hxx
Diffstat (limited to 'include/svx/charmap.hxx')
-rw-r--r--include/svx/charmap.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/svx/charmap.hxx b/include/svx/charmap.hxx
index d27afb6c9042..c877be2d0ea4 100644
--- a/include/svx/charmap.hxx
+++ b/include/svx/charmap.hxx
@@ -22,6 +22,8 @@
#include <vcl/ctrl.hxx>
#include <vcl/metric.hxx>
#include <vcl/scrbar.hxx>
+#include <vcl/vclptr.hxx>
+#include <boost/shared_ptr.hpp>
#include <map>
#include <memory>
#include <svx/svxdllapi.h>
@@ -44,6 +46,7 @@ class SVX_DLLPUBLIC SvxShowCharSet : public Control
public:
SvxShowCharSet( vcl::Window* pParent );
virtual ~SvxShowCharSet();
+ virtual void dispose() SAL_OVERRIDE;
void SetFont( const vcl::Font& rFont );
@@ -71,7 +74,7 @@ public:
sal_uInt16 GetRowPos(sal_uInt16 _nPos) const;
sal_uInt16 GetColumnPos(sal_uInt16 _nPos) const;
- ScrollBar& getScrollBar() { return aVscrollSB;}
+ ScrollBar& getScrollBar() { return *aVscrollSB.get();}
void ReleaseAccessible();
sal_Int32 getMaxCharCount() const;
@@ -112,7 +115,7 @@ private:
sal_Int32 nSelectedIndex;
FontCharMapPtr mpFontCharMap;
- ScrollBar aVscrollSB;
+ VclPtr<ScrollBar> aVscrollSB;
private:
void DrawChars_Impl( int n1, int n2);