summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cui/source/dialogs/postdlg.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/cui/source/dialogs/postdlg.cxx b/cui/source/dialogs/postdlg.cxx
index 612e38221c68..057198527390 100644
--- a/cui/source/dialogs/postdlg.cxx
+++ b/cui/source/dialogs/postdlg.cxx
@@ -64,11 +64,8 @@ SvxPostItDialog::SvxPostItDialog(vcl::Window* pParent, const SfxItemSet& rCoreSe
bool bNew = true;
sal_uInt16 nWhich = 0;
- if ( !bPrevNext )
- {
- m_pPrevBtn->Hide();
- m_pNextBtn->Hide();
- }
+ m_pPrevBtn->Show(bPrevNext);
+ m_pNextBtn->Show(bPrevNext);
nWhich = rSet.GetPool()->GetWhich( SID_ATTR_POSTIT_AUTHOR );
OUString aAuthorStr, aDateStr;