summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svx/source/table/svdotable.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx
index 658c5a85c613..6ff02d3874ce 100644
--- a/svx/source/table/svdotable.cxx
+++ b/svx/source/table/svdotable.cxx
@@ -2186,9 +2186,9 @@ void SdrTableObj::NbcSetLogicRect(const Rectangle& rRect)
void SdrTableObj::AdjustToMaxRect( const Rectangle& rMaxRect, bool /* bShrinkOnly = false */ )
{
- Rectangle aRect( rMaxRect );
- aRect.setHeight( GetLogicRect().getHeight() );
- SetLogicRect( aRect );
+ Rectangle aAdjustRect( rMaxRect );
+ aAdjustRect.setHeight( GetLogicRect().getHeight() );
+ SetLogicRect( aAdjustRect );
}
// --------------------------------------------------------------------