diff options
-rw-r--r-- | compilerplugins/clang/unusedmethods.unused-returns.results | 2 | ||||
-rw-r--r-- | include/svx/framelink.hxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/framelink.cxx | 4 |
3 files changed, 2 insertions, 6 deletions
diff --git a/compilerplugins/clang/unusedmethods.unused-returns.results b/compilerplugins/clang/unusedmethods.unused-returns.results index 7866efc445d7..090769f1a2f6 100644 --- a/compilerplugins/clang/unusedmethods.unused-returns.results +++ b/compilerplugins/clang/unusedmethods.unused-returns.results @@ -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 diff --git a/include/svx/framelink.hxx b/include/svx/framelink.hxx index 5c98c3a1a3c6..fdd20c5994bf 100644 --- a/include/svx/framelink.hxx +++ b/include/svx/framelink.hxx @@ -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; } diff --git a/svx/source/dialog/framelink.cxx b/svx/source/dialog/framelink.cxx index 887fc445dc0c..60adda1d7136 100644 --- a/svx/source/dialog/framelink.cxx +++ b/svx/source/dialog/framelink.cxx @@ -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 |