From b8ececb409cd94b24d71f29339e652857dd2063a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 27 Feb 2018 17:10:36 +0200 Subject: drop old tools/gen methods in accessibility..formula Change-Id: I075e29173945200854f2ef8e420867871659766a Reviewed-on: https://gerrit.libreoffice.org/50446 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/editeng/outliner.hxx | 6 +++--- include/editeng/paperinf.hxx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'include/editeng') diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index df2dfb6fa54c..ad0437ec3e6e 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx @@ -146,9 +146,9 @@ private: bool bVisible; bool IsVisible() const { return bVisible; } - void SetText( const OUString& rText ) { aBulText = rText; aBulSize.Width() = -1; } - void Invalidate() { aBulSize.Width() = -1; } - void SetDepth( sal_Int16 nNewDepth ) { nDepth = nNewDepth; aBulSize.Width() = -1; } + void SetText( const OUString& rText ) { aBulText = rText; aBulSize.setWidth(-1); } + void Invalidate() { aBulSize.setWidth(-1); } + void SetDepth( sal_Int16 nNewDepth ) { nDepth = nNewDepth; aBulSize.setWidth(-1); } const OUString& GetText() const { return aBulText; } Paragraph( sal_Int16 nDepth ); diff --git a/include/editeng/paperinf.hxx b/include/editeng/paperinf.hxx index 66a945e12e8a..ba684c9b5aee 100644 --- a/include/editeng/paperinf.hxx +++ b/include/editeng/paperinf.hxx @@ -49,8 +49,8 @@ public: inline Size &Swap(Size &rSize) { const long lVal = rSize.Width(); - rSize.Width() = rSize.Height(); - rSize.Height() = lVal; + rSize.setWidth( rSize.Height() ); + rSize.setHeight( lVal ); return rSize; } -- cgit