summaryrefslogtreecommitdiff
path: root/chart2/source/controller/dialogs
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-21 08:55:23 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-21 09:05:21 +0000
commit5c3a6d383e9aa89252f796a6b17adf81f2bb40a1 (patch)
tree38b07246add305cbe6307cd4316c74e3dcea8800 /chart2/source/controller/dialogs
parentb733190b0eae3177a30e09054a764eed4f616ba2 (diff)
callcatcher: update unused code
Change-Id: Ie4df15ab292df51274d983d31ce8e21e0549de81
Diffstat (limited to 'chart2/source/controller/dialogs')
-rw-r--r--chart2/source/controller/dialogs/DataBrowser.cxx10
-rw-r--r--chart2/source/controller/dialogs/DataBrowser.hxx2
2 files changed, 0 insertions, 12 deletions
diff --git a/chart2/source/controller/dialogs/DataBrowser.cxx b/chart2/source/controller/dialogs/DataBrowser.cxx
index 01ea4c277285..95091b6753ae 100644
--- a/chart2/source/controller/dialogs/DataBrowser.cxx
+++ b/chart2/source/controller/dialogs/DataBrowser.cxx
@@ -17,9 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-// header for class SvNumberformat
#include <svl/zformat.hxx>
-// header for SvNumberFormatter
#include <svl/zforlist.hxx>
#include "DataBrowser.hxx"
@@ -1376,14 +1374,6 @@ IMPL_LINK( DataBrowser, SeriesHeaderChanged, impl::SeriesHeaderEdit*, pEdit )
return 0;
}
-sal_Int32 DataBrowser::GetTotalWidth() const
-{
- sal_uLong nWidth = 0;
- for ( sal_uInt16 nCol = 0; nCol < ColCount(); ++nCol )
- nWidth += GetColumnWidth( nCol );
- return static_cast< sal_Int32 >( nWidth );
-}
-
} // namespace chart
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/controller/dialogs/DataBrowser.hxx b/chart2/source/controller/dialogs/DataBrowser.hxx
index 66a5302b455e..db160082f152 100644
--- a/chart2/source/controller/dialogs/DataBrowser.hxx
+++ b/chart2/source/controller/dialogs/DataBrowser.hxx
@@ -136,8 +136,6 @@ public:
// calls the protected inline-function BrowseBox::GetFirstVisibleColNumber()
sal_Int16 GetFirstVisibleColumNumber() const;
- sal_Int32 GetTotalWidth() const;
-
bool CellContainsNumbers( sal_Int32 nRow, sal_uInt16 nCol ) const;
sal_uInt32 GetNumberFormatKey( sal_Int32 nRow, sal_uInt16 nCol ) const;