Kaydet (Commit) 4f8c6870 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wunused-member-function

Change-Id: I2e247ed311f6b3fee751900b8f037081d0025794
üst 9e30ced3
......@@ -603,37 +603,6 @@ sal_Int32 ScXMLExport::GetNumberFormatStyleIndex(sal_Int32 nNumFmt) const
return itr->second;
}
namespace {
/**
* Update the progress bar state when an instance of this class goes out of
* scope.
*/
class ProgressBarUpdater
{
ProgressBarHelper& mrHelper;
const sal_Int32& mrTableCount;
const sal_Int32& mrShapesCount;
const sal_Int32 mnCellCount;
public:
ProgressBarUpdater(ProgressBarHelper& rHelper,
const sal_Int32& rTableCount, const sal_Int32& rShapesCount,
const sal_Int32 nCellCount) :
mrHelper(rHelper),
mrTableCount(rTableCount),
mrShapesCount(rShapesCount),
mnCellCount(nCellCount) {}
~ProgressBarUpdater()
{
sal_Int32 nRef = mnCellCount + (2 * mrTableCount) + (2 * mrShapesCount);
mrHelper.SetReference(nRef);
mrHelper.SetValue(0);
}
};
}
void ScXMLExport::CollectSharedData(sal_Int32& nTableCount, sal_Int32& nShapesCount)
{
if (!GetModel().is())
......
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