summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-22 15:00:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-22 15:01:05 +0100
commit871426533f7afe31bc451fa6b407b83db8e52827 (patch)
treeed60cee61ebee91994eaffc9c9a3638836ed2ab4 /vbahelper
parent5a849bb5317ad73bb43b2b618b14bc0e8751fff6 (diff)
just silence the auto_ptr deprecations in isolation
Diffstat (limited to 'vbahelper')
-rw-r--r--vbahelper/inc/vbahelper/vbashape.hxx3
-rw-r--r--vbahelper/source/msforms/vbalistbox.hxx2
2 files changed, 4 insertions, 1 deletions
diff --git a/vbahelper/inc/vbahelper/vbashape.hxx b/vbahelper/inc/vbahelper/vbashape.hxx
index 93f670f1d5fe..693e94aa2857 100644
--- a/vbahelper/inc/vbahelper/vbashape.hxx
+++ b/vbahelper/inc/vbahelper/vbashape.hxx
@@ -45,9 +45,10 @@ typedef InheritedHelperInterfaceImpl< ListeningShape > ScVbaShape_BASE;
class VBAHELPER_DLLPUBLIC ScVbaShape : public ScVbaShape_BASE
{
-private:
protected:
+ SAL_WNODEPRECATED_DECLARATIONS_PUSH
std::auto_ptr< ov::ShapeHelper > m_pShapeHelper;
+ SAL_WNODEPRECATED_DECLARATIONS_POP
css::uno::Reference< css::drawing::XShape > m_xShape;
css::uno::Reference< css::drawing::XShapes > m_xShapes;
css::uno::Reference< css::beans::XPropertySet > m_xPropertySet;
diff --git a/vbahelper/source/msforms/vbalistbox.hxx b/vbahelper/source/msforms/vbalistbox.hxx
index 28e9590fc06f..00c1fc09939e 100644
--- a/vbahelper/source/msforms/vbalistbox.hxx
+++ b/vbahelper/source/msforms/vbalistbox.hxx
@@ -42,7 +42,9 @@ typedef cppu::ImplInheritanceHelper2<ScVbaControl, ov::msforms::XListBox, css::s
class ScVbaListBox : public ListBoxImpl_BASE
,public PropListener
{
+ SAL_WNODEPRECATED_DECLARATIONS_PUSH
std::auto_ptr< ListControlHelper > mpListHelper;
+ SAL_WNODEPRECATED_DECLARATIONS_POP
rtl::OUString sSourceName;
rtl::OUString msDftPropName;