Kaydet (Commit) 4105d5f2 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wunused-member-function

Change-Id: I76caaa7e6097fc17d6eb5098b890e755e4d6e3aa
üst 4f8c6870
......@@ -3086,37 +3086,6 @@ void ScXMLImport::SetLabelRanges()
namespace {
/**
* Used to switch off document modify and broadcast while populating named
* ranges during import.
*/
class NamedRangesSwitch
{
public:
NamedRangesSwitch(Reference<beans::XPropertySet>& xPropSet) :
mxPropSet(xPropSet), maPropName(SC_UNO_MODIFY_BROADCAST)
{
uno::Any any;
any <<= false;
mxPropSet->setPropertyValue(maPropName, any);
}
~NamedRangesSwitch()
{
uno::Any any;
any <<= sal_True;
mxPropSet->setPropertyValue(maPropName, any);
}
private:
Reference<beans::XPropertySet>& mxPropSet;
OUString maPropName;
};
}
namespace {
class RangeNameInserter : public ::std::unary_function<ScMyNamedExpression, void>
{
ScDocument* mpDoc;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment