svx: unused return

Change-Id: If747870121e3fc8c2d97b5fc769b2d928a4c3f9c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176777
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
This commit is contained in:
Xisco Fauli 2024-11-19 16:47:20 +01:00
parent f1ab6d3e04
commit 980164fe22
3 changed files with 2 additions and 6 deletions

View file

@ -152,8 +152,6 @@ include/svx/autoformathelper.hxx:216
_Bool AutoFormatBase::SaveBlockB(SvStream &,unsigned short) const
include/svx/dlgctrl.hxx:99
Point SvxRectCtl::SetActualRPWithoutInvalidate(enum RectPoint)
include/svx/framelink.hxx:159
svx::frame::Style & svx::frame::Style::MirrorSelf()
include/svx/PaletteManager.hxx:87
_Bool PaletteManager::GetLumModOff(unsigned short,unsigned short,short &,short &)
include/test/a11y/AccessibilityTools.hxx:119

View file

@ -156,7 +156,7 @@ public:
void SetType( SvxBorderLineStyle nType ) { mnType = nType; }
/** Mirrors this style (exchanges primary and secondary), if it is a double frame style. */
Style& MirrorSelf();
void MirrorSelf();
/** Enables the Word-compatible Style comparison code. */
void SetWordTableCell(bool bWordTableCell) { mbWordTableCell = bWordTableCell; }

View file

@ -160,7 +160,7 @@ void Style::Set( const SvxBorderLine* pBorder, double fScale, sal_uInt16 nMaxWid
}
}
Style& Style::MirrorSelf()
void Style::MirrorSelf()
{
if (mfSecn)
{
@ -173,8 +173,6 @@ Style& Style::MirrorSelf()
{
meRefMode = (meRefMode == RefMode::Begin) ? RefMode::End : RefMode::Begin;
}
return *this;
}
bool Style::operator==( const Style& rOther) const