summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editeng/source/editeng/impedit3.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index 4b2f860846f6..c28e1eab7b00 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -2616,6 +2616,8 @@ void ImpEditEngine::SetVertical( bool bVertical)
void ImpEditEngine::SetRotation(TextRotation nRotation)
{
+ if (GetEditDoc().GetRotation() == nRotation)
+ return; // not modified
GetEditDoc().SetRotation(nRotation);
bool bUseCharAttribs = bool(aStatus.GetControlWord() & EEControlBits::USECHARATTRIBS);
GetEditDoc().CreateDefFont( bUseCharAttribs );