summaryrefslogtreecommitdiff
path: root/sd/source/ui/framework
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 /sd/source/ui/framework
parent5a849bb5317ad73bb43b2b618b14bc0e8751fff6 (diff)
just silence the auto_ptr deprecations in isolation
Diffstat (limited to 'sd/source/ui/framework')
-rw-r--r--sd/source/ui/framework/factories/BasicPaneFactory.cxx2
-rw-r--r--sd/source/ui/framework/factories/ChildWindowPane.cxx3
2 files changed, 4 insertions, 1 deletions
diff --git a/sd/source/ui/framework/factories/BasicPaneFactory.cxx b/sd/source/ui/framework/factories/BasicPaneFactory.cxx
index c2f05428e836..4d5f57b8f40f 100644
--- a/sd/source/ui/framework/factories/BasicPaneFactory.cxx
+++ b/sd/source/ui/framework/factories/BasicPaneFactory.cxx
@@ -509,7 +509,9 @@ Reference<XResource> BasicPaneFactory::CreateChildWindowPane (
{
// Create the corresponding shell and determine the id of the child window.
sal_uInt16 nChildWindowId = 0;
+ SAL_WNODEPRECATED_DECLARATIONS_PUSH
::std::auto_ptr<SfxShell> pShell;
+ SAL_WNODEPRECATED_DECLARATIONS_POP
switch (rDescriptor.mePaneId)
{
case LeftImpressPaneId:
diff --git a/sd/source/ui/framework/factories/ChildWindowPane.cxx b/sd/source/ui/framework/factories/ChildWindowPane.cxx
index a0337d739c4a..fb9b10a2e9d6 100644
--- a/sd/source/ui/framework/factories/ChildWindowPane.cxx
+++ b/sd/source/ui/framework/factories/ChildWindowPane.cxx
@@ -44,6 +44,7 @@ using namespace ::com::sun::star::drawing::framework;
namespace sd { namespace framework {
+SAL_WNODEPRECATED_DECLARATIONS_PUSH
ChildWindowPane::ChildWindowPane (
const Reference<XResourceId>& rxPaneId,
sal_uInt16 nChildWindowId,
@@ -95,7 +96,7 @@ ChildWindowPane::ChildWindowPane (
}
}
}
-
+SAL_WNODEPRECATED_DECLARATIONS_POP