[Libreoffice-commits] core.git: svx/source
Stephan Bergmann
sbergman at redhat.com
Fri Mar 17 14:40:41 UTC 2017
svx/source/tbxctrls/tbcontrl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 221935a5e6d8f510f3c8b8e4ca2350ddec818167
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Mar 17 15:38:34 2017 +0100
loplugin:staticaccess
Change-Id: I255a5c3139f97dbef63dd4d3b0f47d64e6946bd5
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 2a9afe6474f3..010c044e1324 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -1338,7 +1338,7 @@ SvxColorWindow::SvxColorWindow(const OUString& rCommand,
mpColorSet->SetHelpId( HID_POPUP_COLOR_CTRL );
mrPaletteManager.ReloadColorSet(*mpColorSet);
- const sal_uInt32 nMaxItems(mpColorSet->getMaxRowCount() * mpColorSet->getColumnCount());
+ const sal_uInt32 nMaxItems(SvxColorValueSet::getMaxRowCount() * SvxColorValueSet::getColumnCount());
Size aSize = mpColorSet->layoutAllVisible(nMaxItems);
mpColorSet->set_height_request(aSize.Height());
mpColorSet->set_width_request(aSize.Width());
More information about the Libreoffice-commits
mailing list