summaryrefslogtreecommitdiff
path: root/include/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-27 17:10:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-01 07:19:10 +0100
commitb8ececb409cd94b24d71f29339e652857dd2063a (patch)
treef732ff1cfec95c0d3eca06d3c906e67402a02b73 /include/editeng
parenta54a3afdb7da42bd603892d1c9b2fcdd7b405e8f (diff)
drop old tools/gen methods in accessibility..formula
Change-Id: I075e29173945200854f2ef8e420867871659766a Reviewed-on: https://gerrit.libreoffice.org/50446 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/outliner.hxx6
-rw-r--r--include/editeng/paperinf.hxx4
2 files changed, 5 insertions, 5 deletions
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;
}