diff options
author | Laurent Balland-Poirier <laurent.balland-poirier@laposte.net> | 2014-04-21 22:03:23 +0200 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2014-05-06 20:04:01 +0000 |
commit | 5707c81218c3212bd2e62c274f3169cd0d6cbba2 (patch) | |
tree | 77417347422c2f0f189e1f66c0b129346c1a00dc /chart2/source/controller/dialogs/tp_Trendline.cxx | |
parent | sw: make CppunitTest_sw_uwriter a slowcheck (diff) | |
download | core-5707c81218c3212bd2e62c274f3169cd0d6cbba2.tar.gz core-5707c81218c3212bd2e62c274f3169cd0d6cbba2.zip |
fdo#77739 UI trendline: limit max values of Degree and Period
Retrieve the number of valid points and limit Degree and Period values
Change-Id: I4e956149e3376eebf39f9e4812bb69a6a06e1758
Reviewed-on: https://gerrit.libreoffice.org/9116
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'chart2/source/controller/dialogs/tp_Trendline.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/tp_Trendline.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chart2/source/controller/dialogs/tp_Trendline.cxx b/chart2/source/controller/dialogs/tp_Trendline.cxx index 2b796cc45c4f..a08f89508b43 100644 --- a/chart2/source/controller/dialogs/tp_Trendline.cxx +++ b/chart2/source/controller/dialogs/tp_Trendline.cxx @@ -64,6 +64,11 @@ void TrendlineTabPage::SetNumFormatter( SvNumberFormatter* pNumFormatter ) m_aTrendlineResources.SetNumFormatter( pNumFormatter ); } +void TrendlineTabPage::SetNbPoints( sal_Int32 nNbPoints ) +{ + m_aTrendlineResources.SetNbPoints( nNbPoints ); +} + } //namespace chart /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |