diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-11-13 11:30:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-11-14 10:15:07 +0100 |
commit | 4f8c687097488d9d8cab901451fff3053e9ae403 (patch) | |
tree | 2deaa3f2b220da0cdf8fc913a1bde7a3e42c182c /sc | |
parent | 9e30ced3c372c01b4a2bfb10abc42fd77f9a0fdf (diff) |
-Werror,-Wunused-member-function
Change-Id: I2e247ed311f6b3fee751900b8f037081d0025794
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xml/xmlexprt.cxx | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index 2067f195b2dc..4b611d79a38b 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -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()) |