[Libreoffice-commits] .: sd/source
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Jun 22 01:26:51 PDT 2011
sd/source/ui/animations/CustomAnimationCreateDialog.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 766ca0f22615a6aa12fe6dbc98aa04f2690ba7b2
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Jun 22 00:50:05 2011 +0100
adapt for new api
diff --git a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx
index 896ea13..ccbaf15 100644
--- a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx
+++ b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx
@@ -698,8 +698,8 @@ void CustomAnimationCreateDialog::storePosition()
// save settings (screen position and current page)
SvtViewOptions aDlgOpt(
E_TABDIALOG, String::CreateFromInt32( DLG_CUSTOMANIMATION_CREATE ) );
- aDlgOpt.SetWindowState(
- OUString::createFromAscii( GetWindowState( WINDOWSTATE_MASK_POS ).GetBuffer() ) );
+ aDlgOpt.SetWindowState(OStringToOUString(
+ GetWindowState(WINDOWSTATE_MASK_POS), RTL_TEXTENCODING_ASCII_US));
}
}
More information about the Libreoffice-commits
mailing list