loplugin:unusedfields

Change-Id: Ia2fb09dcd6f266e7eab04fceb893839531ab3e00
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99412
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin
2020-07-24 20:37:12 +02:00
parent 49a273dde0
commit c9e13a9f18
8 changed files with 73 additions and 80 deletions

View File

@@ -128,18 +128,20 @@ cppu/source/uno/check.cxx:134
(anonymous namespace)::Char3 c3 char
cppu/source/uno/check.cxx:138
(anonymous namespace)::Char4 chars struct (anonymous namespace)::Char3
cui/source/dialogs/AdditionsDialog.cxx:82
(anonymous namespace)::AdditionInfo sDescription class rtl::OUString
cui/source/dialogs/AdditionsDialog.cxx:84
(anonymous namespace)::AdditionInfo sReleaseVersion class rtl::OUString
cui/source/dialogs/AdditionsDialog.cxx:88
(anonymous namespace)::AdditionInfo sRating class rtl::OUString
cui/source/dialogs/AdditionsDialog.cxx:90
(anonymous namespace)::AdditionInfo sDownloadURL class rtl::OUString
cui/source/dialogs/colorpicker.cxx:736
cui::(anonymous namespace)::ColorPickerDialog m_aColorPrevious class cui::(anonymous namespace)::ColorPreviewControl
cui/source/factory/dlgfact.cxx:1410
(anonymous namespace)::SvxMacroAssignDialog m_aItems class SfxItemSet
cui/source/inc/AdditionsDialog.hxx:74
AdditionInfo sDescription class rtl::OUString
cui/source/inc/AdditionsDialog.hxx:76
AdditionInfo sReleaseVersion class rtl::OUString
cui/source/inc/AdditionsDialog.hxx:80
AdditionInfo sRating class rtl::OUString
cui/source/inc/AdditionsDialog.hxx:82
AdditionInfo sDownloadURL class rtl::OUString
cui/source/inc/AdditionsDialog.hxx:109
AdditionsDialog m_sTag class rtl::OString
cui/source/inc/cfgutil.hxx:241
SvxScriptSelectorDialog m_aStylesInfo struct SfxStylesInfo_Impl
cui/source/inc/cuitabarea.hxx:224
@@ -438,7 +440,7 @@ pyuno/source/module/pyuno_impl.hxx:237
pyuno::stRuntimeImpl ob_base PyObject
reportdesign/source/core/api/ReportDefinition.cxx:236
reportdesign::(anonymous namespace)::OStyle m_aSize awt::Size
reportdesign/source/filter/xml/xmlExport.cxx:1230
reportdesign/source/filter/xml/xmlExport.cxx:1202
sal_Int32
sal/qa/osl/condition/osl_Condition.cxx:72
osl_Condition::ctors bRes1 _Bool
@@ -806,7 +808,7 @@ vcl/inc/salmenu.hxx:44
SalMenuButtonItem maToolTipText class rtl::OUString
vcl/inc/salvtables.hxx:559
SalInstanceEntry m_aTextFilter class WeldTextFilter
vcl/inc/salvtables.hxx:935
vcl/inc/salvtables.hxx:939
SalInstanceComboBoxWithEdit m_aTextFilter class WeldTextFilter
vcl/inc/svimpbox.hxx:121
SvImpLBox m_aFctSet class ImpLBSelEng
@@ -854,17 +856,17 @@ vcl/unx/gtk3/gtk3gloactiongroup.cxx:27
(anonymous namespace)::GLOAction parent_instance GObject
vcl/unx/gtk3/gtk3glomenu.cxx:14
GLOMenu parent_instance const GMenuModel
vcl/unx/gtk3/gtk3gtkinst.cxx:4806
vcl/unx/gtk3/gtk3gtkinst.cxx:4808
(anonymous namespace)::GtkInstanceAssistant m_pButtonBox GtkButtonBox *
vcl/unx/gtk3/gtk3gtkinst.cxx:5179
vcl/unx/gtk3/gtk3gtkinst.cxx:5181
(anonymous namespace)::CrippledViewport viewport GtkViewport
vcl/unx/gtk3/gtk3gtkinst.cxx:5322
vcl/unx/gtk3/gtk3gtkinst.cxx:5324
(anonymous namespace)::CustomCellRendererSurface parent GtkCellRendererText
vcl/unx/gtk3/gtk3gtkinst.cxx:5330
vcl/unx/gtk3/gtk3gtkinst.cxx:5332
(anonymous namespace)::CustomCellRendererSurfaceClass parent_class GtkCellRendererTextClass
vcl/unx/gtk3/gtk3gtkinst.cxx:13056
vcl/unx/gtk3/gtk3gtkinst.cxx:13068
(anonymous namespace)::GtkInstanceComboBox m_pOverlay GtkOverlay *
vcl/unx/gtk3/gtk3gtkinst.cxx:13062
vcl/unx/gtk3/gtk3gtkinst.cxx:13074
(anonymous namespace)::GtkInstanceComboBox m_pMenuTextRenderer GtkCellRenderer *
writerfilter/source/dmapper/PropertyMap.hxx:219
writerfilter::dmapper::SectionPropertyMap m_nDebugSectionNumber sal_Int32

View File

@@ -194,30 +194,32 @@ editeng/source/editeng/impedit.hxx:504
ImpEditEngine maColorConfig svtools::ColorConfig
embeddedobj/source/inc/commonembobj.hxx:104
OCommonEmbeddedObject m_aClassName class rtl::OUString
embeddedobj/source/inc/oleembobj.hxx:124
embeddedobj/source/inc/oleembobj.hxx:125
OleEmbeddedObject m_pOleComponent class OleComponent *
embeddedobj/source/inc/oleembobj.hxx:144
embeddedobj/source/inc/oleembobj.hxx:145
OleEmbeddedObject m_xClosePreventer css::uno::Reference<css::util::XCloseListener>
embeddedobj/source/inc/oleembobj.hxx:166
OleEmbeddedObject m_bHasSizeToSet _Bool
embeddedobj/source/inc/oleembobj.hxx:167
OleEmbeddedObject m_aSizeToSet css::awt::Size
OleEmbeddedObject m_bHasSizeToSet _Bool
embeddedobj/source/inc/oleembobj.hxx:168
OleEmbeddedObject m_aSizeToSet css::awt::Size
embeddedobj/source/inc/oleembobj.hxx:169
OleEmbeddedObject m_nAspectToSet sal_Int64
embeddedobj/source/inc/oleembobj.hxx:173
OleEmbeddedObject m_bGotStatus _Bool
embeddedobj/source/inc/oleembobj.hxx:174
OleEmbeddedObject m_nStatus sal_Int64
OleEmbeddedObject m_bGotStatus _Bool
embeddedobj/source/inc/oleembobj.hxx:175
OleEmbeddedObject m_nStatus sal_Int64
embeddedobj/source/inc/oleembobj.hxx:176
OleEmbeddedObject m_nStatusAspect sal_Int64
embeddedobj/source/inc/oleembobj.hxx:183
embeddedobj/source/inc/oleembobj.hxx:184
OleEmbeddedObject m_aLinkURL class rtl::OUString
embeddedobj/source/inc/oleembobj.hxx:189
embeddedobj/source/inc/oleembobj.hxx:190
OleEmbeddedObject m_bFromClipboard _Bool
extensions/source/propctrlr/eformshelper.hxx:61
pcr::EFormsHelper m_aSubmissionUINames pcr::MapStringToPropertySet
extensions/source/propctrlr/eformshelper.hxx:63
pcr::EFormsHelper m_aBindingUINames pcr::MapStringToPropertySet
extensions/source/update/check/updatehdl.hxx:86
UpdateHandler mbStringsLoaded _Bool
filter/source/graphicfilter/eps/eps.cxx:114
(anonymous namespace)::PSWriter pVDev ScopedVclPtrInstance<class VirtualDevice>
filter/source/graphicfilter/icgm/cgm.hxx:58
@@ -362,8 +364,10 @@ include/vcl/opengl/OpenGLContext.hxx:48
OpenGLCapabilitySwitch mbLimitedShaderRegisters _Bool
include/vcl/opengl/OpenGLContext.hxx:167
OpenGLContext mpLastFramebuffer class OpenGLFramebuffer *
include/vcl/toolkit/button.hxx:96
CheckBox mbLegacyNoTextAlign _Bool
include/vcl/toolkit/field.hxx:129
NumericFormatter mbWrapOnLimits _Bool
include/vcl/toolkit/longcurr.hxx:61
LongCurrencyFormatter maCurrencySymbol class rtl::OUString
io/source/stm/odata.cxx:558
io_stm::(anonymous namespace)::ODataOutputStream::writeDouble(double)::(anonymous union)::(anonymous) n1 sal_uInt32
io/source/stm/odata.cxx:558
@@ -566,9 +570,9 @@ svx/source/inc/datanavi.hxx:488
svxform::AddSubmissionDialog m_aMethodString class svxform::MethodString
svx/source/inc/datanavi.hxx:489
svxform::AddSubmissionDialog m_aReplaceString class svxform::ReplaceString
svx/source/inc/gridcell.hxx:527
DbPatternField m_pValueFormatter ::std::unique_ptr< ::dbtools::FormattedColumnValue>
svx/source/inc/gridcell.hxx:528
DbPatternField m_pValueFormatter ::std::unique_ptr< ::dbtools::FormattedColumnValue>
svx/source/inc/gridcell.hxx:529
DbPatternField m_pPaintFormatter ::std::unique_ptr< ::dbtools::FormattedColumnValue>
svx/source/inc/svdpdf.hxx:71
ImpSdrPdfImport maDash class XDash
@@ -628,7 +632,7 @@ sw/source/uibase/dbui/mmconfigitem.cxx:116
SwMailMergeConfigItem_Impl m_aNeutralGreetingLines std::vector<OUString>
sw/source/uibase/inc/fldmgr.hxx:79
SwInsertField_Data m_aDBDataSource css::uno::Any
toolkit/source/awt/vclxtoolkit.cxx:434
toolkit/source/awt/vclxtoolkit.cxx:435
(anonymous namespace)::VCLXToolkit mxSelection css::uno::Reference<css::datatransfer::clipboard::XClipboard>
ucb/source/ucp/gio/gio_mount.hxx:74
OOoMountOperationClass parent_class GMountOperationClass

View File

@@ -36,14 +36,14 @@ cppu/source/threadpool/threadpool.cxx:365
_uno_ThreadPool dummy sal_Int32
cppu/source/typelib/typelib.cxx:60
(anonymous namespace)::AlignSize_Impl nInt16 sal_Int16
cui/source/dialogs/AdditionsDialog.cxx:82
(anonymous namespace)::AdditionInfo sDescription class rtl::OUString
cui/source/dialogs/AdditionsDialog.cxx:84
(anonymous namespace)::AdditionInfo sReleaseVersion class rtl::OUString
cui/source/dialogs/AdditionsDialog.cxx:88
(anonymous namespace)::AdditionInfo sRating class rtl::OUString
cui/source/dialogs/AdditionsDialog.cxx:90
(anonymous namespace)::AdditionInfo sDownloadURL class rtl::OUString
cui/source/inc/AdditionsDialog.hxx:74
AdditionInfo sDescription class rtl::OUString
cui/source/inc/AdditionsDialog.hxx:76
AdditionInfo sReleaseVersion class rtl::OUString
cui/source/inc/AdditionsDialog.hxx:80
AdditionInfo sRating class rtl::OUString
cui/source/inc/AdditionsDialog.hxx:82
AdditionInfo sDownloadURL class rtl::OUString
dbaccess/source/core/inc/databasecontext.hxx:85
dbaccess::ODatabaseContext m_aBasicDLL class BasicDLL
dbaccess/source/sdbtools/inc/connectiondependent.hxx:115
@@ -160,22 +160,22 @@ include/sfx2/msg.hxx:143
SfxType13 aAttrib struct SfxTypeAttrib [13]
include/sfx2/msg.hxx:143
SfxType13 nAttribs sal_uInt16
include/sfx2/msg.hxx:144
SfxType14 pType const std::type_info *
include/sfx2/msg.hxx:144
SfxType14 aAttrib struct SfxTypeAttrib [14]
include/sfx2/msg.hxx:144
SfxType14 nAttribs sal_uInt16
include/sfx2/msg.hxx:144
SfxType14 pType const std::type_info *
include/sfx2/msg.hxx:144
SfxType14 createSfxPoolItemFunc std::function<SfxPoolItem *(void)>
include/sfx2/msg.hxx:145
SfxType16 nAttribs sal_uInt16
include/sfx2/msg.hxx:145
SfxType16 aAttrib struct SfxTypeAttrib [16]
include/sfx2/msg.hxx:145
SfxType16 createSfxPoolItemFunc std::function<SfxPoolItem *(void)>
include/sfx2/msg.hxx:145
SfxType16 pType const std::type_info *
include/sfx2/msg.hxx:145
SfxType16 nAttribs sal_uInt16
include/sfx2/msg.hxx:146
SfxType17 pType const std::type_info *
include/sfx2/msg.hxx:146
@@ -260,7 +260,7 @@ pyuno/source/module/pyuno_impl.hxx:137
pyuno::(anonymous) ob_base PyObject
pyuno/source/module/pyuno_impl.hxx:237
pyuno::stRuntimeImpl ob_base PyObject
reportdesign/source/filter/xml/xmlExport.cxx:1230
reportdesign/source/filter/xml/xmlExport.cxx:1202
sal_Int32
reportdesign/source/ui/inc/ReportWindow.hxx:52
rptui::OReportWindow m_pObjFac std::unique_ptr<DlgEdFactory, o3tl::default_delete<DlgEdFactory> >
@@ -458,11 +458,11 @@ vcl/unx/gtk3/a11y/gtk3atkhypertext.cxx:31
(anonymous namespace)::HyperLink atk_hyper_link const AtkHyperlink
vcl/unx/gtk3/gtk3gloactiongroup.cxx:27
(anonymous namespace)::GLOAction parent_instance GObject
vcl/unx/gtk3/gtk3gtkinst.cxx:5179
vcl/unx/gtk3/gtk3gtkinst.cxx:5181
(anonymous namespace)::CrippledViewport viewport GtkViewport
vcl/unx/gtk3/gtk3gtkinst.cxx:5322
vcl/unx/gtk3/gtk3gtkinst.cxx:5324
(anonymous namespace)::CustomCellRendererSurface parent GtkCellRendererText
vcl/unx/gtk3/gtk3gtkinst.cxx:5330
vcl/unx/gtk3/gtk3gtkinst.cxx:5332
(anonymous namespace)::CustomCellRendererSurfaceClass parent_class GtkCellRendererTextClass
writerfilter/source/ooxml/OOXMLStreamImpl.hxx:42
writerfilter::ooxml::OOXMLStreamImpl mxFastParser css::uno::Reference<css::xml::sax::XFastParser>

View File

@@ -4,7 +4,7 @@ basctl/source/inc/basidesh.hxx:87
basctl::Shell m_aNotifier class basctl::DocumentEventNotifier
basctl/source/inc/bastype2.hxx:183
basctl::SbTreeListBox m_aNotifier class basctl::DocumentEventNotifier
basctl/source/inc/IDEComboBox.hxx:121
basctl/source/inc/IDEComboBox.hxx:114
basctl::DocListenerBox maNotifier class basctl::DocumentEventNotifier
basegfx/source/polygon/b2dpolygontriangulator.cxx:113
basegfx::(anonymous namespace)::Triangulator maNewEdgeEntries std::vector<std::unique_ptr<EdgeEntry> >
@@ -106,6 +106,8 @@ codemaker/source/javamaker/classfile.cxx:508
floatBytes float
codemaker/source/javamaker/classfile.cxx:540
doubleBytes double
comphelper/qa/container/comphelper_ifcontainer.cxx:44
(anonymous namespace)::ContainerListener m_pStats struct (anonymous namespace)::ContainerStats *const
comphelper/qa/unit/parallelsorttest.cxx:44
ParallelSortTest mnThreads size_t
comphelper/source/misc/asyncnotification.cxx:86
@@ -214,8 +216,6 @@ cppu/source/uno/copy.hxx:39
cppu::(anonymous namespace)::SequencePrefix nRefCount sal_Int32
cppu/source/uno/copy.hxx:40
cppu::(anonymous namespace)::SequencePrefix nElements sal_Int32
cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx:45
(anonymous namespace)::ContainerListener m_pStats struct (anonymous namespace)::ContainerStats *
cppuhelper/source/access_control.cxx:79
cppu::(anonymous namespace)::permission m_str1 rtl_uString *
cppuhelper/source/access_control.cxx:80
@@ -284,23 +284,23 @@ drawinglayer/source/attribute/sdrfillgraphicattribute.cxx:45
drawinglayer::attribute::ImpSdrFillGraphicAttribute mbLogSize _Bool
drawinglayer/source/attribute/sdrsceneattribute3d.cxx:30
drawinglayer::attribute::ImpSdrSceneAttribute mfDistance double
embeddedobj/source/inc/oleembobj.hxx:132
embeddedobj/source/inc/oleembobj.hxx:133
OleEmbeddedObject m_nTargetState sal_Int32
embeddedobj/source/inc/oleembobj.hxx:144
embeddedobj/source/inc/oleembobj.hxx:145
OleEmbeddedObject m_xClosePreventer css::uno::Reference<css::util::XCloseListener>
embeddedobj/source/inc/oleembobj.hxx:166
OleEmbeddedObject m_bHasSizeToSet _Bool
embeddedobj/source/inc/oleembobj.hxx:167
OleEmbeddedObject m_aSizeToSet css::awt::Size
OleEmbeddedObject m_bHasSizeToSet _Bool
embeddedobj/source/inc/oleembobj.hxx:168
OleEmbeddedObject m_aSizeToSet css::awt::Size
embeddedobj/source/inc/oleembobj.hxx:169
OleEmbeddedObject m_nAspectToSet sal_Int64
embeddedobj/source/inc/oleembobj.hxx:173
OleEmbeddedObject m_bGotStatus _Bool
embeddedobj/source/inc/oleembobj.hxx:174
OleEmbeddedObject m_nStatus sal_Int64
OleEmbeddedObject m_bGotStatus _Bool
embeddedobj/source/inc/oleembobj.hxx:175
OleEmbeddedObject m_nStatus sal_Int64
embeddedobj/source/inc/oleembobj.hxx:176
OleEmbeddedObject m_nStatusAspect sal_Int64
embeddedobj/source/inc/oleembobj.hxx:189
embeddedobj/source/inc/oleembobj.hxx:190
OleEmbeddedObject m_bFromClipboard _Bool
emfio/inc/mtftools.hxx:512
emfio::MtfTools mrclBounds tools::Rectangle
@@ -402,7 +402,7 @@ include/svx/galctrl.hxx:39
GalleryPreview mxDragDropTargetHelper std::unique_ptr<GalleryDragDrop>
include/svx/galctrl.hxx:92
GalleryIconView mxDragDropTargetHelper std::unique_ptr<GalleryDragDrop>
include/svx/gridctrl.hxx:256
include/svx/gridctrl.hxx:257
DbGridControl m_pCursorDisposeListener std::unique_ptr<DisposeListenerGridBridge>
include/svx/ofaitem.hxx:44
OfaRefItem mxRef rtl::Reference<reference_type>
@@ -424,10 +424,6 @@ include/test/beans/xpropertyset.hxx:56
apitest::XPropertySet::PropsToTest constrained std::vector<OUString>
include/unotools/fontcfg.hxx:159
utl::FontSubstConfiguration maSubstHash utl::FontSubstConfiguration::UniqueSubstHash
include/vcl/edit.hxx:71
Edit mbModified _Bool
include/vcl/menu.hxx:451
MenuBar::MenuBarButtonCallbackArg bHighlight _Bool
include/vcl/NotebookBarAddonsMerger.hxx:54
AddonNotebookBarItem sTarget class rtl::OUString
include/vcl/NotebookBarAddonsMerger.hxx:55
@@ -450,8 +446,6 @@ include/vcl/sysdata.hxx:69
SystemEnvData pSalFrame void *
include/vcl/textrectinfo.hxx:32
TextRectInfo mnLineCount sal_uInt16
include/vcl/toolkit/button.hxx:89
CheckBox meSaveValue enum TriState
include/vcl/vclenum.hxx:202
ItalicMatrix yy double
include/vcl/vclenum.hxx:202
@@ -526,7 +520,7 @@ sc/inc/compiler.hxx:265
ScCompiler::AddInMap pUpper const char *
sc/inc/compressedarray.hxx:70
ScCompressedArray::RangeData mnRow2 A
sc/inc/document.hxx:2639
sc/inc/document.hxx:2644
ScMutationDisable mpDocument class ScDocument *
sc/inc/patattr.hxx:55
ScPatternAttr mxHashCode std::optional<size_t>
@@ -872,7 +866,7 @@ svx/source/sidebar/text/TextPropertyPanel.hxx:68
svx::sidebar::TextPropertyPanel mxPositionBarDispatch std::unique_ptr<ToolbarUnoDispatcher>
svx/source/sidebar/text/TextPropertyPanel.hxx:70
svx::sidebar::TextPropertyPanel mxSpacingBarDispatch std::unique_ptr<ToolbarUnoDispatcher>
svx/source/tbxctrls/tbcontrl.cxx:312
svx/source/tbxctrls/tbcontrl.cxx:306
(anonymous namespace)::SvxFontNameBox_Base m_aOwnFontList ::std::unique_ptr<FontList>
sw/inc/accmap.hxx:96
SwAccessibleMap mvShapes SwShapeList_Impl
@@ -1132,7 +1126,7 @@ vcl/unx/gtk3/gtk3glomenu.cxx:14
GLOMenu parent_instance const GMenuModel
vcl/unx/gtk3/gtk3gtkinst.cxx:1613
in char *
vcl/unx/gtk3/gtk3gtkinst.cxx:13066
vcl/unx/gtk3/gtk3gtkinst.cxx:13078
(anonymous namespace)::GtkInstanceComboBox m_xCustomMenuButtonHelper std::unique_ptr<CustomRenderMenuButtonHelper>
vcl/unx/gtk3/gtk3hudawareness.cxx:18
(anonymous namespace)::HudAwarenessHandle connection GDBusConnection *
@@ -1140,10 +1134,8 @@ vcl/unx/gtk3/gtk3hudawareness.cxx:21
(anonymous namespace)::HudAwarenessHandle notify GDestroyNotify
vcl/workben/vcldemo.cxx:1748
(anonymous namespace)::DemoWin mxThread rtl::Reference<RenderThread>
writerfilter/source/dmapper/DomainMapperTableHandler.cxx:226
writerfilter/source/dmapper/DomainMapperTableHandler.cxx:227
writerfilter::dmapper::TableInfo aTablePropertyIds std::vector<PropertyIds>
writerfilter/source/dmapper/DomainMapperTableManager.hxx:42
writerfilter::dmapper::DomainMapperTableManager m_nGridAfter sal_uInt32
writerfilter/source/dmapper/PropertyMap.hxx:219
writerfilter::dmapper::SectionPropertyMap m_nDebugSectionNumber sal_Int32
writerfilter/source/dmapper/SettingsTable.cxx:264

View File

@@ -126,7 +126,6 @@ protected:
sal_Int64 mnLastValue;
sal_Int64 mnMin;
sal_Int64 mnMax;
bool mbWrapOnLimits;
bool mbFormatting;
// the members below are used in all derivatives of NumericFormatter

View File

@@ -58,7 +58,6 @@ private:
friend bool ImplLongCurrencyReformat( const OUString&, BigInt const &, BigInt const &, sal_uInt16, const LocaleDataWrapper&, OUString&, LongCurrencyFormatter const & );
SAL_DLLPRIVATE void ImpInit();
OUString maCurrencySymbol;
sal_uInt16 mnDecimalDigits;
bool mbThousandSep;

View File

@@ -546,7 +546,6 @@ NumericFormatter::NumericFormatter(Edit* pEdit)
// a "large" value substantially smaller than SAL_MAX_INT64, to avoid
// overflow in computations using this "dummy" value
, mnMax(SAL_MAX_INT32)
, mbWrapOnLimits(false)
, mbFormatting(false)
, mnSpinSize(1)
// for fields
@@ -768,11 +767,9 @@ void NumericFormatter::ImplNewFieldValue( sal_Int64 nNewValue )
sal_Int64 NumericFormatter::ClipAgainstMinMax(sal_Int64 nValue) const
{
if (nValue > mnMax)
nValue = mbWrapOnLimits ? ((nValue - mnMin) % (mnMax + 1)) + mnMin
: mnMax;
nValue = mnMax;
else if (nValue < mnMin)
nValue = mbWrapOnLimits ? ((nValue + mnMax + 1 - mnMin) % (mnMax + 1)) + mnMin
: mnMin;
nValue = mnMin;
return nValue;
}

View File

@@ -291,7 +291,7 @@ LongCurrencyFormatter::~LongCurrencyFormatter()
OUString const & LongCurrencyFormatter::GetCurrencySymbol() const
{
return !maCurrencySymbol.isEmpty() ? maCurrencySymbol : GetLocaleDataWrapper().getCurrSymbol();
return GetLocaleDataWrapper().getCurrSymbol();
}
void LongCurrencyFormatter::SetValue(const BigInt& rNewValue)