loplugin:duplicate-defines

only used in one place, so just inline it

Change-Id: I198dd22888beab4c7b72e053943d337c9123a03a
Reviewed-on: https://gerrit.libreoffice.org/85554
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin
2019-12-18 09:21:41 +02:00
parent 75a665874a
commit 337665f7e4
3 changed files with 1 additions and 5 deletions

View File

@@ -44,8 +44,6 @@ class ListBox;
class ToolBox;
class FloatingWindow;
#define SIDEBAR_LINE_WIDTH_GLOBAL_VALUE "PopupPanel_LineWidth"
namespace sfx2 { namespace sidebar {
class SidebarToolBox;

View File

@@ -43,8 +43,6 @@ class ListBox;
class ToolBox;
class FloatingWindow;
#define SIDEBAR_LINE_WIDTH_GLOBAL_VALUE "PopupPanel_LineWidth"
namespace svx
{
namespace sidebar

View File

@@ -174,7 +174,7 @@ void LineWidthPopup::SetWidthSelect(long lValue, bool bValuable, MapUnit eMapUni
m_bVSFocus = true;
m_xVSWidth->SetSelItem(0);
m_eMapUnit = eMapUnit;
SvtViewOptions aWinOpt( EViewType::Window, SIDEBAR_LINE_WIDTH_GLOBAL_VALUE );
SvtViewOptions aWinOpt( EViewType::Window, "PopupPanel_LineWidth" );
if (aWinOpt.Exists())
{
css::uno::Sequence <css::beans::NamedValue> aSeq = aWinOpt.GetUserData();