Remove leftover SAL_WNODEPRECATED_DECLARATIONS_PUSH/POP

...from times when code used std::auto_ptr.

Change-Id: Ia4eca8b0b95a8846886884404009e895daba8a22
This commit is contained in:
Stephan Bergmann
2014-10-01 18:44:15 +02:00
parent 3dc108c8e3
commit 1eb35713bc
7 changed files with 0 additions and 18 deletions

View File

@@ -144,7 +144,6 @@ namespace cppcanvas
aLocalTransformation );
}
SAL_WNODEPRECATED_DECLARATIONS_PUSH
TransparencyGroupAction::TransparencyGroupAction( MtfAutoPtr&& rGroupMtf,
GradientAutoPtr&& rAlphaGradient,
const Renderer::Parameters& rParms,
@@ -176,7 +175,6 @@ namespace cppcanvas
maLastSubset.mnSubsetBegin = 0;
maLastSubset.mnSubsetEnd = -1;
}
SAL_WNODEPRECATED_DECLARATIONS_POP
// TODO(P3): The whole float transparency handling is a mess,
// this should be refactored. What's more, the old idea of
@@ -478,7 +476,6 @@ namespace cppcanvas
}
SAL_WNODEPRECATED_DECLARATIONS_PUSH
ActionSharedPtr TransparencyGroupActionFactory::createTransparencyGroupAction( MtfAutoPtr&& rGroupMtf,
GradientAutoPtr&& rAlphaGradient,
const Renderer::Parameters& rParms,
@@ -495,7 +492,6 @@ namespace cppcanvas
rCanvas,
rState ) );
}
SAL_WNODEPRECATED_DECLARATIONS_POP
}
}

View File

@@ -354,13 +354,11 @@ void LwpPara::OverrideParaBorder(LwpParaProperty* pProps, XFParaStyle* pOverStyl
}
LwpOverride* pBorder = pParaStyle->GetParaBorder();
SAL_WNODEPRECATED_DECLARATIONS_PUSH
boost::scoped_ptr<LwpParaBorderOverride> pFinalBorder(
pBorder
? polymorphic_downcast<LwpParaBorderOverride*>(pBorder->clone())
: new LwpParaBorderOverride)
;
SAL_WNODEPRECATED_DECLARATIONS_POP
// get local border
pBorder = static_cast<LwpParaBorderProperty*>(pProps)->GetLocalParaBorder();

View File

@@ -2373,7 +2373,6 @@ void ScHTMLTable::CreateNewEntry( const ImportInfo& rInfo )
mxCurrEntry->aSel = rInfo.aSelection;
}
SAL_WNODEPRECATED_DECLARATIONS_PUSH
void ScHTMLTable::ImplPushEntryToList( ScHTMLEntryList& rEntryList, ScHTMLEntryPtr& rxEntry )
{
// HTML entry list does not own the entries
@@ -2381,9 +2380,7 @@ void ScHTMLTable::ImplPushEntryToList( ScHTMLEntryList& rEntryList, ScHTMLEntryP
// mrEEParseList (reference to member of ScEEParser) owns the entries
mrEEParseList.push_back( rxEntry.release() );
}
SAL_WNODEPRECATED_DECLARATIONS_POP
SAL_WNODEPRECATED_DECLARATIONS_PUSH
bool ScHTMLTable::PushEntry( ScHTMLEntryPtr& rxEntry )
{
bool bPushed = false;
@@ -2411,7 +2408,6 @@ bool ScHTMLTable::PushEntry( ScHTMLEntryPtr& rxEntry )
}
return bPushed;
}
SAL_WNODEPRECATED_DECLARATIONS_POP
bool ScHTMLTable::PushEntry( const ImportInfo& rInfo, bool bLastInCell )
{

View File

@@ -584,9 +584,7 @@ uno::Reference<uno::XInterface> ScServiceProvider::MakeInstance(
ScAddress aAddress;
ScCompiler* pComp = new ScCompiler(&rDoc,aAddress);
pComp->SetGrammar( rDoc.GetGrammar() );
SAL_WNODEPRECATED_DECLARATIONS_PUSH
xRet.set(static_cast<sheet::XFormulaOpCodeMapper*>(new ScFormulaOpCodeMapperObj(::std::unique_ptr<formula::FormulaCompiler> (pComp))));
SAL_WNODEPRECATED_DECLARATIONS_POP
break;
}
#ifndef DISABLE_SCRIPTING

View File

@@ -36,7 +36,6 @@ using namespace ::com::sun::star::drawing::framework;
namespace sd { namespace framework {
SAL_WNODEPRECATED_DECLARATIONS_PUSH
ChildWindowPane::ChildWindowPane (
const Reference<XResourceId>& rxPaneId,
sal_uInt16 nChildWindowId,
@@ -88,7 +87,6 @@ ChildWindowPane::ChildWindowPane (
}
}
}
SAL_WNODEPRECATED_DECLARATIONS_POP
ChildWindowPane::~ChildWindowPane (void)
{

View File

@@ -686,7 +686,6 @@ void MasterPagesSelector::InvalidateItem (MasterPageContainer::Token aToken)
}
}
SAL_WNODEPRECATED_DECLARATIONS_PUSH
void MasterPagesSelector::UpdateItemList (::std::unique_ptr<ItemList> && pNewItemList)
{
const ::osl::MutexGuard aGuard (maMutex);
@@ -724,7 +723,6 @@ void MasterPagesSelector::UpdateItemList (::std::unique_ptr<ItemList> && pNewIte
if (mxSidebar.is())
mxSidebar->requestLayout();
}
SAL_WNODEPRECATED_DECLARATIONS_POP
css::ui::LayoutSize MasterPagesSelector::GetHeightForWidth (const sal_Int32 nWidth)
{

View File

@@ -3121,7 +3121,6 @@ void Content::cancelCommandExecution(
}
SAL_WNODEPRECATED_DECLARATIONS_PUSH
const OUString
Content::getBaseURI( const std::unique_ptr< DAVResourceAccess > & rResAccess )
{
@@ -3235,7 +3234,6 @@ Content::ResourceType Content::getResourceType(
}
return m_eResourceType;
}
SAL_WNODEPRECATED_DECLARATIONS_POP
Content::ResourceType Content::getResourceType(